Actions

Template

Difference between revisions of "Art"

From Sonic Retro

m
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Imagetag
+
{{#vardefine:artType|{{#switch:{{{type|}}}
 +
|box=Box artwork
 +
|#default=Artwork
 +
}}}}<includeonly>[[Category:All {{lc:{{#var:artType}}}}]]</includeonly>{{Imagetag
 
| image=
 
| image=
 
| text=
 
| text=
Line 9: Line 12:
 
| group=&nbsp;depicting multiple characters
 
| group=&nbsp;depicting multiple characters
 
| <includeonly>&nbsp;depicting [[{{{character}}}]]</includeonly>
 
| <includeonly>&nbsp;depicting [[{{{character}}}]]</includeonly>
}} | }}{{ #if: {{{character2|}}} | &nbsp;and [[{{{character2}}}]] | }}{{ #if: {{{game|}}} | &nbsp;for ''[[{{{game}}}]]'' | }}{{ #if: {{{cartoon|}}} | &nbsp;for the cartoon, ''[[{{{cartoon}}}]]'' | }}.{{ #if: {{{source|}}} | <br>Source: {{{source}}} | }}{{ #if: {{{source|}}} | {{ #if: {{{originalname|}}} | ,&nbsp; | }} | }}{{ #if: {{{originalname|}}} | {{ #if: {{{originalfile|}}} | {{file|{{{originalfile}}}|<tt>{{{originalname}}}</tt>}} | <tt>{{{originalname}}}</tt> }} | }}
+
}} | }}{{ #if: {{{character2|}}} | &nbsp;and [[{{{character2}}}]] | }}{{ #if: {{{game|}}} | &nbsp;for the video game, ''[[{{{game}}}]]'' | }}{{ #if: {{{cartoon|}}} | &nbsp;for the cartoon, ''[[{{{cartoon}}}]]'' | }}{{ #if: {{{anime|}}} | &nbsp;for the anime, ''[[{{{anime}}}]]'' | }}{{ #if: {{{film|}}} | &nbsp;for the film, ''[[{{{film}}}]]'' | }}{{ #if: {{{comic|}}} | &nbsp;for the comic, ''[[{{{comic}}}]]'' | }}{{ #if: {{{book|}}} | &nbsp;for the book, ''[[{{{book}}}]]'' | }}{{ #if: {{{magazine|}}} | &nbsp;for the magazine, ''[[{{{magazine}}}]]'' | }}{{ #if: {{{event|}}} | &nbsp;for the event, ''[[{{{event}}}]]'' | }}.{{ #if: {{{source|}}} | <br>Source: {{{source}}}{{{ref|}}} | }}{{ #if: {{{source|}}} | {{ #if: {{{originalname|}}} | ,&nbsp; | }} | }}{{ #if: {{{originalname|}}} | {{ #if: {{{originalfile|}}} | {{file|{{{originalfile}}}|<tt>{{{originalname}}}</tt>}} | <tt>{{{originalname}}}</tt> }} | }}
 
}}<includeonly>
 
}}<includeonly>
{{ #if: {{{game|}}} | | {{ #if: {{{character|}}} | | {{ #if: {{{source|}}} | | [[Category:Artwork]] }} }} }}{{
+
{{ #if: {{{game|}}} | | {{ #if: {{{cartoon|}}} | | {{ #if: {{{anime|}}} | | {{ #if: {{{comic|}}} | | {{ #if: {{{book|}}} | | {{ #if: {{{magazine|}}} | | {{ #if: {{{character|}}} | | {{ #if: {{{source|}}} | | [[Category:Artwork]] }} }} }} }} }} }} }} }}{{
 
  #if: {{{source|}}} | | [[Category:Unsourced artwork]] }}{{
 
  #if: {{{source|}}} | | [[Category:Unsourced artwork]] }}{{
  #if: {{{game|}}} | [[Category:Artwork for {{{game}}}]] | [[Category:Undesignated artwork]] }}{{
+
  #if: {{{game|}}} | {{#vardefine:game|yes}}[[Category:Artwork for {{{game}}}]] | }}{{
 
  #if: {{{cartoon|}}} | {{#vardefine:cartoon|yes}}[[Category:Artwork for {{{cartoon}}}]] | }}{{
 
  #if: {{{cartoon|}}} | {{#vardefine:cartoon|yes}}[[Category:Artwork for {{{cartoon}}}]] | }}{{
 +
#if: {{{anime|}}} | {{#vardefine:anime|yes}}[[Category:Artwork for {{{anime}}}]] | }}{{
 +
#if: {{{film|}}} | {{#vardefine:film|yes}}[[Category:Artwork for {{{film}}}]] | }}{{
 +
#if: {{{comic|}}} | {{#vardefine:comic|yes}}[[Category:Artwork for {{{comic}}}]] | }}{{
 +
#if: {{{book|}}} | {{#vardefine:book|yes}}[[Category:Artwork for {{{book}}}]] | }}{{
 +
#if: {{{magazine|}}} | {{#vardefine:magazine|yes}}[[Category:Artwork for {{{magazine}}}]] | }}{{
 +
#if: {{{event|}}} | {{#vardefine:event|yes}}[[Category:Artwork for {{{event}}}]] | }}{{
 
  #ifeq: {{{character}}} | no | | {{ #if: {{{character|}}} | [[Category:Artwork of {{#switch:{{{character}}}|Groups=groups|Group=groups|group=groups|Enemies=enemies|{{{character}}}}}]] | [[Category:Uncharacterised artwork]] }} }}{{
 
  #ifeq: {{{character}}} | no | | {{ #if: {{{character|}}} | [[Category:Artwork of {{#switch:{{{character}}}|Groups=groups|Group=groups|group=groups|Enemies=enemies|{{{character}}}}}]] | [[Category:Uncharacterised artwork]] }} }}{{
 
  #if: {{{character2|}}} | [[Category:Artwork of {{{character2}}}]] | }}{{
 
  #if: {{{character2|}}} | [[Category:Artwork of {{{character2}}}]] | }}{{
 
  #if: {{{source|}}} | [[Category:Artwork from {{{source}}}]] | }}{{
 
  #if: {{{source|}}} | [[Category:Artwork from {{{source}}}]] | }}{{
 
  #if: {{{author|}}} | [[Category:Artwork by {{{author}}}]] | [[Category:Unauthored artwork]]}}{{
 
  #if: {{{author|}}} | [[Category:Artwork by {{{author}}}]] | [[Category:Unauthored artwork]]}}{{
  #if: {{{development|}}}|{{#if:{{#var:game}}|{{GD|{{{game|}}}}}}}{{#if:{{#var:cartoon}}|[[Category:{{{cartoon}}} development images]]|}}|}}{{BadNameCheck|{{PAGENAME}}}}{{#if:{{#var:game}}{{#var:cartoon}}||[[Category:Undesignated artwork]]}}</includeonly><noinclude>
+
  #if: {{{development|}}}|{{#if:{{#var:game}}|{{GD|{{{game|}}}}}}}{{#if:{{#var:cartoon}}|[[Category:{{{cartoon}}} development images]]|}}{{#if:{{#var:anime}}|[[Category:{{{anime}}} development images]]|}}{{#if:{{#var:film}}|[[Category:{{{film}}} development images]]|}}|}}{{BadNameCheck|{{PAGENAME}}}}{{#if:{{#var:game}}{{#var:cartoon}}{{#var:anime}}{{#var:film}}{{#var:comic}}{{#var:book}}{{#var:magazine}}{{#var:event}}||[[Category:Undesignated artwork]]}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 26: Line 35:
 
| character2=
 
| character2=
 
| game=
 
| game=
 +
| cartoon=
 +
| anime=
 +
| film=
 +
| comic=
 +
| book=
 +
| magazine=
 +
| event=
 
| source=
 
| source=
 +
| ref=
 
| originalname=
 
| originalname=
 
| originalfile=
 
| originalfile=

Latest revision as of 09:38, 10 August 2023

This image is official artwork.

Usage

{{art
| character=
| character2=
| game=
| cartoon=
| anime=
| film=
| comic=
| book=
| magazine=
| event=
| source=
| ref=
| originalname=
| originalfile=
| author=
| development=
}}