Difference between revisions of "Template:Infobox country"

From PCBWiki
Jump to navigation Jump to search
(Created page with "{{Infobox | title = {{{Name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} | image = {{#if:{{{screenshot|}}}|File:{{{screenshot}}}|250px|center|alt={{{scr...")
 
(Undo revision 3131 by Tomicalover (talk))
 
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:
| image    = {{#if:{{{screenshot|}}}|[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]}}
| image    = {{#if:{{{screenshot|}}}|[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]}}
| caption  = {{{Caption|{{{caption|}}}}}}
| caption  = {{{Caption|{{{caption|}}}}}}
| label3    = Founder
| label3    = Founder
| data3    = {{{Founder|{{{founder|}}}}}}
| data3    = {{{Founder|{{{founder|}}}}}}
| label4    = Map
| label4    = Map
| data4    = {{{Map|{{{map|}}}}}}
| data4    = {{{Map|{{{map|}}}}}}
| label5    = Warp
| label5    = Warp
| data5    = {{{Warp|{{{warp|}}}}}}
| data5    = {{{Warp|{{{warp|}}}}}}
| label6    = Theme
| label6    = Theme
| data6    = {{{Theme|{{{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>
}}<noinclude>
{{Documentation}}
{{Documentation}}
Line 18: Line 35:
"name": {
"name": {
"type": "string",
"type": "string",
"required": true
"suggested": true
},
},
"screenshot": {
"screenshot": {
Line 40: Line 57:
"map": {
"map": {
"description": "The map this town is/was on, it should be linked",
"description": "The map this town is/was on, it should be linked",
"required": true
"example": "Creative 1.12"
},
"warp": {
"description": "The name of the town's warp"
},
},
"theme": {
"theme": {
Line 49: Line 63:
"example": "Modern"
"example": "Modern"
},
},
"Motto": {},
"motto": {},
"Official languages": {}
"official languages": {},
"population": {},
"government": {}
},
},
"description": "Infobox for a town or city"
"description": "Infobox for a country"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 19:01, 17 October 2019

Template documentation[create]

Infobox for a country

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Stringsuggested
screenshotscreenshot

The filename WITHOUT the file prefix

Example
Town Hall.png
Filesuggested
screenshot_altscreenshot_alt

no description

Default
Description of the image
Unknownsuggested
captioncaption

no description

Default
The caption for the image
Unknownsuggested
founderfounder

The player(s) who founded the town

Unknownsuggested
mapmap

The map this town is/was on, it should be linked

Example
Creative 1.12
Unknownoptional
themetheme

The theme of the town, if it has one

Example
Modern
Unknownoptional
mottomotto

no description

Unknownoptional
official languagesofficial languages

no description

Unknownoptional
populationpopulation

no description

Unknownoptional
governmentgovernment

no description

Unknownoptional