Difference between revisions of "Template:Icon"

From CWCki
Jump to navigation Jump to search
(+Usage)
m (Reverted edits by Taekesi (talk) to last revision by Anonymax)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="display:none">{{{name|}}}</span>[[Image:{{{image}}}|{{{name|}}}|{{#if{{{link|}}}|link={{{link}}}|}}]]{{#if:{{{1|}}}|&#32;|}}{{#ifeq:{{{1}}}|text|{{{text}}}|{{{1|}}}}}</includeonly>
<includeonly><span style="display:none">{{{name|}}}</span>[[Image:{{{image}}}|{{{name|}}}|{{#if:{{{link|}}}|link={{{link}}}|}}]]{{#if:{{{1|}}}|&#32;|}}{{#ifeq:{{{1}}}|text|{{{text}}}|{{{1|}}}}}</includeonly><noinclude>{{usage|1=This template is used in the creation of [[:Category:Icon Templates|icon templates]] to help make them more readable. The format for using this template is: <br/>
<noinclude>{{usage|1=This template is used in the creation of [[:Category:Icon Templates|icon templates]] to help make them more readable. The format for using this template is: <br/>
 
<nowiki>{{</nowiki>Icon<nowiki>|</nowiki>{{{1<nowiki>|</nowiki>}}}<br/>
'''<nowiki>{{</nowiki>Icon<nowiki>|</nowiki>{{{1<nowiki>|</nowiki>}}}'''<br/>
<nowiki>|</nowiki>name  = ''Icon name''<br/>
'''{{!}}name'''   = ''Icon name''<br/>
<nowiki>|</nowiki>image = ''Image filename''<br/>
'''{{!}}image''' = ''Image filename''<br/>
<nowiki>|</nowiki>link  = ''Optional link for the icon''<br/>
'''{{!}}link'''   = ''Optional link for the icon''<br/>
<nowiki>|</nowiki>text  = ''The text label which appears beside the icon''<br/>
'''{{!}}text'''   = ''The text label which appears beside the icon''<br/>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki><br/>
}}</noinclude>
 
You may need to purge an icon template in order for changes to appear - [[CWCki:Purge|learn more]].
}}
[[Category:CWCki templates]]</noinclude>

Latest revision as of 08:08, 15 December 2011

Usage

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

This template is used in the creation of icon templates to help make them more readable. The format for using this template is:

{{Icon|{{{1|}}}
|name = Icon name
|image = Image filename
|link = Optional link for the icon
|text = The text label which appears beside the icon
}}

You may need to purge an icon template in order for changes to appear - learn more.