Difference between revisions of "Template:Infobox Town"

From PCBWiki
Jump to navigation Jump to search
(Made caption suggested)
 
(7 intermediate revisions by 2 users not shown)
Line 11: Line 11:
| label6    = Theme
| label6    = Theme
| data6    = {{{Theme|{{{theme|}}}}}}
| data6    = {{{Theme|{{{theme|}}}}}}
| label7    = Coordinates
| data7    = {{Coordinates|X={{{X}}}|Y={{{Y}}}|Z={{{Z}}}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Infobox templates]]</noinclude>
<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"
}
},
"description": "Infobox for a town or city"
}
</templatedata>
</noinclude>

Latest revision as of 16:34, 3 April 2018

Template documentation[view] [edit] [history] [purge]

Usage

{{{title}}}
[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]
{{{caption}}}
Founder {{{founder}}}
Map {{{map}}}
Warp {{{warp}}}
Theme {{{theme}}}
{{Infobox Town
| name                  =
| screenshot            =
| screenshot_alt        = 
| caption               = 
| founder               =
| map                   = 
| warp                  = 
| theme                 =
}}

Infobox for a town or city

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Stringrequired
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

Unknownrequired
warpwarp

The name of the town's warp

Unknownoptional
themetheme

The theme of the town, if it has one

Example
Modern
Unknownoptional