Template:Planet

From Gephqua

(Difference between revisions)
Line 1: Line 1:
-
<div style="float: right; margin: 0 0 1em 1em; width: auto; text-align: center; font-size: 90%; font-family: lucida grande, sans-serif; line-height: 1.4em;">
+
{|  border="1" cellpadding="2" cellspacing="0" align="right" width="280px" style="background:#ffefdd;border:solid #f4b734 1pt;border-collapse:collapse;margin-left:0.5em"
-
<div style="border: 1px solid #ccd2d9; width: 24em; background: #f9f9f9; text-align: left; padding: 0.5em 1em 0.5em 1em; text-align: center;">
+
|+<font size="+1">'''{{{planet_name}}}'''</font>
-
{| style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%; width:100%" cellspacing="0" cellpadding="0"
+
|-
-
|+ style="margin-left: inherit; font-size: 135%; padding-bottom: 0.5em; line-height: 1.1em;" |
+
| style="background:#ffefdd;" align="center" colspan=2 |  
-
'''{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}'''{{#IF:{{{name_en|{{{common_name|<noinclude>*</noinclude>}}}}}}|<br/>
+
{| border="0" cellpadding="2" cellspacing="0"
-
'''''{{{name_en<includeonly>|{{{common_name}}}</includeonly>}}}'''''|}}
+
| align="center" width="140px" | [[Image:{{{image_planet}}}|200px|{{{common_name}}} as seen from space.]]
-
{{#IF:{{{Timeline|{{{timeline|<noinclude>*</noinclude>}}}}}}|<span style="font-size:60%;"><br
+
|-
-
/>Timeline: [[{{{Timeline<includeonly>|{{{timeline}}}</includeonly>}}}]]</span>|}}
+
-
| align="center" colspan="2" style="background:#ccd2d9" |
+
-
{| style="text-align: center; margin: 0 auto; background: none;"
+
-
{{#IF:{{{flag|{{{no_flag}}}}}}|{{#IF:{{{CoA|{{{coa|{{{seal|{{{no_CoA}}}}}}}}}}}}|<!--
+
-
-->{{!}}[[Image:{{{flag|no flag.svg}}}|{{{flag_width|120px}}}{{!}}{{{flag_alt|Flag {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}]]
+
-
{{!}}[[Image:{{{CoA|{{{coa|{{{seal|no coa.svg}}}}}}}}}|{{{coa_width|{{{seal_width|80px}}}}}}{{!}}{{{coa_alt|{{#IF:{{{seal|}}}|Seal|Coat of Arms}} {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}]]
+
-
{{!|tr}}
+
-
{{!}}{{{flag_caption|Flag {{{of|of}}} {{{name_short|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}
+
-
{{!}}{{{coa_caption|{{#IF:{{{seal|}}}|Seal|Coat of Arms}} {{{of|of}}} {{{name_short|{{{name_en|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}
+
-
{{!|tr}}<!--
+
-
-->|<!--
+
-
-->{{!}}colspan="2"{{!}}[[Image:{{{flag|no flag.svg}}}|{{{flag_width|180px}}}{{!}}{{{flag_alt|Flag {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}]]<br/>{{{flag_caption|Flag {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
{{#IF:{{{map|<noinclude>*</noinclude>}}}|<!--
+
-
-->{{!}}colspan="2"{{!}}[[Image:{{{map|LocationWorld.png}}}|{{{map_width|220px}}}|{{{map_alt|Location {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}]]<br/>{{{map_caption|Location {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
|}
|}
-
{{#IF:{{{motto|<noinclude>*</noinclude>}}}|<!--
+
|-
-
-->Motto: ''{{{motto}}}''{{#IF:{{{motto_en|<noinclude>*</noinclude>}}}|<br/><!--
+
|-
-
-->({{{motto_lang<includeonly>|{{{language|{{{lang_official|{{{language}}}}}}}}}</includeonly>}}}: {{{motto_en}}})<!--
+
!align="center" colspan=2 | [[Image:{{{planet_map}}}|200px|Map of {{{common_name}}}.]]
-
-->|}}<!--
+
|-
-
-->|}}
+
| '''Adjective Form:''' || {{{adjective_form}}}
-
{{!|tr}}
+
|-
-
{{#IF:{{{capital|<noinclude>*</noinclude>}}}|<!--
+
| '''Location:''' || {{{location}}}
-
-->
+
|-
-
{{!top}}'''Capital:'''
+
| '''Solar Position:''' || {{{position}}}
-
{{!top}}{{{capital}}}
+
|-
-
{{!|tr}}<!--
+
| '''Inhabitants:''' || {{{inhabitants}}}
-
-->|}}
+
|-
-
{{#IF:{{{city_largest|<noinclude>*</noinclude>}}}|<!--
+
| '''Percent Water:''' || {{{water_percent}}}
-
-->
+
|-
-
{{!}}'''Largest city:'''
+
| '''Percent Land:''' || {{{land_percent}}}
-
{{!}}{{{city_largest}}}
+
|-
-
{{!|tr}}<!--
+
| '''Day Length:''' || {{{day}}}
-
-->|}}
+
|-
-
{{#IF:{{{city_other|<noinclude>*</noinclude>}}}|<!--
+
| '''Year Length:''' || {{{year}}}
-
-->
+
|-
-
{{!}}'''Other cities:'''
+
| '''Mass:''' || {{{mass}}}
-
{{!}}{{{city_other}}}
+
|-  
-
{{!|tr}}<!--
+
| '''Circumference:''' || {{{circum}}}
-
-->|}}
+
|-
-
{{#IF:{{{language_other|{{{lang_other|{{{lang_others|<noinclude>*</noinclude>}}}}}}}}}|<!--
+
| '''Moon(s):''' || {{{moons}}}
-
-->
+
|-
-
{{!top}}'''Language:'''<br/>&nbsp;  official:
+
| '''Aphelion Distance:'''
-
{{!top}}&nbsp;<br/>{{{language<includeonly>|{{{lang_official}}}</includeonly>}}}
+
| {{{aphelion}}}
-
{{!|tr}}
+
|-
-
{{!}}&nbsp; Other languages:
+
| '''Perihelion Distance:'''
-
{{!}}{{{language_other<includeonly>|{{{lang_other|{{{lang_others}}}}}}</includeonly>}}}
+
| {{{perihelion}}}
-
{{!|tr}}<!--
+
|-
-
-->|{{#IF:{{{language|{{{lang_official|}}}}}}|<!--
+
| '''Axial Tilt:''' || {{{axis}}}°
-
-->
+
|-
-
{{!top}}'''Language:'''
+
| '''Surface Temp: <br>Min: <br>Mean: <br>Max"'''
-
{{!top}}{{{language<includeonly>|{{{lang_official}}}</includeonly>}}}
+
| {{{surface_temp}}}
-
{{!|tr}}
+
|-
-
<!--
+
| | '''Atmospheric Composition:'''
-
-->|}}}}
+
| {{{atmosphere}}}
-
{{#IF:{{{religion_other|{{{oreligion|<noinclude>*</noinclude>}}}}}}|<!--
+
|-
-
-->
+
 
-
{{!top}}'''Religion:'''<br/>&nbsp; main:
+
-
{{!top}}&nbsp;<br/>{{{religion}}}
+
-
{{!|tr}}
+
-
{{!}}&nbsp; Other religions:
+
-
{{!}}{{{religion_other<includeonly>|{{{oreligion}}}</includeonly>}}}
+
-
{{!|tr}}<!--
+
-
-->|{{#IF:{{{religion|}}}|<!--
+
-
-->
+
-
{{!top}}'''Religion:'''
+
-
{{!top}}{{{religion}}}
+
-
{{!|tr}}
+
-
<!--
+
-
-->|}}}}
+
-
{{#IF:{{{ethnic_other|{{{oreligion|<noinclude>*</noinclude>}}}}}}|<!--
+
-
-->
+
-
{{!top}}'''Ethnic groups:'''<br/>&nbsp; main:
+
-
{{!top}}&nbsp;<br/>{{{ethnic_group}}}
+
-
{{!|tr}}
+
-
{{!}}&nbsp; other:
+
-
{{!}}{{{ethnic_other}}}
+
-
{{!|tr}}<!--
+
-
-->|{{#IF:{{{ethnic_group|}}}|<!--
+
-
-->
+
-
{{!top}}'''Ethnic group:'''
+
-
{{!top}}{{{ethnic_group}}}
+
-
{{!|tr}}
+
-
<!--
+
-
-->|}}}}
+
-
{{#IF:{{{regime|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Type of government:'''
+
-
{{!top}}{{{regime}}}
+
-
{{!|tr}}
+
-
{{#IF:{{{governing_body|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!}}&nbsp; government:
+
-
{{!}}{{{governing_body}}}
+
-
{{!|tr}}<!--
+
-
-->|}}<!--
+
-
-->|<!--
+
-
-->
+
-
{{#IF:{{{governing_body|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Government:'''
+
-
{{!top}}{{{governing_body}}}
+
-
{{!|tr}}<!--
+
-
-->|}}<!--
+
-
-->}}
+
-
{{#IF:{{{HoStitle|{{{hos_title|{{{leader1|{{{leader|<noinclude>*</noinclude>}}}}}}}}}}}}|<!--
+
-
-->
+
-
{{!top}}'''{{#IF:{{{HoSlist|{{{Timeline|{{{timeline|{{{no_HoSlist}}}}}}}}}}}}|[[{{{HoSlist|List of {{{hos_title_pl|{{{HoStitle|{{{hos_title|{{{leader1|{{{leader|Heads of State}}}}}}}}}}}}s}}} {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}} ({{{Timeline|{{{timeline|OTL}}}}}})}}}|{{{HoStitle<includeonly>|{{{hos_title|{{{leader1|{{{leader}}}}}}}}}</includeonly>}}}]]|{{{HoStitle|{{{hos_title|{{{leader1|{{{leader}}}}}}}}}}}}}}:'''
+
-
{{!top}}{{{HoSname<includeonly>|{{{hos_name|{{{leader1_name|{{{leader_name|}}}}}}}}}</includeonly>}}}
+
-
{{!|tr}}
+
-
{{#IF:{{{royal_house|}}}|
+
-
{{!}}&nbsp; {{{royal_house_title|Royal house}}}:
+
-
{{!}}{{{royal_house}}}
+
-
{{!|tr}}|}}
+
-
{{#IF:{{{HoS2title|{{{hos2_title|}}}}}}|
+
-
{{!}}'''{{#IF:{{{HoS2list|{{{Timeline|{{{timeline|{{{no_HoS2list}}}}}}}}}}}}|[[{{{HoS2list|List of {{{hos2_title_pl|{{{HoS2title|{{{hos2_title|Vice-Heads of State}}}}}}s}}} {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}} ({{{Timeline|{{{timeline|OTL}}}}}})}}}|{{{HoS2title<includeonly>|{{{hos2_title}}}</includeonly>}}}]]|{{{HoS2title|{{{hos2_title}}}}}}}}:'''
+
-
{{!}}{{{HoS2name|{{{hos2_name|}}}}}}
+
-
{{!|tr}}|}}
+
-
{{#IF:{{{CoGtitle|{{{cog_title|{{{leader2|{{{Cname|<noinclude>*</noinclude>}}}}}}}}}}}}|<!--
+
-
-->
+
-
{{!}}'''{{#IF:{{{CoGlist|{{{Timeline|{{{timeline|{{{no_CoGlist}}}}}}}}}}}}|[[{{{CoGlist|List of {{{cog_title_pl|{{{CoGtitle|{{{cog_title|{{{leader2|Chiefs of Government}}}}}}}}}s}}} {{{of|of}}} {{{name_short|{{{common_name|{{{name_en|{{{name|{{PAGENAME}}}}}}}}}}}}}} ({{{Timeline|{{{timeline|OTL}}}}}})}}}|{{{CoGtitle<includeonly>|{{{cog_title|{{{leader2}}}}}}</includeonly>}}}]]|{{{CoGtitle<includeonly>|{{{cog_title|{{{leader2|Chief of Government}}}}}}</includeonly>}}}}}:'''
+
-
{{!}}{{{CoGname<includeonly>|{{{cog_name|{{{leader2_name|{{{Cname|}}}}}}}}}</includeonly>}}}
+
-
{{!|tr}}<!--
+
-
-->|}}<!--
+
-
-->|{{#IF:{{{CoGtitle|{{{cog_title|{{{leader2|<noinclude>*</noinclude>}}}}}}}}}|<!--
+
-
-->
+
-
{{!top}}'''{{{CoGtitle<includeonly>|{{{cog_title|{{{leader2}}}}}}</includeonly>}}}:'''
+
-
{{!top}}{{{CoGname<includeonly>|{{{cog_name|{{{leader2_name|}}}}}}</includeonly>}}}
+
-
{{!|tr}}<!--
+
-
-->|}}}}
+
-
{{#IF:{{{area|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Area:'''
+
-
{{!top}}{{{area}}}&nbsp;{{{area_unit|km²}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
{{#IF:{{{population|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Population:'''
+
-
{{!top}}{{{population}}}&nbsp;{{{pop_unit|inh.}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
{{#IF:{{{est_date|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Established:'''
+
-
{{!top}}{{{est_date}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
{{#IF:{{{ind_from|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Independence:'''
+
-
{{!top}}from {{{ind_from}}}
+
-
{{!|tr}}<!--
+
-
-->
+
-
{{#IF:{{{ind_date|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!}}&nbsp; declared:
+
-
{{!}}{{{ind_date}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
<!--
+
-
-->
+
-
{{#IF:{{{ind_rec|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!}}&nbsp; recognized:
+
-
{{!}}{{{ind_rec}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
<!--
+
-
-->|{{#IF:{{{ind_date|}}}|<!--
+
-
-->
+
-
{{!top}}'''Independence:'''
+
-
{{!top}}{{{ind_date}}}
+
-
{{!|tr}}<!--
+
-
-->|}}}}
+
-
{{#IF:{{{currency|<noinclude>*</noinclude>}}}|<!--
+
-
-->
+
-
{{!top}}'''Currency:'''
+
-
{{!top}}{{{currency}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
-
{{#IF:{{{organizations|{{{orgs|<noinclude>*</noinclude>}}}}}}|<!--
+
-
-->
+
-
{{!top}}'''{{{orgs_cap|Organizations}}}:'''
+
-
{{!top}}{{{organizations<includeonly>|{{{orgs}}}</includeonly>}}}
+
-
{{!|tr}}<!--
+
-
-->|}}
+
|}
|}
-
</div>
 
-
</div>
 
-
<noinclude>
 
-
== Usage ==
 
-
<nowiki>{{</nowiki>NationInfo
 
-
|''field1''=value1
 
-
|''field2''=value2
 
-
  ...
 
-
}}
 
-
where ''field1'', ''field2'', etc. ar the name of the fields.
 
-
 
-
Fields are any keyword in the table enclosed by {{{''triple bracers''}}}, as well as the following fields:
 
-
 
-
;Other hiden or optional fields:
 
-
* <code>{{{name}}}</code>: name of the nation.  Default value is <nowiki>{{PAGENMAE}}</nowiki>.
 
-
* <code>{{{name_short}}}</code>: short name of the nation.  Defaults to {{{name_en}}} and {{{name}}}.
 
-
 
-
* <code>{{{area_unit}}}</code>: for the area unit.  Defaults to ''"km²"''.
 
-
* <code>{{{pop_unit}}}</code>: for the population unit.  Defaults to ''"inh."''.  Could be use to give nationality.
 
-
 
-
* <code>{{{flag}}}</code>: image of the flag (without ''image:'' prefix).
 
-
* <code>{{{flag_width}}}</code>: for the with of the flag.  Defaults to ''120px'' when there is a CoA, or to ''180px'' otherwise.
 
-
* <code>{{{flag_caption}}}</code>: caption under the flag.  Defaults to ''Flag of {{{name_short}}}''.
 
-
 
-
* <code>{{{coa}}}</code>: image of the coat of arms (without ''image:'' prefix).
 
-
* <code>{{{coa_width}}}</code>: for the with of the coat of arms.  Defaults to ''80px''.
 
-
* <code>{{{coa_caption}}}</code>: caption under the coat of arms.  Defaults to ''Coat of Arms of {{{name_short}}}''.
 
-
 
-
* <code>{{{map}}}</code>: image of the location map (without ''image:'' prefix).
 
-
* <code>{{{map_width}}}</code>: for the with of the location map.  Defaults to ''220px''.
 
-
* <code>{{{map_caption}}}</code>: caption under the location map.  Defaults to ''Location of {{{name_short}}}''.
 
-
 
-
* <code>{{{royal_house}}}</code>: name of the royal house (or other aditional info for Head of State).  No default: won't print if missing.
 
-
* <code>{{{royal_house_title}}}</code>: title of the aditional info on Head of State.  Defaults to ''Royal house''.
 
-
 
-
* <code>{{{of}}}</code>: use to give a more gramatical liason between Flag etc. and name of nation, i.e. add an article: <code>|of=of the</code>.  Defaults to ''of''.
 
-
 
-
;Alias:
 
-
* <code>{{{hos_title}}}</code>, <code>{{{leader}}}</code> or <code>{{{leader1}}}</code>, are aliases for <code>{{{HoStitle}}}</code>.
 
-
** <code>{{{hos_name}}}</code>, <code>{{{leader_name}}}</code> or <code>{{{leader1_name}}}</code>: respectively for <code>{{{HoSname}}}</code>.
 
-
* <code>{{{cog_title}}}</code>, or <code>{{{leader2}}}</code>, are aliases for <code>{{{CoGtitle}}}</code>.
 
-
** <code>{{{cog_name}}}</code>, or <code>{{{leader2_name}}}</code>: respectively for <code>{{{CoGname}}}</code>.
 
-
 
-
* <code>{{{lang_official}}}</code>: alias for <code>{{{language}}}</code>.
 
-
* <code>{{{lang_other}}}</code>: alias for <code>{{{language_other}}}</code>.
 
-
 
-
 
-
[[Category:Template:Infoboxes]]</noinclude>
 

Revision as of 23:28, 19 September 2007

{{{planet_name}}}
[[Image:{{{image_planet}}}|200px|{{{common_name}}} as seen from space.]]
[[Image:{{{planet_map}}}|200px|Map of {{{common_name}}}.]]
Adjective Form: {{{adjective_form}}}
Location: {{{location}}}
Solar Position: {{{position}}}
Inhabitants: {{{inhabitants}}}
Percent Water: {{{water_percent}}}
Percent Land: {{{land_percent}}}
Day Length: {{{day}}}
Year Length: {{{year}}}
Mass: {{{mass}}}
Circumference: {{{circum}}}
Moon(s): {{{moons}}}
Aphelion Distance: {{{aphelion}}}
Perihelion Distance: {{{perihelion}}}
Axial Tilt: {{{axis}}}°
Surface Temp:
Min:
Mean:
Max"
{{{surface_temp}}}
Atmospheric Composition: {{{atmosphere}}}
Personal tools