Template:Navbox worlds: Difference between revisions
Template page
More actions
m Split PvP Isles out of Continents; move title icon before the name |
m Put PvP Isles and Worlds side by side in their own row, under Continents |
||
| 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 Isles</span><span class="loka-navbox-links">[[Balak]] • [[Rivina]] • [[Zyre]]</span></div><div class="loka-navbox-group"><span class="loka-navbox-title">Worlds</span><span class="loka-navbox-links">[[The End]] • [[The Nether]]</span></div> | |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">PvP Isles</span><span class="loka-navbox-links">[[Balak]] • [[Rivina]] • [[Zyre]]</span></div><div class="loka-navbox-group"><span class="loka-navbox-title">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 -- 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. 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. | 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> | ||
Revision as of 10: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.