Template:Art: Difference between revisions

From The Reed and Rite
mNo edit summary
 
(32 intermediate revisions by the same user not shown)
Line 2: Line 2:
-->{{#if: {{{title|}}} |<tr class="art-infobox-data-row"><th>Title:</th><td>{{{title}}}</td></tr>}}<!--
-->{{#if: {{{title|}}} |<tr class="art-infobox-data-row"><th>Title:</th><td>{{{title}}}</td></tr>}}<!--
-->{{#if: {{{artist|}}} |<tr class="art-infobox-data-row"><th>Artist:</th><td>{{#show:{{FULLPAGENAME}}|?Has artist}}</td></tr>}}<!--
-->{{#if: {{{artist|}}} |<tr class="art-infobox-data-row"><th>Artist:</th><td>{{#show:{{FULLPAGENAME}}|?Has artist}}</td></tr>}}<!--
-->{{#if: {{{character|}}} |<tr class="art-infobox-data-row"><th>Character:</th><td>[[{{{character}}}]]</td></tr>}}<!--
-->{{#if: {{{character|}}} |<tr class="art-infobox-data-row"><th>Character:</th><td>{{{character}}}</td></tr>}}<!--
-->{{#if: {{{book|}}} | <tr class="infobox-data-row"><th>Book:</th><td>{{#if:{{b|{{{book}}}}} | ''[[{{b|{{{book}}}}}|{{b|{{{book}}}|text=y}}]]'' | {{{book}}}}}</td></tr>}}<!--
-->{{#if: {{{book|}}} | <tr class="infobox-data-row"><th>Book:</th><td>{{#if:{{b|{{{book}}}}} | ''[[{{b|{{{book}}}}}|{{b|{{{book}}}|text=y}}]]'' | {{{book}}}}}</td></tr>}}<!--
-->{{#if: {{{series|}}} | <tr class="infobox-data-row"><th>Series:</th><td>{{#if:{{b|{{{series}}}}} | ''[[{{b|{{{series}}}}}|{{b|{{{series}}}|text=y}}]]'' | {{{series}}}}}</td></tr>}}<!--
-->{{#if: {{{series|}}} | <tr class="infobox-data-row"><th>Series:</th><td>{{#if:{{b|{{{series}}}}} | ''[[{{b|{{{series}}}}}|{{b|{{{series}}}|text=y}}]]'' | {{{series}}}}}</td></tr>}}<!--
Line 12: Line 12:
-->{{#if:{{{artist|}}}|{{#set:Has artist=[[Artist:{{{artist}}}|{{{artist}}}]]}}}}</includeonly><noinclude>
-->{{#if:{{{artist|}}}|{{#set:Has artist=[[Artist:{{{artist}}}|{{{artist}}}]]}}}}</includeonly><noinclude>
== Description ==
== Description ==
 
This template should be used on file pages of artworks uploaded to '''The Reed and Rite'''. Adding the artist attribution to an artwork using this template will automatically add it to the image caption when the {{t|Image}} template is used.
== Usage ==
== Usage ==
 
:'''Note: Only parameters that are provided will appear in the infobox. Not all parameters are required for each artwork.'''
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
|-
! width=40%|You Type
! width=30%|You Type
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white; vertical-align: top;" |<pre>{{art
| style="text-align: left; vertical-align: top;" |<pre>{{art
|title=Title of Artwork
|title=Title of Artwork
|artist=Artist's Name
|artist=Artist's Name
|character=Character's Name
|character=Character's Name
|book=Book Name
|book=Book Name
|series=Series Name
|source=Source of Artwork
|source=Source of Artwork
|series=Series Name
|year=Year(s) of Creation
|year=Year of Creation
|license=Relevant License(s)
|license=Relevant License
}}
}}
</pre>
</pre>
| style="background-color: white;" |
|<br>
{| class="art-infobox"
{| class="art-infobox"
|-
|-
Line 41: Line 41:
|-
|-
! Character:
! Character:
| <span style="color: #745dac;">Character's Name</span>
| Character's Name
|-
|-
! Book:
! Book:
| <span style="color: #745dac;">Book Name</span>
| Book Name
|-
|-
! Series:
! Series:
| <span style="color: #745dac;">Series Name</span>
| Series Name
|-
|-
! Source:
! Source:
Line 53: Line 53:
|-
|-
! Year:
! Year:
| 1879
| Year(s) of Creation
|-
|-
! License:
! License:
| CC-SY-BY
| Relevant License(s)
|}
|}
<br>
|}
|}


=== Parameters ===
=== Parameters ===
{| class="wikitable" style="width: 70%;"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description
|-
|-
| style="text-align: center;" | <code>name</code> || The character's name.
| style="text-align: center;" | <code>title</code> || The title of the artwork. (Only add if known.)
|-
| style="text-align: center;" | <code>image</code> || Filename of the character's image (e.g., `File:Example.jpg`).
|-
| style="text-align: center;" | <code>caption</code> || Caption for the image.
|-
| style="text-align: center;" | <code>book</code> || What book the location is from. Use abbreviation(s) from [[:Template:B]].
|-
| style="text-align: center;" | <code>series</code> || What series the location is from. Use abbreviation(s) from [[:Template:B]].
|-
| style="text-align: center;" | <code>location</code> || Where it is located, if applicable.
|-
| style="text-align: center;" | <code>city</code> || The city it is located in, if applicable.
|-
|-
| style="text-align: center;" | <code>county</code> || The county it is located in, if applicable.
| style="text-align: center;" | <code>artist</code> || The name of the artist. Providing this parameter will provide a link to that artist's page in the [[:Category:Artists|Artists category]].
|-
|-
| style="text-align: center;" | <code>region</code> || The region it is located in, if applicable.
| style="text-align: center;" | <code>character</code> || Name of the character the artwork depicts. Use double square brackets (<code>[[</code> and <code>]]</code>) to link to that character's page.
|-
|-
| style="text-align: center;" | <code>country</code> || The country it is located in, if applicable.
| style="text-align: center;" | <code>book</code> || The book to which the subject of the artwork is related. Use abbreviation(s) from [[:Template:B]].
|-
|-
| style="text-align: center;" | <code>established</code> || The year it was established, if applicable.
| style="text-align: center;" | <code>series</code> || The series to which the subject of the artwork is related. Use abbreviation(s) from [[:Template:B]].
|-
|-
| style="text-align: center;" | <code>founder</code> || The name of the founder, if applicable.
| style="text-align: center;" | <code>source</code> || Where the image was sourced.
|-
|-
| style="text-align: center;" | <code>function</code> || It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.)
| style="text-align: center;" | <code>year</code> || The year(s) the artwork was created in.
|-
|-
| style="text-align: center;" | <code>nr1=</code>, <code>nr2=</code>, <code>nr3=</code>, etc. || Notable Residents, up to five names. (If applicable.) Use double brackets around the name (e.g., <code><nowiki>[[Emma M. Lion]]</nowiki></code>) to link to that character's page.
| style="text-align: center;" | <code>license</code> || The relevant license(s) (i.e., copyrights) that apply to the artwork.
|-
| style="text-align: center;" | <code>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.).
|}
|}


Line 98: Line 85:
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=6|limit=100}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=6|limit=100}}
[[Category:Infoboxes]]

Latest revision as of 22:26, 27 May 2025

Description

This template should be used on file pages of artworks uploaded to The Reed and Rite. Adding the artist attribution to an artwork using this template will automatically add it to the image caption when the {{Image}} template is used.

Usage

Note: Only parameters that are provided will appear in the infobox. Not all parameters are required for each artwork.
You Type You Get
{{art
|title=Title of Artwork
|artist=Artist's Name
|character=Character's Name
|book=Book Name
|series=Series Name
|source=Source of Artwork
|year=Year(s) of Creation
|license=Relevant License(s)
}}

Title: The Golden Hour
Artist: Artist's Name
Character: Character's Name
Book: Book Name
Series: Series Name
Source: Source of Artwork
Year: Year(s) of Creation
License: Relevant License(s)


Parameters

Parameter Description
title The title of the artwork. (Only add if known.)
artist The name of the artist. Providing this parameter will provide a link to that artist's page in the Artists category.
character Name of the character the artwork depicts. Use double square brackets ([[ and ]]) to link to that character's page.
book The book to which the subject of the artwork is related. Use abbreviation(s) from Template:B.
series The series to which the subject of the artwork is related. Use abbreviation(s) from Template:B.
source Where the image was sourced.
year The year(s) the artwork was created in.
license The relevant license(s) (i.e., copyrights) that apply to the artwork.

Files Using Template