Template:File info: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
(Maybe this'll work?)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="margin: auto; width: 50%;"
{| class="wikitable" style="margin: auto; width: 50%;"
! colspan="2" | Image information
! colspan="2" | Image information
|-
|-
Line 18: Line 18:
|-
|-
!License
!License
| {{license | {{#switch:{{{type|}}} | real | map | user = {{{license}}} | #default = {{{type|}}} }} }}
| {{license | {{#switch:{{{type|}}} | real | map | user = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}{{#if:{{{nocat|}}}||
|}
<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] }}
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | boxart=[[Category:Box art]] | concept=[[Category:Concept art]] | texture=[[Category:Textures]] | audio=[[Category:Audio]] | logo=[[Category:Logos]] | map=[[Category:Maps]] | icon=[[Category:Icons]] | real=[[Category:Real world images]] | user=[[Category:User images]] }}
{{#switch:{{{game}}} | p1|npcp1=[[Category:Pikmin 1 images]] | p2|npcp2=[[Category:Pikmin 2 images]] | p3=[[Category:Pikmin 3 images]] | pa=[[Category:Pikmin Adventure images]] | psm=[[Category:Pikmin Short Movies images]] | #default=[[Category:Non-Pikmin images]]}}
{{#switch:{{{game}}} | p1|npcp1=[[Category:Pikmin 1 images]] | p2|npcp2=[[Category:Pikmin 2 images]] | p3=[[Category:Pikmin 3 images]] | pa=[[Category:Pikmin Adventure images]] | psm=[[Category:Pikmin Short Movies images]] | #default=[[Category:Non-Pikmin images]]}}