Difference between revisions of "Template:Infobox Town"

From PCBWiki
Jump to navigation Jump to search
(Added descriptions)
(Made caption suggested)
 
Line 30: Line 30:
"suggested": true
"suggested": true
},
},
"caption": {},
"caption": {
"default": "The caption for the image",
"suggested": true
},
"founder": {
"founder": {
"description": "The player(s) who founded the town",
"description": "The player(s) who founded the town",

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