Template:Infobox location: Difference between revisions
Appearance
world-archivist: create Infobox location template |
fix: use {{!}} to escape pipes inside #if blocks so optional rows render |
||
| Line 45: | Line 45: | ||
| style="width:40%; color:#888;" | '''World''' | | style="width:40%; color:#888;" | '''World''' | ||
| [[{{{world|}}}]] | | [[{{{world|}}}]] | ||
{{#if:{{{coords|}}}|{{!}}- | |||
{{#if:{{{coords|}}}| | {{!}} style="color:#888;" {{!}} '''Coords''' | ||
{{!}} {{{coords|}}}}} | |||
{{#if:{{{region|}}}|{{!}}- | |||
{{!}} style="color:#888;" {{!}} '''Region''' | |||
}}{{#if:{{{region|}}}| | {{!}} <code>{{{region|}}}</code>}} | ||
{{#if:{{{builder|}}}|{{!}}- | |||
{{!}} style="color:#888;" {{!}} '''Builder''' | |||
{{!}} {{{builder|}}}}} | |||
}}{{#if:{{{builder|}}}| | {{#if:{{{era|}}}|{{!}}- | ||
{{!}} style="color:#888;" {{!}} '''Era''' | |||
{{!}} {{{era|}}}}} | |||
|}</includeonly> | |||
}}{{#if:{{{era|}}}| | |||
}}|}</includeonly> | |||
Latest revision as of 02:01, 19 June 2026
Infobox location[edit]
Standard infobox for cities, districts, and landmarks in Ravenkraft worlds.
Parameters[edit]
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Location name (defaults to page name) |
world |
Yes | World name (e.g. Bankrekka, Zothique, Alpha Centauri) |
coords |
Yes | Overworld X, Y, Z coordinates |
region |
No | Anvil region file (e.g. r.-2.0) |
type |
Yes | City · District · Capital · Landmark · Ruin · Outpost |
builder |
No | Primary builder(s) — player name(s) |
era |
No | Approximate build era or date range |
status |
No | Active · Abandoned · Under construction |
Usage[edit]
{{Infobox location
| name = Ravenport
| world = Bankrekka
| coords = -730, 64, 120
| region = r.-2.0
| type = Capital
| builder = wizardofire
| era = 2022–present
| status = Active
}}