Difference between revisions of "LocationInfoBox"
m (Missing full stop) |
(Added parent location type) |
||
Line 20: | Line 20: | ||
{{#if: {{{parentLocation|}}}| | {{#if: {{{parentLocation|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow" style="padding: 10px;"><b> | + | <td class="infoboxtd1strow" style="padding: 10px;"><b>{{{parentLocationType}}}</b>:</td> |
<td>[[{{{parentLocation}}}]]</td> | <td>[[{{{parentLocation}}}]]</td> | ||
</tr> | </tr> | ||
Line 84: | Line 84: | ||
"label": "Extra content", | "label": "Extra content", | ||
"description": "Additional content" | "description": "Additional content" | ||
+ | }, | ||
+ | "parentLocationType": { | ||
+ | "label": "Parent Location Type", | ||
+ | "description": "The type of parent location", | ||
+ | "example": "State, Province etc." | ||
} | } | ||
}, | }, | ||
Line 93: | Line 98: | ||
"demonym", | "demonym", | ||
"parentLocation", | "parentLocation", | ||
− | "extraContent" | + | "extraContent", |
+ | "parentLocationType" | ||
], | ], | ||
"description": "This location info box template is used by the more specific types of location, so that they all keep a consistent style. This contains the fields that every location should have." | "description": "This location info box template is used by the more specific types of location, so that they all keep a consistent style. This contains the fields that every location should have." |
Revision as of 21:00, 17 September 2020
A Test location | |
---|---|
Population: | 6969 |
{{{parentLocationType}}}: | A Parent Location |
Associated Group(s): | Some Group |
The extra content | This is used by other templates to add stuff in here |
This location info box template is used by the more specific types of location, so that they all keep a consistent style. This contains the fields that every location should have.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Page title, usually the common name for the location
| String | required |
Image | image | An image, could be a map or a picutre of the location | File | suggested |
Population | population | The number of people in the location
| String | required |
Group | group | Any groups the area is aligned or associated with with
| Page | optional |
Demonym | demonym | The name to describe the people from this location
| Page | suggested |
Parent Location | parentLocation | The location that this location is within
| Page | suggested |
Extra content | extraContent | Additional content | Unknown | optional |
Parent Location Type | parentLocationType | The type of parent location
| Unknown | optional |