Template:Zone Tooltip Map: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude>{{#if:{{{1|}}}|<div style="display:inline-block;">{{Tooltip-Map | text = [[File:{{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}}|20px|link={{{zone|{{PAGENAME}}}}}/Maps#{{{1}}}]] | map = {{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}} | mapsize = 501 }}</div>}}</onlyinclude></includeonly> {{PAGENAMEE}} ==Usage== <pre> {{Zone Tooltip Map|<map name>}} </pre> Used on zone pages to display small maps that l...")
Tag: visualeditor-wikitext
 
No edit summary
Tags: Reverted visualeditor-wikitext
Line 2: Line 2:
| text = [[File:{{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}}|20px|link={{{zone|{{PAGENAME}}}}}/Maps#{{{1}}}]]
| text = [[File:{{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}}|20px|link={{{zone|{{PAGENAME}}}}}/Maps#{{{1}}}]]
| map = {{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}}
| map = {{trim|{{#section:{{{zone|{{PAGENAME}}}}}/Maps|{{{1}}}}}}}
| mapsize = 501
| mapsize = 101
}}</div>}}</onlyinclude></includeonly>
}}</div>}}</onlyinclude></includeonly>
[[Category:Templates|{{PAGENAMEE}}]]
[[Category:Templates|{{PAGENAMEE}}]]

Revision as of 22:47, 14 January 2023

Usage

{{Zone Tooltip Map|<map name>}}

Used on zone pages to display small maps that link to the maps subpage and display a larger tooltip map on hover.

  • zone: The zone the map belongs to. Defaults to the page's name.

Examples

Code Result
{{Zone Tooltip Map|Map 1}}
Windurst-walls.png
{{Zone Tooltip Map|North}}
Windurst-waters-north.png