Template:Navbox worlds: Difference between revisions
Template page
More actions
m Split PvP Isles out of Continents; move title icon before the name |
m Replace reader-visible prose double hyphens with a proper em dash entity |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Navbox | <includeonly><templatestyles src="Template:Navbox worlds/styles.css" />{{Navbox | ||
|content=<div class="loka-navbox-group"><span class="loka-navbox-title">Continents</span><span class="loka-navbox-links">[[Ascalon]] • [[Kalros]] • [[Garama]] • [[Aladra]]</span></div><div class="loka-navbox-group"><span class="loka-navbox-title">PvP | |content=<div class="loka-navbox-group"><span class="loka-navbox-title">Continents</span><span class="loka-navbox-links">[[Ascalon]] • [[Kalros]] • [[Garama]] • [[Aladra]]</span></div><div class="loka-navbox-worlds-row"><div class="loka-navbox-group"><span class="loka-navbox-title loka-navbox-title--mixed-case">PvP ISLES</span><span class="loka-navbox-links">[[Balak]] • [[Rivina]] • [[Zyre]]</span></div><div class="loka-navbox-group"><span class="loka-navbox-title">Other Worlds</span><span class="loka-navbox-links">[[The End]] • [[The Nether]]</span></div></div> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
| Line 6: | Line 6: | ||
<pre>{{Navbox worlds}}</pre> | <pre>{{Navbox worlds}}</pre> | ||
No parameters | No parameters — always renders the same fixed list of every continent and world. Transcluded automatically at the bottom of [[Template:Infobox world]], so it doesn't normally need to be added to a page directly. Built on [[Template:Navbox]] for the shared wrapper/divider/label styling — see there for the wiki's common navbox look, plus its own styles.css that sits the PvP Isles and Worlds groups side by side under Continents. On a continent's or world's own page, that page's own link self-bolds rather than linking to itself, the same as any other wikilink to the current page. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:19, 23 August 2026
Usage
{{Navbox worlds}}
No parameters — always renders the same fixed list of every continent and world. Transcluded automatically at the bottom of Template:Infobox world, so it doesn't normally need to be added to a page directly. Built on Template:Navbox for the shared wrapper/divider/label styling — see there for the wiki's common navbox look, plus its own styles.css that sits the PvP Isles and Worlds groups side by side under Continents. On a continent's or world's own page, that page's own link self-bolds rather than linking to itself, the same as any other wikilink to the current page.