Difference between revisions of "Template:Infobox Town"

Jump to navigation Jump to search
Made caption suggested
(Created Infobox)
 
(Made caption suggested)
 
(23 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    = {{#if:{{{screenshot|}}}|[[File:{{{screenshot}}}|250px|center|alt={{{screenshot_alt}}}]]}}
| subheader = {{{other_names|}}}
| caption = {{{Caption|{{{caption|}}}}}}
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{Emblem|{{{emblem|}}}}}}|sizedefault=50px|alt={{{emblem_alt|}}}}}
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|{{{image|}}}}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| caption2 = {{{Caption|{{{caption|}}}}}}
 
| label2    = Founded
| data2    = {{{Founded|{{{founded|}}}}}}
| label3    = Founder
| label3    = Founder
| data3    = {{{Founder|{{{founder|}}}}}}
| data3    = {{{Founder|{{{founder|}}}}}}
Line 17: 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