Template:Art: Difference between revisions

mNo edit summary
mNo edit summary
 
(27 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)
|}
|}
Lorem ipsum dolor sit amet consectetur adipiscing elit. Leo eu aenean sed diam urna tempor pulvinar. Semper vel class aptent taciti sociosqu ad litora. Mus donec rhoncus eros lobortis nulla molestie mattis. Blandit quis suspendisse aliquet nisi sodales consequat magna. Ac tincidunt nam porta elementum a enim euismod. Cras eleifend turpis fames primis vulputate ornare sagittis. Netus suscipit auctor curabitur facilisi cubilia curae hac. Sem placerat in id cursus mi pretium tellus. Egestas iaculis massa nisl malesuada lacinia integer nunc. Orci varius natoque penatibus et magnis dis parturient. Non purus est efficitur laoreet mauris pharetra vestibulum. Finibus facilisis dapibus etiam interdum tortor ligula congue. Dignissim velit aliquam imperdiet mollis nullam volutpat porttitor. Proin libero feugiat tristique accumsan maecenas potenti ultricies. Sit amet consectetur adipiscing elit quisque faucibus ex. Sed diam urna tempor pulvinar vivamus fringilla lacus. Aptent taciti sociosqu ad litora torquent per conubia. Eros lobortis nulla molestie mattis scelerisque maximus eget. Aliquet nisi sodales consequat magna ante condimentum neque. Porta elementum a enim euismod quam justo lectus. Fames primis vulputate ornare sagittis vehicula praesent dui. Curabitur facilisi cubilia curae hac habitasse platea dictumst. Id cursus mi pretium tellus duis convallis tempus. Nisl malesuada lacinia integer nunc posuere ut hendrerit.
<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>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>caption</code> || Caption for the image.
| 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>book</code> || What book the location is from. Use abbreviation(s) from [[:Template:B]].
| 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>series</code> || What series the location is from. Use abbreviation(s) from [[:Template:B]].
| 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>location</code> || Where it is located, if applicable.
| style="text-align: center;" | <code>source</code> || Where the image was sourced.
|-
|-
| style="text-align: center;" | <code>city</code> || The city it is located in, if applicable.
| style="text-align: center;" | <code>year</code> || The year(s) the artwork was created in.
|-
|-
| style="text-align: center;" | <code>county</code> || The county it is located in, if applicable.
| style="text-align: center;" | <code>license</code> || The relevant license(s) (i.e., copyrights) that apply to the artwork.
|-
| style="text-align: center;" | <code>region</code> || The region it is located in, if applicable.
|-
| style="text-align: center;" | <code>country</code> || The country it is located in, if applicable.
|-
| style="text-align: center;" | <code>established</code> || The year it was established, if applicable.
|-
| style="text-align: center;" | <code>founder</code> || The name of the founder, if applicable.
|-
| 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>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>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.).
|}
|}


Line 100: 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]]