Difference between revisions of "Template:RedBlueShirt"

From CWCki
Jump to navigation Jump to search
m (Add text tag variable)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<span style="display:none">Red Blue Shirt</span>[[Image:Redblueshirt.png|Red Blue]]{{#if:{{{text|}}}|&#32;Red & Blue||}}<noinclude>[[Category:Icon Templates]]</noinclude>
{{Icon|{{{1|}}}
|name  = Red Blue
|image  = Redblueshirt.png
|link  = File:Christshirt10.png
|text  = [[Chris and fashion|Red & Blue]]
}}<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:Shirt Icons]]</noinclude>

Latest revision as of 02:17, 29 September 2020

Red BlueRed Blue

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:

  • {{RedBlueShirt}} - Displays: Red BlueRed Blue
  • {{RedBlueShirt|text}} - Displays: Red BlueRed Blue Red & Blue
  • {{RedBlueShirt|Custom Text Here}} - Displays: Red BlueRed Blue Custom Text Here