Difference between revisions of "Template:Iconify"

From Stellaris Wiki
Jump to navigation Jump to search
(Created template)
 
m
 
Line 1: Line 1:
<includeonly>{{icon|{{lc:{{{1}}}}}|{{{2}}}}} {{{1}}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>
+
<includeonly>{{icon|{{lc:{{{1}}}}}|{{{2|}}}}} {{{1}}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>

Latest revision as of 11:46, 2 April 2016

[view] [edit]Template-info.png Template documentation

This template can be used for to add icons as generated by Template:Icon in front of words. The icons serve as a link to the concept they represent.

Parameters

1
The first parameter is the word to iconify. It has no default value and is always required.
2
The second parameter is the width of the icon. It is optional. The default value is 24px.

Usage

Syntax
{{iconify|word}}} or {{iconify|word|width}}
Insert the relevant identifier in the above syntax. The available identifier can be found in the table linked below.
Example
{{iconify|Militarist}}} will generate Militarist.png Militarist.

List of available icons

Main article: Template:Icon#List of available icons