Template:Art: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (41 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> | -->{{#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= | ! width=30%|You Type | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | 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 | |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> | ||
| | |<br> | ||
| | {| class="art-infobox" | ||
|- | |||
! 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) | |||
|} | |||
<br> | |||
|} | |||
=== Parameters === | |||
{| class="wikitable" | |||
! Parameter !! Description | |||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>title</code> || The title of the artwork. (Only add if known.) | ||
|- | |- | ||
| style="text-align: center;" | <code> | | 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> | | 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> | | 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> | | 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> | | style="text-align: center;" | <code>source</code> || Where the image was sourced. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>year</code> || The year(s) the artwork was created in. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | 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]] | |||