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 3109 by Tomicalover (talk)) |
||
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 | |||
{{#if:{{{ | | 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|}}}}}} | |||
}}<noinclude> | |||
{{Documentation}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"type": "string", | |||
| | "required": 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", | |||
"required": true | |||
}, | |||
"warp": { | |||
"description": "The name of the town's warp" | |||
}, | |||
"theme": { | |||
"description": "The theme of the town, if it has one", | |||
"example": "Modern" | |||
}, | |||
"motto": {}, | |||
"official_languages": {} | |||
}, | |||
"description": "Infobox for a town or city" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Revision as of 18:31, 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 town or city
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | String | required |
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 | required |
warp | warp | The name of the town's warp | 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 |