Template:File info: Difference between revisions

What do you MEAN I could've just done this from the start?!
(MediaWiki, please.)
(What do you MEAN I could've just done this from the start?!)
Line 7: Line 7:
! Type
! Type
| {{#switch:{{{type|}}} | screenshot=Screenshot | boxart=Box art | concept=Concept art | texture=Texture | audio=Audio | logo=Logo | map=Map | icon=Icon | real=Real world image | user=User image }}
| {{#switch:{{{type|}}} | screenshot=Screenshot | boxart=Box art | concept=Concept art | texture=Texture | audio=Audio | logo=Logo | map=Map | icon=Icon | real=Real world image | user=User image }}
{{#if:{{{game|}}} |
|-
{{!}}-
{{#if:{{{game|}}} | !Game
! Game
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1=Pikmin | p2=Pikmin 2 | p3=Pikmin 3 | npcp1=Pikmin | npcp2=Pikmin 2 | pa=Pikmin Adventure | ssbb=Super Smash Bros. Brawl | ssb4=Super Smash Bros. for 3DS and Wii U}} }} }}
{{!}} {{#ifeq:{{{game|}}}|other|Non-''Pikmin'' game| {{#switch:{{{game|}}} | p1=Pikmin | p2=Pikmin 2 | p3=Pikmin 3 | npcp1=Pikmin | npcp2=Pikmin 2 | pa=Pikmin Adventure | ssbb=Super Smash Bros. Brawl | ssb4=Super Smash Bros. for 3DS and Wii U}} }} }}{{#if:{{{location|}}} |
|-
{{!}}-
{{#if:{{{location|}}} | !Location
! Location
{{!}} [[{{{location}}}]] }}
{{!}} [[{{{location}}}]] }}{{#if:{{{source|}}} |
|-
{{!}}-
{{#if:{{{source|}}} | !Source
! Source
{{!}} {{#ifeq:{{{source|}}}|self|Image created by the uploader|{{{source}}}}} }}
{{!}} {{#ifeq:{{{source|}}}|self|Image created by the uploader|{{{source}}}}} }}
|-
|-