Orcs Must Die! Unchained Wiki
(Created page with "{{doc/start}} 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 line...")
 
Pcjbot (talk | contribs)
m
 
Line 1: Line 1:
 
{{doc/start}}
 
{{doc/start}}
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 <tt><nowiki><center> ... </center></nowiki></tt> tags.
+
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 <code><nowiki><center> ... </center></nowiki></code> tags.
   
 
== Example ==
 
== Example ==
<tt><nowiki><center></nowiki></tt>
+
<code><nowiki><center></nowiki></code>
 
:{{tlx|MP icon|Blackpaw thumbnail.jpg|Blackpaw}}
 
:{{tlx|MP icon|Blackpaw thumbnail.jpg|Blackpaw}}
 
:{{tlx|MP icon|Cygnus thumbnail.jpg|Cygnus}}
 
:{{tlx|MP icon|Cygnus thumbnail.jpg|Cygnus}}
 
:{{tlx|MP icon|Dobbin thumbnail.jpg|Dobbin}}
 
:{{tlx|MP icon|Dobbin thumbnail.jpg|Dobbin}}
<tt><nowiki></center></nowiki></tt>
+
<code><nowiki></center></nowiki></code>
   
 
'''Generates''':
 
'''Generates''':

Latest revision as of 16:48, 14 November 2018

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.

Example

<center>

{{MP icon|Blackpaw thumbnail.jpg|Blackpaw}}
{{MP icon|Cygnus thumbnail.jpg|Cygnus}}
{{MP icon|Dobbin thumbnail.jpg|Dobbin}}

</center>

Generates:

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.