Difference between revisions of "Template:Infobox Town"

Jump to navigation Jump to search
Made caption suggested
(Changed size to previous size)
(Made caption suggested)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| title    = {{{Name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}
| title    = {{{Name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{Screenshot|{{{screenshot|}}}}}}|sizedefault=250px|alt={{{screenshot_alt|}}}}}
| image    = {{#if:{{{screenshot|}}}|[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]}}
| caption  = {{{Caption|{{{caption|}}}}}}
| caption  = {{{Caption|{{{caption|}}}}}}
| label3    = Founder
| label3    = Founder
Line 9: Line 9:
| label5    = Warp
| label5    = Warp
| data5    = {{{Warp|{{{warp|}}}}}}
| data5    = {{{Warp|{{{warp|}}}}}}
| label6    = Theme
| data6    = {{{Theme|{{{theme|}}}}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}</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"
}
},
"description": "Infobox for a town or city"
}
</templatedata>
</noinclude>

Navigation menu