Difference between revisions of "LocationInfoBox"
m (Changed map to frameless) |
m (Changed map to image) |
||
Line 4: | Line 4: | ||
<th class="infobox-title" colspan="2" style="text-align: center; padding-top: 12px;"><b>{{{title}}}</b></th> | <th class="infobox-title" colspan="2" style="text-align: center; padding-top: 12px;"><b>{{{title}}}</b></th> | ||
</tr> | </tr> | ||
− | {{#if: {{{ | + | {{#if: {{{image|}}}| |
<tr> | <tr> | ||
− | <td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{ | + | <td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px]]</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 72: | Line 72: | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
− | " | + | "image": { |
− | "label": " | + | "label": "Image", |
− | "description": " | + | "description": "An image, could be a map or a picutre of the location", |
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
Line 110: | Line 110: | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | "title", | ||
− | " | + | "image", |
"name", | "name", | ||
"population", | "population", |
Revision as of 14:40, 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 |
Full Name | name | Full Name of the location
| String | required |
Population | population | The number of people in the location
| String | required |
Faction | faction | Any factions the area is aligned with
| Page | optional |
Demonym | demonym | The name to describe the people from this location
| Page | suggested |
Ruling Organisation | ruler | The ruling organisation of the location
| Page | suggested |
Parent Location | parentLocation | The location that this location is within
| Page | suggested |