Template:Art: Difference between revisions

mNo edit summary
mNo edit summary
 
(39 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
|source=Source of Image
|book=Book Name
|book=Book Name
|series=Series Name
|series=Series Name
|year=Year of Creation
|source=Source of Artwork
|license=Relevant License
|year=Year(s) of Creation
|license=Relevant License(s)
}}
}}
</pre>
</pre>
| style="background-color: white;" |
|<br>
{| class="art-infobox"
{| class="art-infobox"
|-
|-
Line 38: Line 38:
|-
|-
! Artist:
! Artist:
| Jane Smith
| Artist's Name
|-
! Character:
| Character's Name
|-
! Book:
| Book Name
|-
|-
! Year:
! Series:
| 1879
| Series Name
|-
|-
! Source:
! Source:
| Museum of Art
| Source of Artwork
|-
! Year:
| 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>region</code> || The region 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>country</code> || The country 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>established</code> || The year it was established, 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>founder</code> || The name of the founder, 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>function</code> || It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.)
| style="text-align: center;" | <code>source</code> || Where the image was sourced.
|-
|-
| 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>year</code> || The year(s) the artwork was created in.
|-
|-
| style="text-align: center;" | <code>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.).
| style="text-align: center;" | <code>license</code> || The relevant license(s) (i.e., copyrights) that apply to the artwork.
|}
|}


== Files Using Template ==
== Files Using Template ==
{{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]]