Template: Infobox polity: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Gonzalo (talk | contribs)
Created page with "<includeonly>{{Infobox | above = {{{name|{{PAGENAME}}}}} {{#IF:{{{government|}}}|<br>{{{government}}}|}} | abovestyle = background: #DEDEE2; text-align:center; |..."
 
Alyx Rivers (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox  
<includeonly>{{Infobox  
| above        = {{{name|{{PAGENAME}}}}} {{#IF:{{{government|}}}|<br>{{{government}}}|}}
| above        = {{{name|{{PAGENAME}}}}}
| abovestyle    = background: #DEDEE2; text-align:center;
| abovestyle    = background: #DEDEE2;
| image = {{#if:{{{image|}}}|{{{image}}}}}
| subheader    = {{{government|}}}
| caption = {{#if:{{{image_caption|}}}|{{{image_caption}}}}}
| subheaderstyle =  
 
| image = {{#invoke:InfoboxImage | InfoboxImage | image={{{image|}}} | size={{{image_size|}}} | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=no | suppressplaceholder={{main other|yes|no}} }}
| caption = {{{image_caption|{{{caption|}}}}}}


| label4 = Location
| label4 = Location
Line 35: Line 38:
| data17 = {{{organizations|}}}
| data17 = {{{organizations|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
<!-- The Example shown on the Right-->
<!-- The Example shown on the Right-->
{{Infobox Realm
{{Infobox polity
| name = name
| name = {{{name}}}
| image = image
| image = No image.jpg
| image_caption = image_caption
| image_caption = {{{image_caption}}}
 
| location = {{{location}}}
| location = location
| capital      = {{{capital}}}
| capital      = capital
| government = {{{government}}}
| government = type of government
| ruler = {{{ruler}}}
| ruler = ruler
| religion = {{{religion}}}
| population = {{{population}}}
| religion = religion
| founded = {{{founded}}}
| population = population
| preceded = {{{preceded}}}
 
| destroyed = {{{destroyed}}}
| founded = founded
| succeeded = {{{succeeded}}}
| preceded = preceded by
| restored = {{{restored}}}
| destroyed = destroyed
| places = {{{places}}}
| succeeded = succeeded by
| organizations = {{{organizations}}}
| restored = restored
 
| places = places
| organizations = organizations
}}
}}


===Complete empty syntax===
===Complete empty syntax===
Complete empty syntax for quick copy paste to Realm, Kingdom or Government entries without the infobox. All fields are optional and will not display, unless given value to it.
Complete empty syntax for quick copy paste to Realm, Kingdom or Government entries without the infobox. All fields are optional and will not display unless given value.
<pre>
<pre>
{{Infobox Realm
{{Infobox polity
| name =  
| name =  
| image =  
| image =  
| image_caption =  
| image_caption =  
| location =  
| location =  
| capital      =  
| capital      =  
| government =  
| government =  
| ruler =  
| ruler =  
| religion =  
| religion =  
| population =  
| population =  
| founded =  
| founded =  
| preceded =  
| preceded =  
Line 81: Line 76:
| succeeded =  
| succeeded =  
| restored =  
| restored =  
| places =  
| places =  
| organizations =  
| organizations =  
}}</pre>
}}
</pre>


[[Category:Infobox templates|Realm]]</noinclude>
[[Category:Infobox templates|Polity]]</noinclude>

Latest revision as of 19:54, 25 August 2024

{{{name}}}
{{{government}}}
{{{image_caption}}}
Location {{{location}}}
Capital {{{capital}}}
Type of Government {{{government}}}
Ruler {{{ruler}}}
Religion {{{religion}}}
Population {{{population}}}
Founded {{{founded}}}
Preceded by {{{preceded}}}
Destroyed {{{destroyed}}}
Succeeded by {{{succeeded}}}
Restored {{{restored}}}
Notable places {{{places}}}
Notable organizations {{{organizations}}}

Complete empty syntax

[edit]

Complete empty syntax for quick copy paste to Realm, Kingdom or Government entries without the infobox. All fields are optional and will not display unless given value.

{{Infobox polity
| name		= 
| image		= 
| image_caption	= 
| location	= 
| capital       = 
| government	= 
| ruler 	= 
| religion	= 
| population	= 
| founded	= 
| preceded	= 
| destroyed	= 
| succeeded	= 
| restored	= 
| places	= 
| organizations	= 
}}