Difference between revisions of "Template:Art"

From The Coppermind
Jump to navigation Jump to search
m
m
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| class=infobox align=center
 
{| class=infobox align=center
{{#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:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
+
{{#if:{{{modified|}}} |{{row/kv|Modified by |{{{modified}}} }}|}}
{{#if:{{{translation|}}}|{{row/kv|Translation|{{{translation}}} }}|}}
+
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}}
+
{{#if:{{{licensed|}}} |{{row/kv|Licensed by |{{{licensed}}} }}|}}
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}}
+
{{#if:{{{translation|}}}|{{row/kv|Translation |{{{translation}}} }}|}}
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
+
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}}
<!-- -->{{row/kv|File type |{{{type}}} }}
+
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}}
|}<includeonly><!--
 
   
  +
<!-- SOURCE -->
  +
{{#if:{{{#source|}}}
  +
|<!-- THEN
  +
-->{{#if:{{#pos:{{{#source}}}|artstation.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} ArtStation]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|behance.net/}} <!-- -->| {{row/kv|Source|[{{{#source}}} Behance]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|deviantart.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} DeviantArt]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|facebook.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} Facebook]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|instagram.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} Instagram]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|reddit.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} Reddit]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|tumblr.com}} <!-- -->| {{row/kv|Source|[{{{#source}}} Tumblr]}} |}}<!--
  +
-->{{#if:{{#pos:{{{#source}}}|twitter.com/}} <!-- -->| {{row/kv|Source|[{{{#source}}} Twitter]}} |}}
  +
|<!-- ELSE
  +
-->{{#if:{{{source|}}} | {{row/kv|Source|{{{source}}}}} | {{row/kv|Source|''Unknown''}} }}
  +
}}
  +
  +
{{row/kv | File type|{{{type}}}|}}
  +
  +
|}{{#if:{{{alt|}}}|
  +
  +
<div style="font-weight:bold; font-size:1.2em;>Alt Text</div>
 
{{{alt}}}}}<includeonly><!--
  +
  +
<!-- APPLY METADATA AND STUFF
 
-->{{#if:{{{#artist|}}}<!--
 
-->{{#if:{{{#artist|}}}<!--
 
-->|<set-property key="artist">[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]]</set-property><!--
 
-->|<set-property key="artist">[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]]</set-property><!--
Line 16: Line 38:
 
-->|<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:{{{source|}}}|<!-- -->|[[Category: Missing source link]]}}<!--
+
-->{{#if:{{{modified|}}}|<set-property key="art-modified">{{{modified}}}</set-property>}}<!--
  +
-->{{#if:{{{official|}}} | [[category: official artwork]] }}<!--
  +
-->{{#if:{{{#source|}}}{{{source|}}}|<!-- -->|[[category: missing source link]]}}<!--
  +
-->{{#if:{{{alt|}}}|<set-property key="alt">{{{alt}}}</set-property>|[[category: file without alt text]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
The '''art''' template is used to assign metadata to pieces of visual art, both official and fan-made.
+
The '''art''' template is used to assign metadata to pieces of visual art, both official and fan-made. For book covers, use {{t|cover}} instead.
  +
   
 
__TOC__
 
__TOC__
   
 
=== Template ===
 
=== 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.
 
<pre class=mw-code>
 
<pre class=mw-code>
 
{{art
 
{{art
 
|#artist=
 
|#artist=
 
|tracer=
 
|tracer=
  +
|modified=
  +
|licensed=
 
|book=
 
|book=
 
|series=
 
|series=
|source=
+
|#source=
  +
|type={{cat tag|Character images|Art}}
|type=
 
  +
|alt=
 
}}
 
}}
 
</pre>
 
</pre>
 
   
 
=== Parameters ===
 
=== Parameters ===
Line 70: Line 99:
 
<code><nowiki>|artist=[[Coppermind:Artists/Petar Penev|Petar Penev]]</nowiki></code>
 
<code><nowiki>|artist=[[Coppermind:Artists/Petar Penev|Petar Penev]]</nowiki></code>
   
<!-- ----------- -->
+
<!-- --------------------- -->
<!-- ROW: source -->
+
<!-- ROW: #source / source -->
<!-- ----------- -->
+
<!-- --------------------- -->
 
|- style="background:#FFDEAD;"
 
|- style="background:#FFDEAD;"
| style="text-align: center;" | <code>source</code>
+
| style="text-align: center;" | <code>#source</code> <br><small>or</small><br> <code>source</code>
| Use this to link to a publicly viewable webpage where the image can be found, preferably the artist's website or social media.<br>
+
| Use this to link to a public webpage where the image can be found, preferably the artist's website or social media.<br>
  +
<small>'''Note:''' <code>#source</code> automatically generates a link to ArtStation, Behance, DeviantArt, Facebook, Instagram, Reddit, Twitter, and Tumblr; just provide the URL.
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.
 
  +
If the source is not one of these websites (e.g. it's the artist's personal website), use <code>source</code> to manually link to it.</small><br>
 
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.<br>
  +
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''').
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
  +
<code><nowiki>|#source=https://www.instagram.com/p/B8je6gfDuOi/</nowiki></code><br>
 
<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 89: Line 132:
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
 
<code><nowiki>|tracer=[[:User:WeiryWriter]]</nowiki></code>
 
<code><nowiki>|tracer=[[:User:WeiryWriter]]</nowiki></code>
  +
  +
<!-- ------------- -->
  +
<!-- ROW: licensed -->
  +
<!-- ------------- -->
  +
|-
  +
| style="text-align: center;" | <code>licensed</code>
  +
| Use this parameter to indicate that the copyright owner (usually the artist) of the image has given us permission to upload this specific image. This is mostly useful when we don't want to set up an artist page for the artist (just yet).<br>
  +
'''Note:''' This is best used when we see an image we want, acquire permission to use it, but don't want to go bother the artist with the Google Form. If the same artist keeps producing fanart, we should reconsider and send them the form instead.
  +
| style="white-space: nowrap;" |
  +
<code><nowiki>|licensed=[[:User:Argent]]</nowiki></code>
   
 
<!-- --------- -->
 
<!-- --------- -->
Line 95: Line 148:
 
|-
 
|-
 
| style="text-align: center;" | <code>book</code>
 
| style="text-align: center;" | <code>book</code>
| Use this to associate the art piece with a specific book. This is mostly used when uploading interior art from the book in question.<br>
+
| Use this to associate the art piece with a specific book. This is mostly used when uploading interior art from the book in question, but can also be used for fanart of specific scenes, characters that only appear in one book, and other book-specific artwork.<br>
 
'''Note:''' The value here is forwarded to the {{t|book tag}} template, which then forwards it to {{t|b}}. This means the original value must be valid for those templates as well. See their pages for details.
 
'''Note:''' The value here is forwarded to the {{t|book tag}} template, which then forwards it to {{t|b}}. This means the original value must be valid for those templates as well. See their pages for details.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
Line 108: Line 161:
 
|-
 
|-
 
| style="text-align: center;" | <code>series</code>
 
| style="text-align: center;" | <code>series</code>
| Use this to associate the art piece with a book series.<br>
+
| Use this to associate the art piece with a book series. '''Adds the image to that series' category''', so it's advisable to add it, even if the image only concerns one book in a series.<br>
 
'''Note:''' The value here is forwarded to the {{t|series tag}} template, which means it must be one of the valid values for that template. See the {{t|series tag}} page for more details.
 
'''Note:''' The value here is forwarded to the {{t|series tag}} template, which means it must be one of the valid values for that template. See the {{t|series tag}} page for more details.
 
| style="white-space: nowrap;" |
 
| style="white-space: nowrap;" |
Line 120: Line 173:
 
<!-- ROW: file type-->
 
<!-- ROW: file type-->
 
<!-- ------------- -->
 
<!-- ------------- -->
  +
{{docs/row/required
|-
 
 
|param=type
| style="text-align: center;" | <code>type</code>
 
| This parameter can be used to assign a category tag to the art piece. See the [[#Type Tags]] section below for more details.
+
|desc=This parameter can be used to assign a category tag to the art piece. See the [[#Type Tags]] section below for more details.
  +
|eg=
| style="white-space: nowrap;" |
 
 
<code><nowiki>|type={{cat tag|Art}}</nowiki></code>
 
<code><nowiki>|type={{cat tag|Art}}</nowiki></code>
  +
}}
  +
  +
<!-- ------------- -->
  +
<!-- ROW: official -->
  +
<!-- ------------- -->
  +
{{docs/row/optional
  +
|param= official
  +
|desc= 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.
  +
|eg =
  +
<code><nowiki>|official=y</nowiki></code>
  +
}}
  +
  +
<!-- ------------- -->
  +
<!-- ROW: alt -->
  +
<!-- ------------- -->
  +
{{docs/row/optional
  +
|param= alt
  +
|desc= Use this to provide alt text for images
  +
|eg =
  +
<code><nowiki>|alt=An old logo for the 17th Shard fansite</nowiki></code>
  +
}}
   
 
|}
 
|}
Line 131: Line 205:
 
The <code>type</code> parameter provides a row for [[:category: link macros|tags]] which categorize the file in different ways:
 
The <code>type</code> parameter provides a row for [[:category: link macros|tags]] which categorize the file in different ways:
 
* {{t|cat tag|character images}} is placed on any image depicting a [[:category: characters|character]]
 
* {{t|cat tag|character images}} is placed on any image depicting a [[:category: characters|character]]
* {{t|cat tag|interior art}} is used to indicate when a file is from inside one of the published books
+
* {{t|cat tag|interior art}} is used to indicate when a file is from [[:Category:interior art|inside one of the published books]]
* {{t|cat tag|art}} is used on artist depictions of scenes and other more complex images
+
* {{t|cat tag|art}} is used on [[:Category:art|artist depictions]] of scenes and other more complex images
* {{t|cat tag|maps}} categorize any cartographic images
+
* {{t|cat tag|maps}} categorize any [[:Category:maps|cartographic images]]
* {{t|cat tag|symbols}} & {{t|cat tag|diagrams}} indicate the obvious
+
* {{t|cat tag|symbols}} & {{t|cat tag|diagrams}} indicate [[:Category:symbols|symbols]] & [[:Category:diagrams|diagrams]]
* {{t|cat tag|chapter icons}} collect all the images used in books with icons in the chapter headings
+
* {{t|cat tag|chapter icons}} collect all the images used in books with [[:Category:Chapter icons|icons in the chapter headings]]
   
 
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]]
  +
  +
== Files using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 files}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=6|limit=100}}

Latest revision as of 22:07, 16 February 2023

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. For book covers, use {{cover}} instead.


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=
|modified=
|licensed=
|book=
|series=
|#source=
|type={{cat tag|Character images|Art}}
|alt=
}}

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
or
source
Use this to link to a public webpage where the image can be found, preferably the artist's website or social media.

Note: #source automatically generates a link to ArtStation, Behance, DeviantArt, Facebook, Instagram, Reddit, Twitter, and Tumblr; just provide the URL. If the source is not one of these websites (e.g. it's the artist's personal website), use source to manually link to it.
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.instagram.com/p/B8je6gfDuOi/
|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]]

licensed Use this parameter to indicate that the copyright owner (usually the artist) of the image has given us permission to upload this specific image. This is mostly useful when we don't want to set up an artist page for the artist (just yet).

Note: This is best used when we see an image we want, acquire permission to use it, but don't want to go bother the artist with the Google Form. If the same artist keeps producing fanart, we should reconsider and send them the form instead.

|licensed=[[:User:Argent]]

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, but can also be used for fanart of specific scenes, characters that only appear in one book, and other book-specific artwork.

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. Adds the image to that series' category, so it's advisable to add it, even if the image only concerns one book in a 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

alt Use this to provide alt text for images

|alt=An old logo for the 17th Shard fansite

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

Files using Template