Template:CityInfo/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} ==Usage== * <big><code><nowiki>{{CityInfo|CityName|CityPop|CityGov|CityRace|CityClass|CityLang|CityAlign}}</nowiki></code></big> ==Template Data==...") |
No edit summary |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
* <big><code><nowiki>{{CityInfo|CityName|CityPop|CityGov|CityRace|CityClass|CityLang|CityAlign}}</nowiki></code></big> | * <big><code><nowiki>{{CityInfo|CityMap|CityName|CityPop|CityGov|CityRace|CityClass|CityLang|CityAlign}}</nowiki></code></big> | ||
==Template Data== | ==Template Data== | ||
Line 18: | Line 18: | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "CityMap", | |||
"description": "A map of the city", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"3": { | |||
"label": "CityPop", | "label": "CityPop", | ||
"description": "The city's population", | "description": "The city's population", | ||
Line 23: | Line 29: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "4": { | ||
"label": "CityGov", | "label": "CityGov", | ||
"description": "The city's governing body", | "description": "The city's governing body", | ||
Line 29: | Line 35: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "5": { | ||
"label": "CityRace", | "label": "CityRace", | ||
"description": "The primary ruling race of the city", | "description": "The primary ruling race of the city", | ||
Line 35: | Line 41: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "6": { | ||
"label": "CityClass", | "label": "CityClass", | ||
"description": "Common classes found within the city", | "description": "Common classes found within the city", | ||
Line 41: | Line 47: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "7": { | ||
"label": "CityLang", | "label": "CityLang", | ||
"description": "The primary language used within the city", | "description": "The primary language used within the city", | ||
Line 47: | Line 53: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "8": { | ||
"label": "CityAlign", | "label": "CityAlign", | ||
"description": "The majority alignment within the city", | "description": "The majority alignment within the city", |
Latest revision as of 23:07, 23 November 2019
Usage
{{CityInfo|CityMap|CityName|CityPop|CityGov|CityRace|CityClass|CityLang|CityAlign}}
Template Data
A template for the floating city info box.
Parameter | Description | Type | Status | |
---|---|---|---|---|
CityName | 1 | The city's name | String | required |
CityMap | 2 | A map of the city | String | optional |
CityPop | 3 | The city's population | String | optional |
CityGov | 4 | The city's governing body | String | optional |
CityRace | 5 | The primary ruling race of the city | String | optional |
CityClass | 6 | Common classes found within the city | String | optional |
CityLang | 7 | The primary language used within the city | String | optional |
CityAlign | 8 | The majority alignment within the city | String | optional |