Stranded Deep Wiki

We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

READ MORE

Stranded Deep 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.
   
 
== Customization ==
 
== Customization ==
Line 8: Line 8:
   
 
== Example ==
 
== Example ==
<tt><nowiki><center></nowiki></tt>
+
<code><nowiki><center></nowiki></code>
 
:{{tlx|FP icon|Torch.png|Torch}}
 
:{{tlx|FP icon|Torch.png|Torch}}
 
:{{tlx|FP icon|Stone Tool.png|Stone Tool}}
 
:{{tlx|FP icon|Stone Tool.png|Stone Tool}}
<tt><nowiki></center></nowiki></tt>
+
<code><nowiki></center></nowiki></code>
   
 
'''Generates''':
 
'''Generates''':

Latest revision as of 17:01, 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.

Customization

  • The vertical alignment can be changed from either top to bottom depending on the nature of the icons.
  • The default size of the icons can be changed, or the size parameter can be set.
  • The text links under the icons can be removed.

Example

<center>

{{FP icon|Torch.png|Torch}}
{{FP icon|Stone Tool.png|Stone Tool}}

</center>

Generates: