Template:Infobox world: Difference between revisions
Template page
More actions
m Drop now-redundant nolink=yes -- Template:Icon renders bare by default now, see its own updated documentation |
m Replace reader-visible prose double hyphens with a proper em dash entity |
||
| Line 20: | Line 20: | ||
</pre> | </pre> | ||
Only <code>name</code> 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]]) | Only <code>name</code> 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 <code>content</code> 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 == | == Parameters == | ||
| Line 32: | Line 32: | ||
|- | |- | ||
| <code>type</code> | | <code>type</code> | ||
| Shown as the ribbon under the name. Defaults to <code>Continent</code> | | Shown as the ribbon under the name. Defaults to <code>Continent</code> — set to <code>World</code> for a dimension like The End or the Nether. | ||
|- | |- | ||
| <code>headerimage</code> | | <code>headerimage</code> | ||
| Filename of a landscape image uploaded to the wiki (no <code>File:</code> prefix), shown as a full-bleed photo banner across the top of the box | | Filename of a landscape image uploaded to the wiki (no <code>File:</code> prefix), shown as a full-bleed photo banner across the top of the box — see [[Template:Infobox]] for how this behaves. | ||
|- | |- | ||
| <code>titleicon</code> | | <code>titleicon</code> | ||
Latest revision as of 14:17, 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. |