Template:FP icon/doc

From Starblast.io Wiki
Jump to: navigation, search
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|FLy.png|Fly}}
{{FP icon|Gem.png|Gems}}
{{FP icon|STARBLAST_Logo.png|Project:Community portal{{!}}Locations}} — This line demonstrates how to change the display text for a given link
{{FP icon|Bat-Defender.png|Bat-Defender|size=100px}} — This image has a size parameter

</center>

Generates: