Difference between revisions of "Template:Location"

From ALFA
Jump to: navigation, search
(Restyled for location rename.)
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|-
 
|-
 
! colspan="2" | {{{Name}}}
 
! colspan="2" | {{{Name}}}
 +
|- class="section"
 +
{{ #if:{{{Aliases|}}}{{{Capital|}}}{{{Largest City|}}}{{{Region|}}}|! colspan="2" {{!}} Geographic Information }}
 
|-
 
|-
{{ #if:{{{Aliases|}}}{{{Capital|}}}{{{Largest City|}}}{{{Region|}}}|! colspan="2" class="section" {{!}} Geographic Information }}
+
{{ #if:{{{Server|}}}|{{!}} Server {{!}}{{!}} {{{Server}}} }}
 
|-
 
|-
 
{{ #if:{{{Aliases|}}}|{{!}} Alternative Name(s) {{!}}{{!}} {{{Aliases}}} }}
 
{{ #if:{{{Aliases|}}}|{{!}} Alternative Name(s) {{!}}{{!}} {{{Aliases}}} }}
Line 14: Line 16:
 
|-
 
|-
 
{{ #if:{{{Region|}}}|{{!}} Region(s) {{!}}{{!}} {{{Region}}} }}
 
{{ #if:{{{Region|}}}|{{!}} Region(s) {{!}}{{!}} {{{Region}}} }}
|-
+
|- class="section"
{{ #if:{{{Languages|}}}{{{Races|}}}{{{Demonym|}}}{{{Religion|}}}{{{Population|}}}{{{Imports|}}}{{{Exports|}}}{{{Currency|}}}{{{Alignment|}}}{{{Allegiance|}}}|! colspan="2" class="section" {{!}} Societal Information }}
+
{{ #if:{{{Languages|}}}{{{Races|}}}{{{Demonym|}}}{{{Religion|}}}{{{Population|}}}{{{Imports|}}}{{{Exports|}}}{{{Currency|}}}{{{Alignment|}}}{{{Allegiance|}}}|! colspan="2" {{!}} Societal Information }}
 
|-
 
|-
 
{{ #if:{{{Languages|}}}|{{!}} Language(s) {{!}}{{!}} {{{Languages}}} }}
 
{{ #if:{{{Languages|}}}|{{!}} Language(s) {{!}}{{!}} {{{Languages}}} }}
Line 36: Line 38:
 
|-
 
|-
 
{{ #if:{{{Allegiance|}}}|{{!}} Allegiance {{!}}{{!}} {{{Allegiance}}} }}
 
{{ #if:{{{Allegiance|}}}|{{!}} Allegiance {{!}}{{!}} {{{Allegiance}}} }}
|-
+
|- class="section"
{{ #if:{{{Government|}}}{{{Head of State|}}}{{{Leader1|}}}{{{Head of Government|}}}{{{Leader2|}}}{{{Executive|}}}{{{Legislature|}}}{{{Judiciary|}}}|! colspan="2" class="section" {{!}} Political Information }}
+
{{ #if:{{{Government|}}}{{{Head of State|}}}{{{Leader1|}}}{{{Head of Government|}}}{{{Leader2|}}}{{{Executive|}}}{{{Legislature|}}}{{{Judiciary|}}}|! colspan="2" {{!}} Political Information }}
 
|-
 
|-
 
{{ #if:{{{Government|}}}|{{!}} Government type {{!}}{{!}} {{{Government}}} }}
 
{{ #if:{{{Government|}}}|{{!}} Government type {{!}}{{!}} {{{Government}}} }}
Line 50: Line 52:
 
|-
 
|-
 
{{ #if:{{{Judiciary|}}}|{{!}} Judicial branch {{!}}{{!}} {{{Judiciary}}} }}
 
{{ #if:{{{Judiciary|}}}|{{!}} Judicial branch {{!}}{{!}} {{{Judiciary}}} }}
|-
+
|- class="section"
{{ #if:{{{Established|}}}{{{Start Event|}}}{{{Start Date|}}}{{{Event1|}}}{{{Date1|}}}{{{DisEstablished|}}}{{{End Event|}}}{{{End Date|}}}{{{Predecessor|}}}{{{Successor|}}}|{{!}} colspan="2" class="section" {{!}} Historical Information }}
+
{{ #if:{{{Established|}}}{{{Start Event|}}}{{{Start Date|}}}{{{Event1|}}}{{{Date1|}}}{{{DisEstablished|}}}{{{End Event|}}}{{{End Date|}}}{{{Predecessor|}}}{{{Successor|}}}|! colspan="2" {{!}} Historical Information }}
 
|-
 
|-
 
{{ #if:{{{Established|}}}|{{!}} Established {{!}}{{!}} {{{Established}}} }}
 
{{ #if:{{{Established|}}}|{{!}} Established {{!}}{{!}} {{{Established}}} }}
Line 83: Line 85:
 
{{ #if: {{{Settlements|}}}|{{!}} colspan="2" style="text-align: right" {{!}} [[:Category:Settlements {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}|Settlements {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}]] }}
 
{{ #if: {{{Settlements|}}}|{{!}} colspan="2" style="text-align: right" {{!}} [[:Category:Settlements {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}|Settlements {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}]] }}
 
|-
 
|-
{{ #if:{{{Source|}}}|{{!}} colspan="2" style="text-align:right" {{!}} <hr /> ''Source: {{{Source}}}{{ #if: {{{Page|}}} |, p. {{{Page}}} }} }}
+
{{ #if:{{{Source|}}}|{{!}} colspan="2" class="minor" {{!}} <hr /> ''Source: {{{Source}}}{{ #if: {{{Page|}}} |, p. {{{Page}}} }} }}
 
|}</includeonly><noinclude>[[Category:Templates]]
 
|}</includeonly><noinclude>[[Category:Templates]]
 
[[Category:Content Templates]]
 
[[Category:Content Templates]]
This template will display information on a body of government, or land featured in ''[[A Land Far Away]]''.
+
This template will display information on a location featured in ''[[A Land Far Away]]''.
  
 
== Usage ==
 
== Usage ==
 
To include this template on a page, simply type the following where you want it to display. Note that ''italicized'' lines are optional. Content templates typically go at the top of pages.
 
To include this template on a page, simply type the following where you want it to display. Note that ''italicized'' lines are optional. Content templates typically go at the top of pages.
<pre><nowiki>{{State</nowiki>
+
<nowiki>{{Location</nowiki>
| Name =  
+
| Name =  
''| Image = ''
+
''| Image = ''
''| Caption = ''
+
''| Caption = ''
''| Aliases = ''
+
''| Server = ''
''| Capital = ''
+
''| Aliases = ''
''| Largest City =''
+
''| Capital = ''
''| Region = ''
+
''| Largest City =''
''| Languages =''
+
''| Region = ''
''| Races =''
+
''| Languages =''
''| Demonym =''
+
''| Races =''
''| Religion =''
+
''| Demonym =''
''| Population =''
+
''| Religion =''
''| Imports =''
+
''| Population =''
''| Exports =''
+
''| Imports =''
''| Currency =''
+
''| Exports =''
''| Alignment =''
+
''| Currency =''
''| Allegiance =''
+
''| Alignment =''
''| Government =''
+
''| Allegiance =''
''| Head of State =''
+
''| Government =''
''| Leader1 = ''
+
''| Head of State =''
''| Head of Government =''
+
''| Leader1 = ''
''| Leader2 =''
+
''| Head of Government =''
''| Executive =''
+
''| Leader2 =''
''| Legislature =''
+
''| Executive =''
''| Judiciary =''
+
''| Legislature =''
''| Established = ''
+
''| Judiciary =''
''| Start Event =''
+
''| Established = ''
''| Start Date =''
+
''| Start Event =''
''| Event1 =''
+
''| Start Date =''
''| Date1 =''
+
''| Event1 =''
''| Event2 =''
+
''| Date1 =''
''| Date2 =''
+
''| Event2 =''
''| Event3 =''
+
''| Date2 =''
''| Date3 =''
+
''| Event3 =''
''| Event4 =''
+
''| Date3 =''
''| Date4 =''
+
''| Event4 =''
''| DisEstablished =''
+
''| Date4 =''
''| End Event =''
+
''| DisEstablished =''
''| End Date =''
+
''| End Event =''
''| Predecessor =''
+
''| End Date =''
''| Successor =''
+
''| Predecessor =''
''| UseThe = ''
+
''| Successor =''
''| UseOn = ''
+
''| UseThe = ''
''| Inhabitants = ''
+
''| UseOn = ''
''| Locations = ''
+
''| Inhabitants = ''
''| Organizations = ''
+
''| Locations = ''
''| Settlements = ''
+
''| Organizations = ''
''| Source = ''
+
''| Settlements = ''
''| Page = ''
+
''| Source = ''
}}</pre>
+
''| Page = ''
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 05:28, 31 May 2014

This template will display information on a location featured in A Land Far Away.

Usage

To include this template on a page, simply type the following where you want it to display. Note that italicized lines are optional. Content templates typically go at the top of pages.

{{Location
| Name = 
| Image = 
| Caption = 
| Server = 
| Aliases = 
| Capital = 
| Largest City =
| Region = 
| Languages =
| Races =
| Demonym =
| Religion =
| Population =
| Imports =
| Exports =
| Currency =
| Alignment =
| Allegiance =
| Government =
| Head of State =
| Leader1 = 
| Head of Government =
| Leader2 =
| Executive =
| Legislature =
| Judiciary =
| Established = 
| Start Event =
| Start Date =
| Event1 =
| Date1 =
| Event2 =
| Date2 =
| Event3 =
| Date3 =
| Event4 =
| Date4 =
| DisEstablished =
| End Event =
| End Date =
| Predecessor =
| Successor =
| UseThe = 
| UseOn = 
| Inhabitants = 
| Locations = 
| Organizations = 
| Settlements = 
| Source = 
| Page = 
}}