Difference between revisions of "Template:Art"

From The Coppermind
Jump to navigation Jump to search
m (a few changes)
m
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| class=infobox align=center
 
{| class=infobox align=center
<!-- -->{{row/kv|Artist |{{{artist|''unknown''}}} }}
+
{{#if:{{{#artist|}}} |{{row/kv|Artist |[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]] }}
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
+
<!-- ELSE -->|{{row/kv|Artist |{{{artist|''unknown''}}} }}|}}
{{#if:{{{translation|}}}|{{row/kv|Translation|{{{translation}}} }}|}}
+
{{#if:{{{modified|}}} |{{row/kv|Modified by |{{{modified}}} }}|}}
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}}
+
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}}
+
{{#if:{{{licensed|}}} |{{row/kv|Licensed by |{{{licensed}}} }}|}}
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
+
{{#if:{{{translation|}}}|{{row/kv|Translation |{{{translation}}} }}|}}
<!-- -->{{row/kv|File type |{{{type}}} }}
+
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}}
  +
{{#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|}}}<!--
  +
-->|<set-property key="artist">[[Coppermind: Artists/{{{#artist}}} | {{{#artist}}} ]]</set-property><!--
  +
ELSE:
  +
-->|{{#if:{{{artist|}}}<!--
  +
-->|<set-property key="artist">{{{artist}}}</set-property>[[category: file with manual artist link]]<!--
  +
ELSE:
  +
-->|[[category: missing artist link]]<!--
  +
-->}}|}}<!--
   
-->{{#if:{{{artist|}}}|<set-property key="artist">{{{artist}}}</set-property>|[[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>
This is used on files to add source information
 
   
  +
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.
== Parameters ==
 
  +
[[:Template:Art]] supports the following parameters, of which <code>artist</code> and <code>source</code>:
 
  +
  +
__TOC__
  +
  +
=== 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 ===
;<code>artist</code>
 
:<span style="color:#ff0000">'''Required'''</span> This parameter should link to the artist's Coppermind page.
 
::'''Example''': <code><nowiki>|artist=[[Isaac Stewart]]</nowiki></code>
 
::'''Example''': <code><nowiki>|artist=[[User: Botanicaxu]]</nowiki></code>
 
::'''Example''': <code><nowiki>|artist=[[Coppermind: Artists/Sheep]]</nowiki></code>
 
   
  +
Highlighted lines indicate '''mandatory''' parameters.
;<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.
 
  +
{| class="wikitable" width=100%
::'''Example''': <code><nowiki>|source=[https://www.dandossantos.com/gallery/#/lightweaver/ Dan dos Santos' Website]</nowiki></code>
 
  +
<!-- ------------- -->
: If the file is a cropped/traced version of another piece of art already on the coppermind, that file can be the source:
 
  +
<!-- TABLE CAPTION -->
::'''Example''': <code><nowiki>|source=[[:File: Roshar.png]]</nowiki></code>
 
  +
<!-- ------------- -->
  +
|+ {{t|Art}} Parameters
  +
  +
<!-- -------------- -->
  +
<!-- COLUMN HEADERS -->
  +
<!-- -------------- -->
  +
|-
  +
! scope="col" style="font-weight: bold;" | Parameter
  +
! scope="col" style="font-weight: bold;" | Description
  +
! scope="col" style="font-weight: bold;" | Examples
  +
  +
<!-- ------------------- -->
  +
<!-- ROW: #artist/artist -->
  +
<!-- ------------------- -->
  +
|- style="background:#FFDEAD;"
  +
| style="text-align: center;" | <code>#artist</code> <br><small>or</small><br> <code>artist</code>
  +
| Use <code>#artist</code> to automatically link to the artist's Coppermind page (<small>under <code>Coppermind:Artists</code></small>) by just supplying their name. If necessary, <code>artist</code> can be used to manually link to their page.
  +
| style="white-space: nowrap;" |
  +
These two are equivalent:<br>
  +
<code><nowiki>|#artist=Petar Penev</nowiki></code><br>
  +
<code><nowiki>|artist=[[Coppermind:Artists/Petar Penev|Petar Penev]]</nowiki></code>
  +
  +
<!-- --------------------- -->
  +
<!-- ROW: #source / source -->
  +
<!-- --------------------- -->
  +
|- style="background:#FFDEAD;"
  +
| style="text-align: center;" | <code>#source</code> <br><small>or</small><br> <code>source</code>
  +
| 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 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;" |
  +
<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=[[: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>
  +
  +
  +
<!-- ----------- -->
  +
<!-- ROW: tracer -->
  +
<!-- ----------- -->
  +
|-
  +
| style="text-align: center;" | <code>tracer</code>
  +
| When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page.
  +
| style="white-space: nowrap;" |
  +
<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>
  +
  +
<!-- --------- -->
  +
<!-- ROW: book -->
  +
<!-- --------- -->
  +
|-
  +
| 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, 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.
  +
| style="white-space: nowrap;" |
  +
All of these are equivalent:<br>
  +
<code><nowiki>|book=sa1</nowiki></code><br>
  +
<code><nowiki>|book=wok</nowiki></code><br>
  +
<code><nowiki>|book=twok</nowiki></code>
  +
  +
<!-- ----------- -->
  +
<!-- ROW: series -->
  +
<!-- ----------- -->
  +
|-
  +
| style="text-align: center;" | <code>series</code>
  +
| 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.
  +
| style="white-space: nowrap;" |
  +
All of these are equivalent:<br>
  +
<code><nowiki>|series=sa</nowiki></code><br>
  +
<code><nowiki>|series=stormlight</nowiki></code><br>
  +
<code><nowiki>|series=stormlight archive</nowiki></code><br>
  +
<code><nowiki>|series=the stormlight archive</nowiki></code>
  +
  +
<!-- ------------- -->
  +
<!-- ROW: file type-->
  +
<!-- ------------- -->
  +
{{docs/row/required
  +
|param=type
  +
|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=
  +
<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>
  +
}}
   
  +
|}
;<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>
 
   
  +
=== Type Tags ===
;<code>series</code>
 
  +
The <code>type</code> parameter provides a row for [[:category: link macros|tags]] which categorize the file in different ways:
:The value here is passed to the {{t|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.
 
  +
* {{t|cat tag|character images}} is placed on any image depicting a [[:category: characters|character]]
::'''Example''': <code>|series=Stormlight</code>
 
  +
* {{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 [[:Category:art|artist depictions]] of scenes and other more complex images
  +
* {{t|cat tag|maps}} categorize any [[:Category:maps|cartographic images]]
  +
* {{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 [[:Category:Chapter icons|icons in the chapter headings]]
   
  +
It also allows for any other kind of tagging for images when it makes sense
;<code>book</code>
 
:The value here is passed to the {{t|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''': <code>|book=sotd</code>
 
   
  +
[[category: infoboxes]]
;<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>
 
   
  +
== Files using Template ==
[[Category: Infoboxes]]
 
  +
{{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