Difference between revisions of "LocationInfoBox"
(Changed factions to groups and removed ruling organisation) |
(Added extra content field) |
||
Line 27: | Line 27: | ||
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{group|}}}| |
<tr> | <tr> | ||
− | <td class="infoboxtd1strow" style="padding: 10px;"><b> | + | <td class="infoboxtd1strow" style="padding: 10px;"><b>Associated Group(s)</b>:</td> |
− | <td>[[{{{ | + | <td>[[{{{group}}}]]</td> |
</tr> | </tr> | ||
+ | }} | ||
+ | {{#if: {{{extraContent|}}}| | ||
+ | {{{extraContent}}} | ||
}} | }} | ||
</table> | </table> | ||
Line 80: | Line 83: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true | ||
+ | }, | ||
+ | "extraContent": { | ||
+ | "label": "Extra content", | ||
+ | "description": "Additional content" | ||
} | } | ||
}, | }, | ||
Line 88: | Line 95: | ||
"group", | "group", | ||
"demonym", | "demonym", | ||
− | "parentLocation" | + | "parentLocation", |
+ | "extraContent" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 14:53, 13 September 2020
{{{title}}} |
---|
PC info
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 |