Difference between revisions of "Template: Infobox Settlement"
From A Wiki of Ice and Fire
m (fixed example) |
m |
||
(12 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
− | | above = {{{name|{{PAGENAME}}}}} | + | | above = {{{name|{{PAGENAME}}}}} |
− | | | + | | abovestyle = background: #DEDEE2; |
− | | image = {{# | + | | subheader = {{{settlement_type|}}} |
− | | caption = | + | | subheaderstyle = |
+ | |||
+ | | image = {{#invoke:InfoboxImage | InfoboxImage | image={{{image|}}} | size={{{image_size|}}} | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=yes }} | ||
+ | | caption = {{{image_caption|{{{caption|}}}}}} | ||
| label4 = Location | | label4 = Location | ||
| data4 = {{{location|}}} | | data4 = {{{location|}}} | ||
| label5 = Government | | label5 = Government | ||
− | | data5 = {{{seat|}}} {{{seat_type|}}} | + | | data5 = {{{seat|}}}{{#if:{{{seat_type|}}}|, {{{seat_type}}}|}} |
+ | | label6 = Ruler | ||
+ | | data6 = {{{lord|}}} | ||
− | | | + | | label7 = Population |
− | | | + | | data7 = {{{population|}}} |
− | | | + | | label8 = Religion |
− | | | + | | data8 = {{{religion|}}} |
− | | | + | | label9 = Size |
− | | | + | | data9 = {{{size|}}} |
| label10 = Founded | | label10 = Founded | ||
− | | data10 = {{{ | + | | data10 = {{{founded|}}} |
| label11 = Named for | | label11 = Named for | ||
| data11 = {{{named_for|}}} | | data11 = {{{named_for|}}} | ||
+ | | label12 = Destroyed | ||
+ | | data12 = {{{destroyed|}}} | ||
| label15 = Notable places | | label15 = Notable places | ||
Line 43: | Line 50: | ||
| size = size | | size = size | ||
| founded = founded | | founded = founded | ||
+ | | destroyed = destroyed | ||
| named_for = named_for | | named_for = named_for | ||
Line 50: | Line 58: | ||
===Complete empty syntax=== | ===Complete empty syntax=== | ||
− | Complete empty syntax for quick copy paste to Settlement entries without the infobox. | + | Complete empty syntax for quick copy paste to Settlement entries without the infobox. All fields are optional and will not display, unless given value to it. |
<pre> | <pre> | ||
{{Infobox Settlement | {{Infobox Settlement | ||
Line 66: | Line 74: | ||
| size = | | size = | ||
| founded = | | founded = | ||
+ | | destroyed = | ||
| named_for = | | named_for = | ||
Latest revision as of 01:58, 10 April 2022
name | |
---|---|
settlement_type | |
File:Image image_caption | |
Location | location |
Government | seat, seat_type |
Population | population |
Religion | religion |
Size | size |
Founded | founded |
Named for | named_for |
Destroyed | destroyed |
Notable places | places |
Organizations | organizations |
Complete empty syntax
Complete empty syntax for quick copy paste to Settlement entries without the infobox. All fields are optional and will not display, unless given value to it.
{{Infobox Settlement | name = | image = | image_caption = | location = | settlement_type= | seat = | seat_type = | religion = | population = | size = | founded = | destroyed = | named_for = | places = | organizations = }}
Parameter names and descriptions
name | Settlement name. |
location | Its geographic location: Region, Continent and or very short Free text description. |
settlement_type | Any type can be entered, such as City, Town, Village, etc. Specific can be added to distinguish it for example City State, Port city etc. |
seat | The local seat of government and/or who rule here. |
seat_type | Type of government |
founder | The name of the settlement's founder |
named_for | The source of the name of the settlement (a person, a place, et cetera) |
religion | Mixed or its dominant religion. |
places | List of the most notable locations. NOT a list of all the locations in the city. |
organizations | List of the most notable organizations based or working in the city. NOT a list of all the organizations in the city. |