Diferencia entre revisiones de «Plantilla:Art»
m (The type parameter is currently required, so I made the docs reflect that) |
m (updated the template with support for #source) |
||
Línea 7: | Línea 7: | ||
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}} |
{{#if:{{{book|}}} |{{row/kv|Book |{{book tag|{{{book}}}|}} }}|}} |
||
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}} |
{{#if:{{{series|}}} |{{row/kv|Series |{{series tag|{{{series}}}|}} }}|}} |
||
+ | |||
− | <!-- -->{{row/kv|Source |{{{source|''unknown''}}} }} |
||
+ | <!-- 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}}} }} |
<!-- -->{{row/kv|File type |{{{type}}} }} |
||
|}<includeonly><!-- |
|}<includeonly><!-- |
||
Línea 23: | Línea 38: | ||
-->{{#if:{{{modified|}}}|<set-property key="art-modified">{{{modified}}}</set-property>}}<!-- |
-->{{#if:{{{modified|}}}|<set-property key="art-modified">{{{modified}}}</set-property>}}<!-- |
||
-->{{#if:{{{official|}}} | [[category: official artwork]] }}<!-- |
-->{{#if:{{{official|}}} | [[category: official artwork]] }}<!-- |
||
− | -->{{#if:{{{source|}}}|<!-- -->|[[category: missing source link]]}}<!-- |
+ | -->{{#if:{{{#source|}}}{{{source|}}}|<!-- -->|[[category: missing source link]]}}<!-- |
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
Línea 40: | Línea 55: | ||
|book= |
|book= |
||
|series= |
|series= |
||
− | |source= |
+ | |#source= |
|type={{cat tag|Character images|Art}} |
|type={{cat tag|Character images|Art}} |
||
}} |
}} |
||
Línea 74: | Línea 89: | ||
<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 |
+ | | 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, 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> |
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'''). |
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> |
Revisión del 04:35 4 ago 2020
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= |book= |series= |#source= |type={{cat tag|Character images|Art}} }}
Parameters
Highlighted lines indicate mandatory 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: |
#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: |
|
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. |
|
tracer
|
When the image is a traced vector graphic this parameter should link to the tracer's Coppermind user page. |
|
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 |
All of these are equivalent: |
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 |
All of these are equivalent:
|
type
|
This parameter can be used to assign a category tag to the art piece. See the #Type Tags section below for more details. |
|
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. |
|
Type Tags
The type
parameter provides a row for tags which categorize the file in different ways:
{{cat tag|character images}}
is placed on any image depicting a character{{cat tag|interior art}}
is used to indicate when a file is from inside one of the published books{{cat tag|art}}
is used on artist depictions of scenes and other more complex images{{cat tag|maps}}
categorize any cartographic images{{cat tag|symbols}}
&{{cat tag|diagrams}}
indicate symbols & diagrams{{cat tag|chapter icons}}
collect all the images used in books with icons in the chapter headings
It also allows for any other kind of tagging for images when it makes sense