Difference between revisions of "StateInfobox"
m (Demo fix) |
m (Spacing) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{LocationInfoBox|title={{{title|}}}|image={{{image}}}|population={{{population|}}}|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent={{#if: {{{faction|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Ruling Faction</b>:</td><td>{{{faction}}}</td></tr>}}{{#if: {{{capital|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Capital City</b>:</td><td>{{{capital}}}</td></tr>}}{{#if: {{{status|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Current Status</b>:</td><td>{{{status}}}</td></tr>}}{{#if: {{{territories|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Territories</b>:</td><td>{{{territories}}}</td></tr>}}}}</includeonly><noinclude>{{StateInfobox|title=Test State|image=byAllah.jpg|population=6969|parentLocation=Some continent|group=Some Group|faction=Some Faction|capital=The Capital|status=At war with Test State 2|territories=Some list of territories}}<templatedata>{"params": {"image": {"label": "Image","description": "An image, could be a map or a picture of the city","type": "wiki-file-name"},"population": {"label": "Population","description": "The number of people in the city","example": "31000","type": "number","required": true},"parentLocation": {"label": "Parent Location","description": "The location that this location is within","type": "wiki-page-name"},"demonym": {"label": "Demonym","description": "The name to describe the people from this city","example": "Rathirian","type": "string"},"districts": {"label": "Districts","description": "The districts of the city","type": "content"},"title": {"label": "Title","description": "The name of the location"},"group": {},"faction": {},"capital": {"label": "Capital City (or town)","description": "The Capital of the state. If there’s only one City, i.e. Alabastra, or one town, i.e. Glendara, just put that","example": "Tala Rane","type": "wiki-page-name","required": true},"status": {"label": "Current Status","example": "At peace, at war, occupied etc.","required": true},"territories": {"label": "Locations or territories","description": "Provinces, other territories if needed","type": "string"}},"paramOrder": ["image","population","parentLocation","demonym","districts","title","group","faction","capital","status","territories"],"description": "Shows information about a state"}</templatedata></noinclude> |
− | {{LocationInfoBox|title={{{title|}}}|image={{{image}}}|population={{{population|}}}|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </includeonly> | ||
− | <noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <templatedata> | ||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </templatedata> | ||
− | </noinclude> |
Latest revision as of 18:56, 28 November 2020
Test State | |
---|---|
Population: | 6969 |
Located in: | Some continent |
Associated Group(s): | Some Group |
Ruling Faction: | Some Faction |
Capital City: | The Capital |
Current Status: | At war with Test State 2 |
Territories: | Some list of territories |
Shows information about a state
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | An image, could be a map or a picture of the city | File | optional |
Population | population | The number of people in the city
| Number | required |
Parent Location | parentLocation | The location that this location is within | Page | optional |
Demonym | demonym | The name to describe the people from this city
| String | optional |
Districts | districts | The districts of the city | Content | optional |
Title | title | The name of the location | Unknown | optional |
Group | group | no description | Unknown | optional |
Faction | faction | no description | Unknown | optional |
Capital City (or town) | capital | The Capital of the state. If there’s only one City, i.e. Alabastra, or one town, i.e. Glendara, just put that
| Page | required |
Current Status | status | no description
| Unknown | required |
Locations or territories | territories | Provinces, other territories if needed | String | optional |