Jump to content

Template:Infobox location: Difference between revisions

From Elysium D&D
No edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 34: Line 34:
! colspan="2" {{!}} Population
! colspan="2" {{!}} Population
{{!}} colspan="2" {{!}} {{{population}}}
{{!}} colspan="2" {{!}} {{{population}}}
}}
{{#if:{{{campaign|}}}{{{status|}}}|
{{!}}-
! colspan="4" {{!}} Meta
}}
}}
{{#if:{{{campaign|}}}|
{{#if:{{{campaign|}}}|
Line 65: Line 69:
| region = The Sword Coast, Faerun
| region = The Sword Coast, Faerun
| population = 3,000,000
| population = 3,000,000
| faction = [[Zhentarim|Zhentarim]], [[Order of the Gauntlet|Order of the Gauntlet]]
| faction = [[Zhentarim|Zhentarim]], [[Order of the Gauntlet|Order of the Gauntlet]], [[Flaming Fist|Flaming Fist]]
| species = Humans, elves, dwarves, warforged
| species = Humans, elves, dwarves, warforged
| campaign =[[Heart of Gold]]
| campaign =[[Heart of Gold]]
Line 77: Line 81:
| region = The Sword Coast, Faerun
| region = The Sword Coast, Faerun
| population = 3,000,000
| population = 3,000,000
| faction = [[Zhentarim|]], [[Order of the Gauntlet|]]
| faction = [[Zhentarim|]], [[Order of the Gauntlet|]], [[Flaming Fist]]
| species = Humans, elves, dwarves, warforged
| species = Humans, elves, dwarves, warforged
| campaign =[[Heart of Gold]]
| campaign =[[Heart of Gold]]
| status = burning as we speak
| status = Burning as we speak
| nocat = 1
| nocat = 1
}}
}}

Latest revision as of 22:46, 10 August 2026

Character infobox.

Base variables: name, image, image_caption, type, region.

Inhabitants variables: faction, species, population.

Meta variables: campaign, status.

Function variables: nocat.

The Locations category is added whenever the template is used. If nocat is set (e.g. |nocat=1), no category is added.

Example

Baldur's Gate
Type City
Region The Sword Coast, Faerun
Inhabitants
Factions Zhentarim, Order of the Gauntlet, Flaming Fist
Species Humans, elves, dwarves, warforged
Population 3,000,000
Meta
Campaign Heart of Gold
Status Burning as we speak
{{Infobox_location
| name = Baldur's Gate
| type = City
| region = The Sword Coast, Faerun
| population = 3,000,000
| faction = [[Zhentarim|]], [[Order of the Gauntlet|]], [[Flaming Fist]]
| species = Humans, elves, dwarves, warforged
| campaign =[[Heart of Gold]]
| status = Burning as we speak
| nocat = 1
}}