Difference between revisions of "Template:Art"

From The Coppermind
Jump to navigation Jump to search
m (try)
m (+meta cat)
Line 14: Line 14:
 
ELSE:
 
ELSE:
 
-->|{{#if:{{{artist|}}}<!--
 
-->|{{#if:{{{artist|}}}<!--
-->|<set-property key="artist">{{{artist}}}</set-property><!--
+
-->|<set-property key="artist">{{{artist}}}</set-property>[[category: file with manual artist link]]<!--
 
ELSE:
 
ELSE:
 
-->|[[Category: Missing artist link]]<!--
 
-->|[[Category: Missing artist link]]<!--

Revision as of 18:42, 4 March 2019

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 (or #artist)
Required This parameter should link to the artist's Coppermind page.
Example: |artist=[[Isaac Stewart]]
Example: |artist=[[User: Botanicaxu]]
Example: |artist=[[Coppermind: Artists/Sheep|Sheep]]
Example: |#artist=Sheep is the same as the above
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]
If the file is a cropped/traced version of another piece of art already on the coppermind, that file can be the source:
Example: |source=[[:File: Roshar.png]]
tracer
When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page.
Example: |tracer=[[:User:WeiryWriter]]
series
The value here is passed to the {{series tag}} template, which means it must be one of the valid values for that template. This will add a link to the series page and include the file in the series category.
Example: |series=Stormlight
book
The value here is passed to the {{book tag}} template, which means it must be one of the valid values for that template. This will add a link to the book page and include the file in the series category. This argument is mostly used on interior art from the book in question, or for books which aren't part of a series.
Example: |book=sotd
type
This parameter can be used to assign a category tag to the art piece.
Values: Art, Books/Book
Example: |type={{cat tag|Art}}