Difference between revisions of "Art"

From Sega Retro

Line 1: Line 1:
{{Imagetag
+
{{#vardefine:artType|{{#switch:{{{type|}}}
 +
|box=Box artwork
 +
|#default=Artwork
 +
}}}}{{Imagetag
 
| image=
 
| image=
 
| text=
 
| text=
 
This image is official artwork{{#if:{{{author|}}}| &nbsp;created by [[{{{author|}}}]]|}}{{ #ifeq: {{{character}}} | no | | {{ #if: {{{character|}}} | &nbsp;depicting {{{character}}} | }}}}{{ #if: {{{character2|}}} | &nbsp;and {{{character2}}} | }}{{ #if: {{{game|}}} | &nbsp;for the 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: {{{hardware|}}} | &nbsp;for the [[{{{hardware }}}]] hardware | }}.{{ #if: {{{source|}}} | <br>Source: {{{source}}}{{{ref|}}} | }}{{ #if: {{{source|}}} | {{ #if: {{{originalname|}}} | ,&nbsp; | }} | }}{{ #if: {{{originalname|}}} | {{ #if: {{{originalfile|}}} | {{file|{{{originalfile}}}|<tt>{{{originalname}}}</tt>}} | <tt>{{{originalname}}}</tt> }} | }}
 
This image is official artwork{{#if:{{{author|}}}| &nbsp;created by [[{{{author|}}}]]|}}{{ #ifeq: {{{character}}} | no | | {{ #if: {{{character|}}} | &nbsp;depicting {{{character}}} | }}}}{{ #if: {{{character2|}}} | &nbsp;and {{{character2}}} | }}{{ #if: {{{game|}}} | &nbsp;for the 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: {{{hardware|}}} | &nbsp;for the [[{{{hardware }}}]] hardware | }}.{{ #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: {{{cartoon|}}} | | {{ #if: {{{anime|}}} | | {{ #if: {{{comic|}}} | | {{ #if: {{{book|}}} | | {{ #if: {{{magazine|}}} | | {{ #if: {{{hardware|}}} | | {{ #if: {{{character|}}} | | {{ #if: {{{source|}}} | | [[Category:Artwork]] }} }} }} }} }} }} }} }} }}{{
+
{{ #if: {{{game|}}} | | {{ #if: {{{cartoon|}}} | | {{ #if: {{{anime|}}} | | {{ #if: {{{comic|}}} | | {{ #if: {{{book|}}} | | {{ #if: {{{magazine|}}} | | {{ #if: {{{hardware|}}} | | {{ #if: {{{character|}}} | | {{ #if: {{{source|}}} | | [[Category:{{#var:artType}}]] }} }} }} }} }} }} }} }} }}{{
 
  #if: {{{source|}}} | | [[Category:Unsourced artwork]] }}{{
 
  #if: {{{source|}}} | | [[Category:Unsourced artwork]] }}{{
  #if: {{{game|}}} | {{#vardefine:game|yes}}[[Category:Artwork for {{{game}}}]] | }}{{
+
  #if: {{{game|}}} | {{#vardefine:game|yes}}[[Category:{{#var:artType}} for {{{game}}}]] | }}{{
  #if: {{{cartoon|}}} | {{#vardefine:cartoon|yes}}[[Category:Artwork for {{{cartoon}}}]] | }}{{
+
  #if: {{{cartoon|}}} | {{#vardefine:cartoon|yes}}[[Category:{{#var:artType}} for {{{cartoon}}}]] | }}{{
  #if: {{{anime|}}} | {{#vardefine:anime|yes}}[[Category:Artwork for {{{anime}}}]] | }}{{
+
  #if: {{{anime|}}} | {{#vardefine:anime|yes}}[[Category:{{#var:artType}} for {{{anime}}}]] | }}{{
  #if: {{{film|}}} | {{#vardefine:film|yes}}[[Category:Artwork for {{{film}}}]] | }}{{
+
  #if: {{{film|}}} | {{#vardefine:film|yes}}[[Category:{{#var:artType}} for {{{film}}}]] | }}{{
  #if: {{{comic|}}} | {{#vardefine:comic|yes}}[[Category:Artwork for {{{comic}}}]] | }}{{
+
  #if: {{{comic|}}} | {{#vardefine:comic|yes}}[[Category:{{#var:artType}} for {{{comic}}}]] | }}{{
  #if: {{{book|}}} | {{#vardefine:book|yes}}[[Category:Artwork for {{{book}}}]] | }}{{
+
  #if: {{{book|}}} | {{#vardefine:book|yes}}[[Category:{{#var:artType}} for {{{book}}}]] | }}{{
  #if: {{{magazine|}}} | {{#vardefine:magazine|yes}}[[Category:Artwork for {{{magazine}}}]] | }}{{
+
  #if: {{{magazine|}}} | {{#vardefine:magazine|yes}}[[Category:{{#var:artType}} for {{{magazine}}}]] | }}{{
  #if: {{{hardware|}}} | {{#vardefine:hardware|yes}}[[Category:Artwork for {{{hardware}}}]] | }}{{
+
  #if: {{{hardware|}}} | {{#vardefine:hardware|yes}}[[Category:{{#var:artType}} for {{{hardware}}}]] | }}{{
 
  #if: {{{charactercat|}}} | [[Category:Artwork of {{{charactercat}}}]] | }}{{
 
  #if: {{{charactercat|}}} | [[Category:Artwork of {{{charactercat}}}]] | }}{{
 
  #if: {{{charactercat2|}}} | [[Category:Artwork of {{{charactercat2}}}]] | }}{{
 
  #if: {{{charactercat2|}}} | [[Category:Artwork of {{{charactercat2}}}]] | }}{{
Line 37: Line 40:
 
| originalfile=
 
| originalfile=
 
| author=
 
| author=
 +
| type=
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Image templates|Art]]</noinclude>
 
[[Category:Image templates|Art]]</noinclude>

Revision as of 15:58, 11 September 2022

This image is official artwork.

Usage

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