Jump to content

Template:Infobox location: Difference between revisions

From Elysium D&D
Undid revision 512 by Erfxploded (talk)
Tag: Undo
No edit summary
Tag: Manual revert
Line 18: Line 18:
{{#if:{{{faction|}}}{{{species|}}}{{{population|}}}|
{{#if:{{{faction|}}}{{{species|}}}{{{population|}}}|
{{!}}-
{{!}}-
! colspan="4" {{!}} Inhabitants}}
! colspan="4" {{!}} Inhabitants
}}
{{#if:{{{faction|}}}|
{{#if:{{{faction|}}}|
{{!}}-
{{!}}-

Revision as of 22:41, 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
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|]]
| species = Humans, elves, dwarves, warforged
| campaign =[[Heart of Gold]]
| status = burning as we speak
| nocat = 1
}}