The PCB wiki has now been archived and is read-only. |
Difference between revisions of "Template:Infobox country"
Jump to navigation
Jump to search
Tomicalover (talk | contribs) |
Tomicalover (talk | contribs) (Undo revision 3131 by Tomicalover (talk)) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Infobox | ||
| | | title = {{{Name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} | ||
| image = {{#if:{{{screenshot|}}}|[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]}} | |||
| caption = {{{Caption|{{{caption|}}}}}} | |||
| | | label3 = Founder | ||
| data3 = {{{Founder|{{{founder|}}}}}} | |||
| | | label4 = Map | ||
| data4 = {{{Map|{{{map|}}}}}} | |||
| | | label5 = Warp | ||
| data5 = {{{Warp|{{{warp|}}}}}} | |||
| | | label6 = Theme | ||
| data6 = {{{Theme|{{{theme|}}}}}} | |||
| | | label7 = Motto | ||
| | | data7 = {{{Motto|{{{motto|}}}}}} | ||
| | | label8 = Official languages | ||
| data8 = {{{Official languages|{{{official languages|}}}}}} | |||
| | | label9 = Government | ||
| data9 = {{{Government|{{{government|}}}}}} | |||
| | | label10 = Population | ||
| data10 = {{{Population|{{{population|}}}}}} | |||
}}<noinclude> | |||
{{Documentation}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"screenshot": { | |||
"description": "The filename WITHOUT the file prefix", | |||
"example": "Town Hall.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"screenshot_alt": { | |||
"default": "Description of the image", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"default": "The caption for the image", | |||
"suggested": true | |||
}, | |||
"founder": { | |||
"description": "The player(s) who founded the town", | |||
"suggested": true | |||
}, | |||
"map": { | |||
"description": "The map this town is/was on, it should be linked", | |||
"example": "Creative 1.12" | |||
}, | |||
"theme": { | |||
"description": "The theme of the town, if it has one", | |||
"example": "Modern" | |||
}, | |||
"motto": {}, | |||
"official languages": {}, | |||
"population": {}, | |||
"government": {} | |||
}, | |||
"description": "Infobox for a country" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 19:01, 17 October 2019
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Infobox for a country
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | suggested |
screenshot | screenshot | The filename WITHOUT the file prefix
| File | suggested |
screenshot_alt | screenshot_alt | no description
| Unknown | suggested |
caption | caption | no description
| Unknown | suggested |
founder | founder | The player(s) who founded the town | Unknown | suggested |
map | map | The map this town is/was on, it should be linked
| Unknown | optional |
theme | theme | The theme of the town, if it has one
| Unknown | optional |
motto | motto | no description | Unknown | optional |
official languages | official languages | no description | Unknown | optional |
population | population | no description | Unknown | optional |
government | government | no description | Unknown | optional |