Yonder: The Cloud Catcher Chronicles Wiki
Register
No edit summary
No edit summary
Line 32: Line 32:
 
{{FP icon|FP Icon Items.png|Resource}}
 
{{FP icon|FP Icon Items.png|Resource}}
 
{{FP icon|FP Icon Journal.png|Constellations}}
 
{{FP icon|FP Icon Journal.png|Constellations}}
  +
{{FP icon|FP Icon Locations.png|Locations}}
  +
{{FP icon|FP Icon Stars.png|Constellations}}
 
{{FP icon|FP Icon Key Items.png|Key Items}}
 
{{FP icon|FP Icon Key Items.png|Key Items}}
 
{{FP icon|FP Icon Muck.png|Murk}}
 
{{FP icon|FP Icon Muck.png|Murk}}

Revision as of 17:28, 24 July 2017

Template-info 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|Link-weapons.png|Special:Preferences}}
{{FP icon|Link-guides.png|https://google.com Google}} — This line demonstrates how to create an external link
{{FP icon|Link-locations.png|Project:Community portal{{!}}Locations}} — This line demonstrates how to change the display text for a given link
{{FP icon|Link-help.png|Special:Random|size=100px}} — This image has a size parameter

</center>

Generates:

Example #2:

Example #3:

Items
Items
Journal
Journal

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