Titanfall Wiki
 
Line 1: Line 1:
<includeonly><div style="display:inline-block; vertical-align: top; margin:2px; text-align:center;">[[File:{{{1}}}|120px|link={{{2}}}|{{{3|{{{2}}}}}}]]<br>[[{{{2}}}|{{{3|{{{2}}}}}}]]</div></includeonly><noinclude>{{clear}}{{doc}}
+
<includeonly><div style="display:inline-block; vertical-align: top; margin:2px; text-align:center;">[[File:{{{1}}}|90px|link={{{2}}}|{{{3|{{{2}}}}}}]]<br>[[{{{2}}}|{{{3|{{{2}}}}}}]]</div></includeonly><noinclude>{{clear}}{{doc}}
   
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
[[Category:Formatting templates|{{PAGENAME}}]]

Latest revision as of 20:27, 13 October 2016

Template-info.png Documentation

This template creates a main page icon with a text link underneath. As the page width narrows, a group of these icons will rearrange themselves onto as many lines as necessary. The group can be centered by enclosing the template calls in <center> ... </center> tags. Additionally, this template supports custom link text. If the custom link text is not specified, it will default to the link as entered into the link variable.

Example

<center>

{{MP icon|mp-maps.png|Maps}}
{{MP icon|mp-npcs.png|NPCs}}
{{MP icon|mp-wildlife.png|Wildlife}}
{{MP icon|mp-shear.png|Shear}}

</center>

Generates:

NPCs
NPCs
Wildlife
Wildlife
Shear
Shear