Template:Location: Difference between revisions
Jump to navigation
Jump to search
(cargostoring gotoid) |
(JoinKey) |
||
Line 5: | Line 5: | ||
|Description=String | |Description=String | ||
|TotalFloors=Integer | |TotalFloors=Integer | ||
|GotoID=Wikitext}}<!-- | |GotoID=Wikitext | ||
|JoinKey=String}}<!-- | |||
-->{{#cargo_attach:_table=GeneralData}} | -->{{#cargo_attach:_table=GeneralData}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Locations | </noinclude><includeonly>{{#cargo_store:_table=Locations | ||
Line 14: | Line 15: | ||
|TotalFloors={{{floors|}}} | |TotalFloors={{{floors|}}} | ||
|GotoID={{{gotoid|}}} | |GotoID={{{gotoid|}}} | ||
|JoinKey={{FULLPAGENAME}} | |||
}}<!-- | }}<!-- | ||
Line 22: | Line 24: | ||
|Image={{#ifeq: {{{image|}}}| none ||{{{image}}}}} | |Image={{#ifeq: {{{image|}}}| none ||{{{image}}}}} | ||
|PlainName={{StripFormatting|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }} | |PlainName={{StripFormatting|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }} | ||
|DisplayChar= {{qud char|&y|•}} }}[[Category:Locations]]<!-- | |DisplayChar= {{qud char|&y|•}} | ||
|JoinKey={{FULLPAGENAME}} }}[[Category:Locations]]<!-- | |||
INFOBOX START | INFOBOX START |
Revision as of 02:25, 16 December 2019
This template defines the table "Locations". View table.This template adds rows to the table "GeneralData", which is declared by the template General data table. 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 }}