Actions

Template

Difference between revisions of "Art"

From Sonic Retro

Line 13: Line 13:
 
{{ #if: {{{game|}}} | | {{ #if: {{{character|}}} | | {{ #if: {{{source|}}} | | [[Category:Artwork]] }} }} }}{{
 
{{ #if: {{{game|}}} | | {{ #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: {{{cartoon|}}} | {{#vardefine:cartoon|yes}}[[Category:Artwork for {{{cartoon}}}]] | }}{{
 
  #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|}}}|{{GD|{{{game|}}}}}|}}{{BadNameCheck|{{PAGENAME}}}}</includeonly><noinclude>
+
  #if: {{{development|}}}|{{#if:{{#var:game}}|{{GD|{{{game|}}}}}}}{{#if:{{#var:game}}|[[Category:{{{cartoon}}} development images]]|}}{{BadNameCheck|{{PAGENAME}}}}{{#if:{{#var:game}}{{#var:cartoon}}||[[Category:Undesignated artwork]]}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Revision as of 13:29, 23 March 2018

This image is official artwork.

Usage

{{art
| character=
| character2=
| game=
| source=
| originalname=
| originalfile=
| author=
| development=
}}