Difference between revisions of "Template: Infobox Settlement"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
m
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox  
 
<includeonly>{{Infobox  
 
| above        = {{{name|{{PAGENAME}}}}}
 
| above        = {{{name|{{PAGENAME}}}}}
| abovestyle    = background: #DEDEE2; text-align:center;  
+
| abovestyle    = background: #DEDEE2;
| image = {{#if:{{{image|}}}|{{{image}}}}}
+
| subheader    = {{{settlement_type|}}}
| caption = {{#if:{{{image_caption|}}}|{{{image_caption}}}}}
+
| subheaderstyle =  
  
| label3 = Type
+
| image = {{#invoke:InfoboxImage | InfoboxImage | image={{{image|}}} | size={{{image_size|}}} | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=yes }}
| data3 = {{{type|}}}
+
| caption = {{{image_caption|{{{caption|}}}}}}
| label4 = Region
 
| data4 = {{{region|}}}
 
| label5 = Population
 
| data5 = {{{population|}}}
 
| label6 = Religion
 
| data6 = {{{religion|}}}
 
| label7 = Ruler
 
| data7 = {{{ruler|}}}
 
  
| label10 = Founder
+
| label4 = Location
| data10 = {{{founder|}}}
+
| data4 = {{{location|}}}
| label11 = Founded
+
| label5 = Government
| data11 = {{{founded|}}}
+
| data5 = {{{seat|}}}{{#if:{{{seat_type|}}}|, {{{seat_type}}}|}}
 +
| label6        = Ruler
 +
| data6        = {{{lord|}}}
  
| label15 = Notable Locations
+
| label7 = Population
| data15 = {{{locations|}}}
+
| data7 = {{{population|}}}
 +
| label8 = Religion
 +
| data8 = {{{religion|}}}
 +
| label9 = Size
 +
| data9 = {{{size|}}}
 +
 
 +
| label10 = Founded
 +
| data10 = {{{founded|}}}
 +
| label11 = Named for
 +
| data11 = {{{named_for|}}}
 +
| label12 = Destroyed
 +
| data12 = {{{destroyed|}}}
 +
 
 +
| label15 = Notable places
 +
| data15 = {{{places|}}}
 
| label16 = Organizations
 
| label16 = Organizations
 
| data16 = {{{organizations|}}}
 
| data16 = {{{organizations|}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
{{Settlement
+
<!-- The Example shown on the Right-->
| name = City name
+
{{Infobox Settlement
| image = [[Image:King's_Landing.jpg|200px]]
+
| name = name
| type = Major city/Capital/?
+
| image = image
| region = [[Crownlands]], [[Westeros]].
+
| image_caption = image_caption
| ruler = ruler
+
 
| religion = Dominant religion  
+
| location = location
| population = XXXX
+
| settlement_type= settlement_type
| founder = Me
+
| seat = seat
| founded = Just now
+
| seat_type = seat_type
| locations = Red Keep
+
| organizations = Pyromancers
+
| religion = religion
 +
| population = population
 +
| size = size
 +
| founded = founded
 +
| destroyed = destroyed
 +
| named_for = named_for
 +
 
 +
| places = places
 +
| organizations = organizations
 
}}
 
}}
  
===Usage===
+
===Complete empty syntax===
Quick copy paste code:
+
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>
{{Settlement
+
{{Infobox Settlement
 
| name =
 
| name =
 
| image =
 
| image =
 
| image_caption =
 
| image_caption =
| type =
+
 
| region =
+
| location =
| ruler =
+
| settlement_type=
 +
| seat =
 +
| seat_type =
 +
 
| religion =
 
| religion =
 
| population =
 
| population =
| founder =
+
| size =
 
| founded =
 
| founded =
| locations =
+
| destroyed =
 +
| named_for =
 +
 
 +
| places =
 
| organizations =
 
| organizations =
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
 
 +
==Parameter names and descriptions==
 +
{| class="wikitable"
 +
| 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.
 +
|}
 +
 
 +
[[Category:Infobox templates|Settlement]]</noinclude>

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.