Template:InfoboxCity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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]] | |||
[[ | |||
Revision as of 00:06, 1 September 2024
A box for cities
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description
| String | optional |
image | image | no description
| File | optional |
title | title | no description | Unknown | optional |
kingdom | kingdom | no description
| String | optional |