Template:InfoboxCity: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> <templatedata> { "params": { "kingdom": { "type": "string", "autovalue": "kingdom" }, "image": { "type": "wiki-file-name", "autovalue": "", "default": "default.png" }, "name": { "type": "string", "suggestedvalues": [ "title" ] }, "title": {} }, "description": "A box for cities", "paramOrder": [ "name", "image", "title", "kingdom" ], "format": "block" } </templatedata> </noinclude> <div style=" float:...") |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<templatedata> | == TemplateData == | ||
{ | <templatedata> | ||
{ | |||
"description": "An area infobox. Can be used for dungeons, fields, etc.", | |||
"params": { | "params": { | ||
" | "Representative": { | ||
" | "label": "Representative", | ||
" | "description": "Any Representative", | ||
"example": "Mayor Bikke", | |||
"type": "string" | |||
}, | }, | ||
" | "Nation": { | ||
" | "label": "Nation", | ||
" | "description": "Which nation this settlement is in.", | ||
" | "type": "string" | ||
}, | }, | ||
" | "title": { | ||
"label": "title", | |||
"description": "What this town is known for, etc", | |||
"default": "x", | |||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
" | "areaname": { | ||
"label": "Area Name", | |||
"description": "The Name of the Area", | |||
"example": "Prontera Culverts", | |||
"type": "string" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "areaname", | ||
"title", | "title", | ||
" | "Representative", | ||
"Nation" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<div | |||
<div style=" | style=" | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
margin: 0 0 | margin: 0 0 18px 18px; | ||
border: | border: 1px solid #150733; | ||
border-radius: | border-radius: 10px; | ||
overflow: hidden; | overflow: hidden; | ||
width: 270px; | width: 270px; | ||
" | " | ||
class="remove-margin-from-p infobox" | class="remove-margin-from-p infobox" | ||
> | > | ||
<div | <div | ||
Line 49: | Line 58: | ||
font-weight: bold; | font-weight: bold; | ||
font-size: larger; | font-size: larger; | ||
padding: 0 0; | padding: 5px 0; | ||
color: # | color: #eee; | ||
" | |||
> | |||
{{{areaname|{{PAGENAME}}}}} | |||
</div> | |||
<div style=" | |||
background-color: #150733; | |||
text-align: center; | |||
padding: 1px 0; | |||
color: #eee; | |||
" | " | ||
>{{{title|The Rune-Midgarts Capital}}} | |||
</div> | |||
<div | |||
style="background-color: #3d188d; border-bottom: 1px solid #150733; | |||
color: #eee;" | |||
class="mw-collapsible mw-collapsed custom-collapsible white-toggle-text" | |||
data-expandtext="v" | |||
data-collapsetext="^" | |||
> | > | ||
< | <div class="custom-collapsible-title">'''Details'''</div> | ||
<div class="mw-collapsible-content" style="background-color: #ffffff; color: #222"> | |||
<div style="padding: 5px; border-bottom: 1px solid #cccccc"> | |||
<div style="font-weight: bold">Nation</div> | |||
<div style="padding-left: 10px">{{{Nation|Blurl}}}</div> | |||
</div> | |||
{{#if: {{{Representative|}}}| | |||
<div style="padding: 5px; border-bottom: 1px solid #cccccc"> | |||
<div style="font-weight: bold">Representative</div> | |||
<div style="padding-left: 10px">{{{Representative|Phreeoni}}}</div> | |||
</div> | |||
|}}{{#if: {{{Nation|}}}| | |||
<div style="padding: 5px; border-bottom: 1px solid #cccccc"> | |||
<div class="mw-collapsible mw-collapsed"> | |||
<span style="font-weight: bold">An area in {{{Nation|}}}</span> | |||
</div></div> | </div></div> | ||
|}}</div></div></div> | |||
<noinclude>[[Category:Templates]] |
Latest revision as of 00:35, 3 September 2024
TemplateData
An area infobox. Can be used for dungeons, fields, etc.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Area Name | areaname | The Name of the Area
| String | optional |
title | title | What this town is known for, etc
| String | required |
Representative | Representative | Any Representative
| String | optional |
Nation | Nation | Which nation this settlement is in. | String | optional |