Difference between revisions of "Template:Art"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 28: Line 28:
 
}}
 
}}
 
</pre>
 
</pre>
  +
  +
;<code>artist</code>
  +
:<span style="color:#ff0000">'''Required'''</span>. This parameter should link to the artist's Coppermind page.
  +
::'''Example''': <code>|artist=User:Botanicaxu</code>
  +
  +
;<code>source</code>
  +
:<span style="color:#ff0000">'''Required'''</span>. This parameter should link to a publicly viewable webpage where the image can be found, preferably the artist's website or social media.
  +
::'''Example''': <code><nowiki>|source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]</nowiki></code>
  +
  +
;<code>tracer</code>
  +
: When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page.
  +
::'''Example''': <code><nowiki>|tracer=[[:User:WeiryWriter]]</nowiki></code>
   
 
;<code>book</code>
 
;<code>book</code>
 
:The value here is passed to the [[:Template:B]], which means it must be one of the valid values for that template.
 
:The value here is passed to the [[:Template:B]], which means it must be one of the valid values for that template.
::'''Example''': <code>book:sotd</code>
+
::'''Example''': <code>|book=sotd</code>
   
 
;<code>series</code>
 
;<code>series</code>
 
:The value here is passed to the [[:Template:B]], which means it must be one of the valid values for that template.
 
:The value here is passed to the [[:Template:B]], which means it must be one of the valid values for that template.
::'''Example''': <code>series:sa</code>
+
::'''Example''': <code>|series=sa</code>
  +
  +
;<code>type</code>
  +
<!-- TODO -->
  +
:This parameter can be used to assign a category tag to the art piece.
  +
::'''Values''': <code>Art</code>, <code>Books/Book</code>
  +
::'''Example''': <code><nowiki>|type={{cat tag|Art}}</nowiki></code>
   
 
[[Category: Infoboxes]]
 
[[Category: Infoboxes]]

Revision as of 04:47, 1 November 2018

Artist unknown
Source unknown
File type {{{type}}}

This is used on files to add source information

Parameters

Template:Art supports the following parameters, of which artist and source:

{{art
|artist=
|tracer=
|book=
|series=
|source=
|type=
}}
artist
Required. This parameter should link to the artist's Coppermind page.
Example: |artist=User:Botanicaxu
source
Required. This parameter should link to a publicly viewable webpage where the image can be found, preferably the artist's website or social media.
Example: |source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]
tracer
When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page.
Example: |tracer=[[:User:WeiryWriter]]
book
The value here is passed to the Template:B, which means it must be one of the valid values for that template.
Example: |book=sotd
series
The value here is passed to the Template:B, which means it must be one of the valid values for that template.
Example: |series=sa
type
This parameter can be used to assign a category tag to the art piece.
Values: Art, Books/Book
Example: |type={{cat tag|Art}}