Diferencia entre revisiones de «Plantilla:Art»

8016 bytes añadidos ,  hace 1 año
sin resumen de edición
m
 
(No se muestran 29 ediciones intermedias de 6 usuarios)
{| class=infobox align=center
<!-- {{#if:{{{#artist|}}} -->|{{row/kv|Artist Artista |[[Coppermind:Artistas/{{{#artist|''unknown''}}} | {{{#artist}}} ]] }}
<!-- ELSE -->|{{row/kv|Artista |{{{artist|''Desconocido''}}} }}|}}
{{#if:{{{modified|}}} |{{row/kv|Modificado por|{{{modified}}} }}|}}
{{#if:{{{tracer|}}} |{{row/kv|Tracer |{{{tracer}}} }}|}}
{{#if:{{{licensed|}}} |{{row/kv|Licencia |{{{licensed}}} }}|}}
{{#if:{{{translation|}}}|{{row/kv|Translation|{{{translation}}} }}|}}
{{#if:{{{book|}}} |{{row/kv|BookLibro |{{book tag|{{{book}}}|}} }}|}}
{{#if:{{{series|}}} |{{row/kv|SeriesSaga |{{series tag|{{{series}}}|}} }}|}}
 
<!-- -->{{row/kv|Source |{{{source|''unknown''}}} }}
<!-- SOURCE -->
<!-- -->{{row/kv|File type |{{{type}}} }}
{{#if:{{{#source|}}}
|}<includeonly><!--
|<!-- THEN
-->{{#if:{{#pos:{{{#source}}}|artstation.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} ArtStation]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|behance.net/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Behance]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|deviantart.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} DeviantArt]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|facebook.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Facebook]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|instagram.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Instagram]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|reddit.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Reddit]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|tumblr.com}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Tumblr]}} |}}<!--
-->{{#if:{{#pos:{{{#source}}}|twitter.com/}} <!-- -->| {{row/kv|Fuente|[{{{#source}}} Twitter]}} |}}
|<!-- ELSE
-->{{#if:{{{source|}}} | {{row/kv|Fuente|{{{source}}}}} | {{row/kv|Fuente|''Desconocida''}} }}
}}
 
{{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:{{{sourcemodified|}}}|<!-set-property key="art-modified">{{{modified}}}</set-property>|[[Category: Missing source link]]}}<!--
-->{{#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>
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>
{{art
|#artist=
|tracer=
|modified=
|licensed=
|book=
|series=
|#source=
|typealt=
|type={{cat tag|Character images|Art}}
}}
</pre>
 
=== Parameters ===
;<code>artist</code>
:<span style="color:#ff0000">'''Required'''</span>. This parameter should link to the artist's Coppermind page.
::'''Example''': <code>|artist=User:Botanicaxu</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>
<!-- ------------- -->
<!-- TABLE CAPTION -->
<!-- ------------- -->
|+ {{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>book</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 [[:Template:B]], which means it must be one of the valid values for that template.
* {{t|cat tag|character images}} is placed on any image depicting a [[:category: characters|character]]
::'''Example''': <code>|book=sotd</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>series</code>
:The value here is passed to the [[:Template:B]], which means it must be one of the valid values for that template.
::'''Example''': <code>|series=sa</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}}
5572

ediciones