Difference between revisions of "Template:Video games"

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

Revision as of 19:40, 26 April 2010

Video gamesVideo Games Video gamesVideo games

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:

  • {{Video games}} - Displays: Video gamesVideo Games

Video gamesVideo games

  • {{Video games|text}} - Displays: Video gamesVideo Games

Video gamesVideo games Video Games

  • {{Video games|Custom Text Here}} - Displays: Video gamesVideo Games

Video gamesVideo games Custom Text Here