Difference between revisions of "Template:FP Icons"

From Conan Exiles Wiki
Jump to: navigation, search
m (Protected "Template:FP Icons" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
m
Line 1: Line 1:
<includeonly><div style="display:inline-block; vertical-align: top; margin:2px; text-align:center;">[[File:{{{1}}}|118px|link={{{2}}}|{{{2}}}]]<br>[[{{{2}}}]]</div></includeonly><noinclude>{{clear}}{{doc}}
+
<includeonly><div style="display:inline-block; vertical-align: top; margin:2px; text-align:center;">[[File:{{{1}}}|118px|link={{{2}}}|{{{2}}}]]<div>[[{{{2}}}]]</div></div></includeonly><noinclude>{{clear}}{{doc}}
   
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
[[Category:Formatting templates|{{PAGENAME}}]]

Revision as of 13:47, 11 February 2021

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>

{{FP Icons|Icon Craft.png|Crafting}}
{{FP Icons|Icon Building Parts.png|Building}}
{{FP Icons|Icon Avatars.png|Avatars}}
{{FP Icons|Icon Characters.png|Characters}}
{{FP Icons|Icon Creatures Ostrich.png|Creatures}}
{{FP Icons|Icon Locations.png|Locations}}
{{FP Icons|Icon Altars.png|Altars}}
{{FP Icons|Icon Crafting Machines.png|Crafting Stations}}

</center>

Generates: