Difference between revisions of "Template:Audio"

From CWCki
Jump to navigation Jump to search
(Add text tag variable - We don't have an audio article or category, but we really should)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="display:none">Audio</span>[[Image:Audio.png|Audio]]{{#if:{{{text|}}}|&#32;Audio||}}<noinclude>[[Category:Icon Templates]]</noinclude>
{{Icon|{{{1|}}}
|name  = Audio
|image  = Audio.png
|link  = File:Audio.png
|text  = Audio
}}<noinclude>{{usage|1=This template is an [[:Category:Icon Templates|icon template]], mostly for use in the [[Template:Infobox/video|video template]] and on video list pages. It supports a text parameter, for displaying a label beside the icon. The format for using this template is: <br/>
*'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>''' - Displays: {{ {{PAGENAME}} }}
*'''<nowiki>{{</nowiki>{{PAGENAME}}{{!}}text<nowiki>}}</nowiki>''' - Displays: {{{{PAGENAME}}|text}}
*'''<nowiki>{{</nowiki>{{PAGENAME}}{{!}}Custom Text Here<nowiki>}}</nowiki>''' - Displays: {{{{PAGENAME}}|Custom Text Here}}
}}
[[Category:Other Icons|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:50, 31 March 2018

AudioAudio

Usage

These usage notes will not be included in articles bearing this template.

This template is an icon template, mostly for use in the video template and on video list pages. It supports a text parameter, for displaying a label beside the icon. The format for using this template is:

  • {{Audio}} - Displays: AudioAudio
  • {{Audio|text}} - Displays: AudioAudio Audio
  • {{Audio|Custom Text Here}} - Displays: AudioAudio Custom Text Here