Template:Type link audio: Difference between revisions
From Battlestar Wiki Media
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{image|}}}|{{#switch:{{{type|}}} | <includeonly>{{#if:{{{image|}}}|{{#switch:{{{type|}}} | ||
| mp3=[[Image:BSG WIKI mp3.png| | | mp3=[[Image:BSG WIKI mp3.png|15px|MP3 Audio File]] | ||
| ogg=[[Image:BSG WIKI ogg.png| | | ogg=[[Image:BSG WIKI ogg.png|15px|OGG Audio File]] | ||
| mpg=[[Image:BSG WIKI mpg.png| | | mpg=[[Image:BSG WIKI mpg.png|15px|MPG Audio File]] | ||
}}}}{{#if:{{{text|}}}|{{#switch:{{{type|}}} | }}}}{{#if:{{{text|}}}|{{#switch:{{{type|}}} | ||
| mp3=''' | | mp3='''MP3 Audio File''' | ||
| ogg=''' | | ogg='''OGG Audio File''' | ||
| mpg=''' | | mpg='''MPG Audio File''' | ||
}}}}{{#switch:{{{type|}}} | }}}}{{#switch:{{{type|}}} | ||
| mp3={{#ifeq:{{NAMESPACE}}|Image|[[Category:MP3 files|{{PAGENAME}}]]}} | | mp3={{#ifeq:{{NAMESPACE}}|Image|[[Category:MP3 files|{{PAGENAME}}]]}} |