Template:Location/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(update documentation with "terrain" parameter)
m (wording)
 
Line 8: Line 8:
! faction
! faction
| faction the location is associated with.
| faction the location is associated with.
| string (the template will autolink to the page)
|-
! biome
| the biome the location is in.
| string (the template will autolink to the page)
| string (the template will autolink to the page)
|-
|-
Line 17: Line 13:
| "yes" if this is a type of world map terrain. No by default.
| "yes" if this is a type of world map terrain. No by default.
| boolean
| boolean
|-
! biome
| the type of parent [[:Category:Terrain|terrain]] that the location is located in.
| string (the template will autolink to the page)
|-
|-
! leader
! leader

Latest revision as of 16:01, 27 December 2021

Template-info.png Documentation

Arguments

title title. defaults to page name string
faction faction the location is associated with. string (the template will autolink to the page)
terrain "yes" if this is a type of world map terrain. No by default. boolean
biome the type of parent terrain that the location is located in. string (the template will autolink to the page)
leader the leader of the place string (the template will autolink to the page)
floors how deep in strata the bottom is. reserved for the more vertically inclined locations. integer

Usage Example

{{Location
| title = Joppa
| image = ovw_joppa.png
| faction = Villagers of Joppa
| biome = Salt Marsh
| terrain = no
| leader = Elder Irudad
| desc = Ants in the viridian chaff, the farmers sap the last drops of pristine moisture out of the salt-spangled earth.
| gotoid = JoppaWorld.11.22.1.1.10
}}