Difference between revisions of "ContinentInfoBox"
m (Added states to demo) |
(Spacing) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{LocationInfoBox|title={{{title|}}}|image={{{image}}}|population={{{population|}}}|group={{{group|}}}|extraContent= {{#if: {{{states|}}}| <tr> <td class="infoboxtd1strow" style="padding: 10px;"><b>States</b>:</td> <td>{{{states}}}</td> </tr> }}}}</includeonly><noinclude>{{ContinentInfoBox|title=A Test Continent|image=byAllah.jpg|population=6969|states=[[State 1]] [[State 2]]|group=Some Group|demonym=Chads}}<templatedata>{"params": {"image": {"label": "Image","description": "An image, could be a map or some image representing the continent","type": "wiki-file-name"},"population": {"label": "Population","description": "The number of people in the continent","example": "31000","type": "number","required": true},"demonym": {"label": "Demonym","description": "The name to describe the people from this continent","example": "Rathirian","type": "string"},"title": {"label": "Title","description": "The name of the continent"},"group": {"label": "Groups","description": "The list of associated groups","example": "Templar Order","type": "string"},"states": {"label": "States","description": "The list of states","example": "Federation of Rathir","type": "string","required": true}},"description": "The continent info box template shows as follows"}</templatedata></noinclude> |
− | {{LocationInfoBox|title={{{title|}}}|image={{{image}}}|population={{{population|}}}|group={{{group|}}}|extraContent= | ||
− | |||
− | <tr> | ||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </includeonly> | ||
− | <noinclude> | ||
− | {{ContinentInfoBox|title=A Test Continent|image=byAllah.jpg|population=6969|states=[[State 1]] [[State 2]]|group=Some Group|demonym=Chads}} | ||
− | <templatedata> | ||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </templatedata> | ||
− | </noinclude> |
Latest revision as of 18:55, 28 November 2020
The continent info box template shows as follows
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | An image, could be a map or some image representing the continent | File | optional |
Population | population | The number of people in the continent
| Number | required |
Demonym | demonym | The name to describe the people from this continent
| String | optional |
Title | title | The name of the continent | Unknown | optional |
Groups | group | The list of associated groups
| String | optional |
States | states | The list of states
| String | required |