From Stellaris Wiki
Jump to navigation Jump to search
This is the documentation page for Template:Iconify.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template can be used to add icons as generated by Template:Icon in front of words.

Use this template to standardise the order of elements in bonuses. It also suppresses alt text for improved accessibility.


Parameter Description Required Default
1 The icon to use. For a list of icons see Template:Icon/doc. required none
2 Width of the icon
  • If preceded by an 'x', sets height instead of width
optional As defined by Template:Icon.
Typically either 24px or 52px.
3 String to insert between the icon and text optional none
4 Name of template to apply to parameter 3 (e.g. {{green}}) optional none
5 / text Text to display optional parameter 1
prefix / pre Text added to the front of parameter 1 for the purpose of determining the icon, but excluded from the displayed icon text. (e.g. ap) optional none
suffix / suf / post Text added to the end of parameter 1 for the purpose of determining the icon, but excluded from the displayed icon text. (e.g. tech) optional none
icon2 Inserts an additional icon image between the icon and text. optional none
tech Formats the icon text using Template:Tech with this parameter as the style.
  • Doesn't format text produced by parameter 3.
optional none
sort If the icon is at the front of a cell in a sortable table, makes the cell sortable.
value of sort data-sort-key="" |
icon / icon1 the icon name, including the prefix and suffix parameters
icon2 the icon2 parameter
icon3 the icon3 parameter
icon4 the icon4 parameter
icon5 the icon5 parameter
yes the full displayed text, including parameter 3
text parameter 5 (or the text parameter) if defined, parameter 1 otherwise
default the sort parameter
optional none
cellstyle Requires sort. Adds cell styles in style="" optional none
rowspan / row Requires sort. Sets cell rowspan. optional 1
colpan / col Requires sort. Sets cell colspan. optional 1


Wiki text Produces
{{iconify|Militarist}} Militarist.png Militarist
{{iconify|Militarist|36px|<br>}} Militarist.png 
{{iconify|Militarist|icon2=Fanatic Militarist||Some degree of}} Militarist.pngFanatic Militarist.png Some degree of Militarist
{{iconify|Memorialists|icon2=memorialist hive|icon3=memorialist machine}} Civic memorialist.pngCivic hive memorialist.pngCivic machine memorialist.png Memorialists
{{iconify|Minerals||+4}} Minerals.png +4 Minerals
{{iconify|Minerals||−4|red}} Minerals.png −4 Minerals
{{iconify|World Shaper}} World shaper World Shaper
{{iconify|World Shaper|pre=ap}} World Shaper World Shaper
{{iconify|monthly influence|suf=add||+1|green}} Monthly influence +1 monthly influence
{{iconify|Juggernaut|24px|suf=tech|tech=rare}} Tech juggernaut.png Juggernaut
{{iconify|admiral|24px}} Admiral.png admiral
{{iconify|admiral|x24px}} Admiral.png admiral
{{iconify|Militarist|sort=yes|cellstyle=text-align:center; background-color:green}} Militarist.png Militarist
data-sort-value="Militarist" style="text-align:center; background-color:lightgreen;" rowspan="1" colspan="1" |Militarist.png Militarist

List of available icons

Main article: Template:Icon/doc#List of available icons