Skylords Reborn
Line 1: Line 1:
<includeonly>{{#ifeq:{{{icononly|}}}|true|<!-- icononly-->[[File:{{{1}}}_Minimap.jpg|{{{size|20px}}}|border|link={{{1}}}]]|<!-- icon + text-->[[File:{{{1}}}_Minimap.jpg|{{{size|20px}}}|link={{{1}}}]] [[{{{2|{{{1}}}}}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#ifeq:{{{icononly|}}}|true|<!-- icononly-->[[File:{{{1}}}_Minimap.jpg|{{{size|20px}}}|link={{{1}}}]]|<!-- icon + text-->[[File:{{{1}}}_Minimap.jpg|{{{size|20px}}}|link={{{1}}}]] [[{{{2|{{{1}}}}}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 21:01, 19 April 2020

Template Documentation (Note: The template above may sometimes be invisible.)

Description

This template can be used to create a link to a map page displaying the minimap icon in front of the link. Hovering over the link will display a tooltip about the map.

  • For uniformity the short version mi should be used.

Usage

Syntax
  • {{mi|<map name>|<alternative display text>|size=<Number>px|icononly=true}}
    • The <alternative display text>, <size> and <icononly> parameters are optional.
Examples
  • {{mi|Introduction}} creates: Introduction Minimap.jpg Introduction
  • {{mi|Haladur}} creates: Haladur Minimap.jpg Haladur
  • {{mi|Ascension}} creates: 20px Ascension
  • {{mi|King of the Giants}} creates: King of the Giants Minimap.jpg King of the Giants
  • {{mi|King of the Giants|Giants' King}} creates: King of the Giants Minimap.jpg Giants' King
  • {{mi|King of the Giants|icononly=true}} creates: King of the Giants Minimap.jpg
  • {{mi|King of the Giants|size=40px}} creates: King of the Giants Minimap.jpg King of the Giants

See also