Difference between revisions of "Template:Location"
From ALFA
Foambats4all (talk | contribs) |
Foambats4all (talk | contribs) (Restyled for location rename.) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| class=" | + | <includeonly>{| class="infoPane" |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Image|}}}|{{!}} colspan="2" {{!}} {{{Image}}} }} |
|- | |- | ||
− | + | ! colspan="2" | {{{Name}}} | |
+ | |- class="section" | ||
+ | {{ #if:{{{Aliases|}}}{{{Capital|}}}{{{Largest City|}}}{{{Region|}}}|! colspan="2" {{!}} Geographic Information }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Server|}}}|{{!}} Server {{!}}{{!}} {{{Server}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Aliases|}}}|{{!}} Alternative Name(s) {{!}}{{!}} {{{Aliases}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Capital|}}}|{{!}} Capital {{!}}{{!}} {{{Capital}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Largest City|}}}|{{!}} Largest city {{!}}{{!}} {{{Largest City}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Region|}}}|{{!}} Region(s) {{!}}{{!}} {{{Region}}} }} |
+ | |- class="section" | ||
+ | {{ #if:{{{Languages|}}}{{{Races|}}}{{{Demonym|}}}{{{Religion|}}}{{{Population|}}}{{{Imports|}}}{{{Exports|}}}{{{Currency|}}}{{{Alignment|}}}{{{Allegiance|}}}|! colspan="2" {{!}} Societal Information }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Languages|}}}|{{!}} Language(s) {{!}}{{!}} {{{Languages}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Races|}}}|{{!}} Race(s) {{!}}{{!}} {{{Races}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Demonym|}}}|{{!}} Demonym {{!}}{{!}} {{{Demonym}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Religion|}}}|{{!}} Religion(s) {{!}}{{!}} {{{Religion}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Population|}}}|{{!}} Population {{!}}{{!}} {{{Population}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Imports|}}}|{{!}} Imports {{!}}{{!}} {{{Imports}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Exports|}}}|{{!}} Exports {{!}}{{!}} {{{Exports}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Currency|}}}|{{!}} Currency {{!}}{{!}} {{{Currency}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Alignment|}}}|{{!}} Alignment {{!}}{{!}} {{{Alignment}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Allegiance|}}}|{{!}} Allegiance {{!}}{{!}} {{{Allegiance}}} }} |
+ | |- class="section" | ||
+ | {{ #if:{{{Government|}}}{{{Head of State|}}}{{{Leader1|}}}{{{Head of Government|}}}{{{Leader2|}}}{{{Executive|}}}{{{Legislature|}}}{{{Judiciary|}}}|! colspan="2" {{!}} Political Information }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Government|}}}|{{!}} Government type {{!}}{{!}} {{{Government}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Head of State|}}}{{{Leader1|}}}|{{!}} {{{Head of State|Head of State}}} {{!}}{{!}} {{{Leader1|???}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Head of Government|}}}{{{Leader2|}}}|{{!}} {{{Head of Government|Head of Government}}} {{!}}{{!}} {{{Leader2|???}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Executive|}}}|{{!}} Executive branch {{!}}{{!}} {{{Executive}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Legislature|}}}|{{!}} Legislative branch {{!}}{{!}} {{{Legislature}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Judiciary|}}}|{{!}} Judicial branch {{!}}{{!}} {{{Judiciary}}} }} |
+ | |- class="section" | ||
+ | {{ #if:{{{Established|}}}{{{Start Event|}}}{{{Start Date|}}}{{{Event1|}}}{{{Date1|}}}{{{DisEstablished|}}}{{{End Event|}}}{{{End Date|}}}{{{Predecessor|}}}{{{Successor|}}}|! colspan="2" {{!}} Historical Information }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Established|}}}|{{!}} Established {{!}}{{!}} {{{Established}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Start Event|}}}|{{!}} {{{Start Event}}} {{!}}{{!}} {{{Start Date}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Event1|}}}|{{!}} {{{Event1}}} {{!}}{{!}} {{{Date1}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Event2|}}}|{{!}} {{{Event2}}} {{!}}{{!}} {{{Date2}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Event3|}}}|{{!}} {{{Event3}}} {{!}}{{!}} {{{Date3}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Event4|}}}|{{!}} {{{Event4}}} {{!}}{{!}} {{{Date4}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{DisEstablished|}}}|{{!}} DisEstablished {{!}}{{!}} {{{DisEstablished}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{End Event|}}}|{{!}} {{{End Event}}} {{!}}{{!}} {{{End Date}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Predecessor|}}}|{{!}} Preceded by {{!}}{{!}} {{{Predecessor}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Successor|}}}|{{!}} Succeeded by {{!}}{{!}} {{{Successor}}} }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{Inhabitants|}}}{{{Locations|}}}{{{Settlements|}}}{{{Organizations|}}}|{{!}} colspan="2" style="text-align:right" {{!}} <hr /> }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if: {{{Inhabitants|}}}|{{!}} colspan="2" style="text-align: right" {{!}} [[:Category:Inhabitants of {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}|Inhabitants of {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}]] }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if: {{{Locations|}}}|{{!}} colspan="2" style="text-align: right" {{!}} [[:Category:Locations {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}|Locations {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}]] }} |
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if: {{{Organizations|}}}|{{!}} colspan="2" style="text-align: right" {{!}} [[:Category:Organizations {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}|Organizations {{ #if: {{{UseOn|}}} | on | in }} {{ #if: {{{UseThe|}}} | the }} {{{Name|{{PAGENAME}}}}}]] }} |
|- | |- | ||
− | {{ #if: {{{ | + | {{ #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: {{{ | + | {{ #if:{{{Source|}}}|{{!}} colspan="2" class="minor" {{!}} <hr /> ''Source: {{{Source}}}{{ #if: {{{Page|}}} |, p. {{{Page}}} }} }} |
− | + | |}</includeonly><noinclude>[[Category:Templates]] | |
− | + | [[Category:Content Templates]] | |
− | + | This template will display information on a location featured in ''[[A Land Far Away]]''. | |
− | |||
− | |||
− | |||
− | |||
− | This template | ||
− | |||
− | |||
== 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. |
− | + | <nowiki>{{Location</nowiki> | |
− | | | + | | 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 = '' | |
− | + | }} | |
− | |||
− | '' | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</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 = }}