Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox world: Difference between revisions

Template page
m Bake in __NOTOC__ for continent/world pages
m Drop now-redundant nolink=yes -- Template:Icon renders bare by default now, see its own updated documentation
Line 13: Line 13:
|type=Continent
|type=Continent
|headerimage=Ascalon Landscape.png
|headerimage=Ascalon Landscape.png
|titleicon={{Icon|Ascalon|nolink=yes}}
|titleicon={{Icon|Ascalon}}
|knownfor=Leather, honey
|knownfor=Leather, honey
|biomes=9
|biomes=9
Line 38: Line 38:
|-
|-
| <code>titleicon</code>
| <code>titleicon</code>
| Optional wikitext (usually an <code><nowiki>{{Icon|...|nolink=yes}}</nowiki></code> call) appended after the title, for the continent's own shield icon.
| Optional wikitext (usually an <code><nowiki>{{Icon|...}}</nowiki></code> call) appended after the title, for the continent's own shield icon.
|-
|-
| <code>knownfor</code>
| <code>knownfor</code>

Revision as of 11:36, 23 August 2026

Usage

{{Infobox world
|name=Ascalon
|type=Continent
|headerimage=Ascalon Landscape.png
|titleicon={{Icon|Ascalon}}
|knownfor=Leather, honey
|biomes=9
|map=https://lokamc.com/map?c=ascalon
}}

Only name is required (it otherwise defaults to the page name); every other row is hidden when omitted. For a continent's or dimension's own article (e.g. Ascalon, The Nether) -- article prose (geography, notable locations, towns) belongs below the infobox as normal, or can be passed as content to render inside the box itself alongside the other rows. Template:Navbox worlds is included automatically at the bottom of every infobox -- no parameter for it, and no need to add it separately.

Parameters

Parameter Description
name Continent/world name. Defaults to the page name.
type Shown as the ribbon under the name. Defaults to Continent -- set to World for a dimension like The End or the Nether.
headerimage Filename of a landscape image uploaded to the wiki (no File: prefix), shown as a full-bleed photo banner across the top of the box -- see Template:Infobox for how this behaves.
titleicon Optional wikitext (usually an {{Icon|...}} call) appended after the title, for the continent's own shield icon.
knownfor Short list of what the continent is known for producing (e.g. Leather, honey).
biomes Number of biomes found on the continent.
map Full URL to this continent's page on the in-game world map (e.g. https://lokamc.com/map?c=ascalon). Shown as a "View Map" link. Not every place using this template has one.
content Optional extra pre-rendered wikitext rows, appended after the ones above, inside the box itself.