Difference between revisions of "Template:VertRedGreenShirt"

From CWCki
Jump to navigation Jump to search
m (Add text tag variable, categ, standard format)
m (Rollin' out new template code)
Line 1: Line 1:
<span style="display:none">Red Green Stripe</span>[[Image:Redgreenvertstripe.png|Red & Green Stripes]]{{#if:{{{text|}}}|&#32;Red & Green Stripes||}}<noinclude>[[Category:Icon Templates]]</noinclude>
{{Icon|{{{1|}}}
|name  = Red Green Stripe
|image  = Redgreenvertstripe.png
|link  =
|text  = Red & Green Stripes
}}<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>

Revision as of 09:38, 28 April 2010

Red Green StripeRedgreenvertstripe.png

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:

  • {{VertRedGreenShirt}} - Displays: Red Green StripeRedgreenvertstripe.png
  • {{VertRedGreenShirt|text}} - Displays: Red Green StripeRedgreenvertstripe.png Red & Green Stripes
  • {{VertRedGreenShirt|Custom Text Here}} - Displays: Red Green StripeRedgreenvertstripe.png Custom Text Here