Template:Aboutfile: Difference between revisions

m
New lines instead of commas while in the same field.
(Testing more game fields, will revert shortly if it doesn't work.)
m (New lines instead of commas while in the same field.)
Line 5: Line 5:
! align=center width=25% style="background:#f26887; padding:5px; border-radius: 10px" {{!}} Game
! align=center width=25% style="background:#f26887; padding:5px; border-radius: 10px" {{!}} Game
{{!}} <i>[[{{{game|}}}]]</i>[[Category:{{{game|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
{{!}} <i>[[{{{game|}}}]]</i>[[Category:{{{game|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
-->{{#if:{{{game2|}}}|, <i>[[{{{game2|}}}]]</i>[[Category:{{{game2|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
-->{{#if:{{{game2|}}}|<br><i>[[{{{game2|}}}]]</i>[[Category:{{{game2|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
-->{{#if:{{{game3|}}}|, <i>[[{{{game3|}}}]]</i>[[Category:{{{game3|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
-->{{#if:{{{game3|}}}|<br><i>[[{{{game3|}}}]]</i>[[Category:{{{game3|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}<!--
-->{{#if:{{{game4|}}}|, <i>[[{{{game4|}}}]]</i>[[Category:{{{game4|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}
-->{{#if:{{{game4|}}}|<br><i>[[{{{game4|}}}]]</i>[[Category:{{{game4|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}
|-
|-
{{#if:{{{media|}}}| ! align=center width=25% style="background:#a4d3a8; padding:5px; border-radius: 10px" {{!}} Media
{{#if:{{{media|}}}| ! align=center width=25% style="background:#a4d3a8; padding:5px; border-radius: 10px" {{!}} Media
Line 43: Line 43:
|rating=Rating icon [[Category:Rating logos]]
|rating=Rating icon [[Category:Rating logos]]
|#default=<includeonly>[[Category:Files lacking sources]]</includeonly>
|#default=<includeonly>[[Category:Files lacking sources]]</includeonly>
}}{{#if:{{{type2|}}}|, {{#switch:{{{type2|}}}
}}{{#if:{{{type2|}}}|<br>{{#switch:{{{type2|}}}
|audio=Audio [[Category:Audio]]
|audio=Audio [[Category:Audio]]
|photo=Photograph [[Category:Photographs]]
|photo=Photograph [[Category:Photographs]]
3,403

edits