Template:Location: Difference between revisions
Jump to navigation
Jump to search
(added cargo declare) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=Locations|Factions=Page|Biome=Page|Leader=Page|Description=String|TotalFloors=Integer}}</noinclude> | <noinclude>{{#cargo_declare:_table=Locations|Factions=Page|Biome=Page|Leader=Page|Description=String|TotalFloors=Integer}}</noinclude> | ||
<includeonly>{{#cargo_store:_table=Locations|Factions={{{faction|}}}|Biome={{{biome|}}}|Leader={{{leader|}}}|Description={{{desc|}}}|TotalFloors={{{floors|}}}}} | <includeonly>{{#cargo_store:_table=Locations|Factions={{{faction|}}}|Biome={{{biome|}}}|Leader={{{leader|}}}|Description={{{desc|}}}|TotalFloors={{{floors|}}}}} | ||
[[Category:Locations]] | [[Category:Locations]] | ||
{{#invoke:infobox|infobox | {{#invoke:infobox|infobox |
Revision as of 02:07, 14 July 2019
This template defines the table "Locations". View table.
Documentation
[purge]
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 }}