Difference between revisions of "Template:Art"

From The Coppermind
Jump to navigation Jump to search
m
m (+)
Line 2: Line 2:
 
{{#if:{{{#artist|}}} |{{row/kv|Artist |[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]] }}
 
{{#if:{{{#artist|}}} |{{row/kv|Artist |[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]] }}
 
<!-- ELSE -->|{{row/kv|Artist |{{{artist|''unknown''}}} }}|}}
 
<!-- ELSE -->|{{row/kv|Artist |{{{artist|''unknown''}}} }}|}}
  +
{{#if:{{{modified|}}} |{{row/kv|Modified by|{{{modified}}} }}|}}
 
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
 
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
 
{{#if:{{{translation|}}}|{{row/kv|Translation|{{{translation}}} }}|}}
 
{{#if:{{{translation|}}}|{{row/kv|Translation|{{{translation}}} }}|}}
Line 16: Line 17:
 
-->|<set-property key="artist">{{{artist}}}</set-property>[[category: file with manual artist link]]<!--
 
-->|<set-property key="artist">{{{artist}}}</set-property>[[category: file with manual artist link]]<!--
 
ELSE:
 
ELSE:
-->|[[Category: Missing artist link]]<!--
+
-->|[[category: missing artist link]]<!--
 
-->}}|}}<!--
 
-->}}|}}<!--
   
 
-->{{#if:{{{tracer|}}}|<set-property key="art-tracer">{{{tracer}}}</set-property>}}<!--
 
-->{{#if:{{{tracer|}}}|<set-property key="art-tracer">{{{tracer}}}</set-property>}}<!--
-->{{#if:{{{official|}}} | [[Category: Official artwork]] }}<!--
+
-->{{#if:{{{modified|}}}|<set-property key="art-modified">{{{modified}}}</set-property>}}<!--
-->{{#if:{{{source|}}}|<!-- -->|[[Category: Missing source link]]}}<!--
+
-->{{#if:{{{official|}}} | [[category: official artwork]] }}<!--
  +
-->{{#if:{{{source|}}}|<!-- -->|[[category: missing source link]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
Line 83: Line 85:
 
<code><nowiki>|source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]</nowiki></code><br>
 
<code><nowiki>|source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]</nowiki></code><br>
 
<code><nowiki>|source=[[:File: Roshar.png]]</nowiki></code>
 
<code><nowiki>|source=[[:File: Roshar.png]]</nowiki></code>
  +
  +
<!-- ----------- -->
  +
<!-- ROW: modified -->
  +
<!-- ----------- -->
  +
|-
  +
| style="text-align: center;" | <code>modified</code>
  +
| When the image has been changed from the original, either by cropping or coloring or tracing into a vector graphic, this parameter shoud link to the editor's Coppermind user page.
  +
| style="white-space: nowrap;" |
  +
<code><nowiki>|modified=[[:User: Fbstj]]</nowiki></code>
  +
   
 
<!-- ----------- -->
 
<!-- ----------- -->
Line 152: Line 164:
 
It also allows for any other kind of tagging for images when it makes sense
 
It also allows for any other kind of tagging for images when it makes sense
   
[[Category: Infoboxes]]
+
[[category: infoboxes]]

Revision as of 12:48, 31 August 2019

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

The art template is used to assign metadata to pieces of visual art, both official and fan-made.

Template

Category: Character images and Category: Art are the two most common types, so they are prefilled here; delete the one (or both) that's not applicable.

{{art
|#artist=
|tracer=
|book=
|series=
|source=
|type={{cat tag|Character images|Art}}
}}


Parameters

Highlighted lines indicate mandatory parameters.

{{Art}} Parameters
Parameter Description Examples
#artist
or
artist
Use #artist to automatically link to the artist's Coppermind page (under Coppermind:Artists) by just supplying their name. If necessary, artist can be used to manually link to their page.

These two are equivalent:
|#artist=Petar Penev
|artist=[[Coppermind:Artists/Petar Penev|Petar Penev]]

source Use this to link to a publicly viewable webpage where the image can be found, preferably the artist's website or social media.

If the file is a cropped/traced version of another piece of art already uploaded to the Coppermind, that file can be used as the source.
When naming the source, use just the website's name (e.g. Facebook instead of Facebook post, or 17th Shard instead of 17th Shard gallery).

|source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]
|source=[[:File: Roshar.png]]

modified When the image has been changed from the original, either by cropping or coloring or tracing into a vector graphic, this parameter shoud link to the editor's Coppermind user page.

|modified=[[:User: Fbstj]]


tracer When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page.

|tracer=[[:User:WeiryWriter]]

book Use this to associate the art piece with a specific book. This is mostly used when uploading interior art from the book in question.

Note: The value here is forwarded to the {{book tag}} template, which then forwards it to {{b}}. This means the original value must be valid for those templates as well. See their pages for details.

All of these are equivalent:
|book=sa1
|book=wok
|book=twok

series Use this to associate the art piece with a book series.

Note: The value here is forwarded to the {{series tag}} template, which means it must be one of the valid values for that template. See the {{series tag}} page for more details.

All of these are equivalent:
|series=sa
|series=stormlight
|series=stormlight archive
|series=the stormlight archive

type This parameter can be used to assign a category tag to the art piece. See the #Type Tags section below for more details.

|type={{cat tag|Art}}


official Use this to indicate that the piece of art is "official" in some way - e.g. it appears on the cover or inside a published book.

|official=y

Type Tags

The type parameter provides a row for tags which categorize the file in different ways:

It also allows for any other kind of tagging for images when it makes sense