Template:File info: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 44: Line 44:
|-
|-
!License
!License
| {{license | {{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{{license}}} | #default = {{{type|}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
| {{license | {{#switch:{{{type|}}} | merch | promo | real | map | user | wiki | icon = {{{license}}} }} | nocat={{{nocat|<noinclude>y</noinclude>}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||
|}<includeonly>{{#if:{{{nocat|}}}||
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
Line 71: Line 71:
}}
}}
[[Category:{{file info/game|{{{game}}}}} images]]
[[Category:{{file info/game|{{{game}}}}} images]]
{{#if:{{{location|}}}|{{#ifeq:{{{location}}}|Story mode cave|[[Category:Cave images]]|{{#ifeq:{{{game}}}-{{{location|}}}|Pikmin 4-Cave|[[Category:Pikmin 4 cave images]]|{{#ifeq:{{{location}}}|N/A||[[Category:{{{location}}} images]]}}}}}}}}
{{#if:{{{location|}}}|{{#ifeq:{{{location}}}|Story mode cave|[[Category:Cave images]]|{{#ifeq:{{{game}}}-{{{location|}}}|Pikmin 4-Cave|[[Category:Pikmin 4 cave images]]|{{#ifeq:{{{location}}}|N/A||[[Category:{{{location}}} images]]}}}}}}}}}}
}}{{#if:{{{summary|}}}|{{#seo:description={{{summary}}}}}|[[Category:Files with no summary]]}}</includeonly><noinclude>
{{#if:{{{summary|}}}|{{#seo:description={{{summary}}}}}|[[Category:Files with no summary]]}}</includeonly><noinclude>


==Info==
==Info==