Template:InfoboxCity: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with " Category:Templates") Tag: Replaced |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
== TemplateData == | |||
[[Category:Templates]] | <templatedata> | ||
{ | |||
"description": "An area infobox. Can be used for dungeons, fields, etc.", | |||
"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", | |||
"required": true | |||
}, | |||
"areaname": { | |||
"label": "Area Name", | |||
"description": "The Name of the Area", | |||
"example": "Prontera Culverts", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"areaname", | |||
"title", | |||
"Representative", | |||
"Nation" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
<div | |||
style=" | |||
float: right; | |||
clear: right; | |||
margin: 0 0 18px 18px; | |||
border: 1px solid #150733; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
width: 270px; | |||
" | |||
class="remove-margin-from-p infobox" | |||
> | |||
<div | |||
style=" | |||
background-color: #150733; | |||
text-align: center; | |||
font-weight: bold; | |||
font-size: larger; | |||
padding: 5px 0; | |||
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> | |||
<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 |