Template:InfoboxCity: Difference between revisions

From Secret Club
Jump to navigation Jump to search
No edit summary
(Replaced content with " Category:Templates")
Tag: Replaced
Line 1: Line 1:
<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: right;
clear: right;
margin: 0 0 5px 5px;
border: 5px solid #150733;
border-radius: 18 px;
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: 0 0;
color: #222;
"
>
<infobox><title source="name"><default>{{PAGENAME}}</default></title><image source="image"/><data source="title"><label>Title:</label><default>A city.</default></data><data source="kingdom"><label>Nation:</label><default>kingdom</default></data></infobox>
</div></div>


[[Category:Templates]]
[[Category:Templates]]

Revision as of 02:32, 1 September 2024