Difference between revisions of "Template:Infobox country"

From PCBWiki
Jump to navigation Jump to search
(Undo revision 3131 by Tomicalover (talk))
 
(8 intermediate revisions by the same user not shown)
Line 17: Line 17:


| label7    = Motto
| label7    = Motto
| data7    = {{#if:{{{motto|}}}{{{motto|}}}
| data7    = {{{Motto|{{{motto|}}}}}}
    |<div style="line-height:1.2em;">'''Motto:&nbsp;'''{{if empty|{{{motto|}}}|{{{motto|}}}}}<!--
          -->{{#if:{{{motto|}}}|<br/><div style="display:inline"">{{{motto}}}</div> }}</div>
    }}
 


| label8    = Official languages
| label8    = Official languages
| data8    = {{{Official languages|{{{official languages|}}}}}}
| data8    = {{{Official languages|{{{official languages|}}}}}}


| label9    = Population
| label9   = Government
| data9    = {{{Population|{{{population|}}}}}}
| data9   = {{{Government|{{{government|}}}}}}
 
| label10  = Population
| data10    = {{{Population|{{{population|}}}}}}
 
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
Line 57: 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 68: Line 65:
"motto": {},
"motto": {},
"official languages": {},
"official languages": {},
"population": {}
"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