Template:Location: Difference between revisions

From Simulacrum Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ infobox
{{ infobox
| abovestyle  = padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;
| abovestyle  = padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;
| above       = {{{title}}}
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| imagestyle  = text-align:center;padding:0.5em 0;
| imagestyle  = text-align:center;padding:0.5em 0;
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|
{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| label1     = Official Name       
| label2     = Official Name       
| data1       = {{{OfficialName|}}}
| data2       = {{{OfficialName|}}}
| label2     = Alias{{Pluralize from text|{{{alias|}}}|likely=(s)|plural=es}}
| label3     = Alias{{Pluralize from text|{{{alias|}}}|likely=(s)|plural=es}}
| data2       = {{{alias}}}
| data3       = {{{alias|}}}
| header1    = Location Details
| header1    = Location Details
| label3     = Universe
| label4     = Universe
| data3       = {{{universe}}}
| data4       = {{{universe|}}}
| label4     = Galaxy
| label5     = Galaxy
| data4       = {{{galaxy}}}
| data5       = {{{galaxy|}}}
| label5     = Star System
| label6     = Star System
| data5       = {{{starsystem}}}
| data6       = {{{starsystem|}}}
| label6     = Planet
| label7     = Planet
| data6       = {{{planet}}}
| data7       = {{{planet|}}}
| label7     = Continent
| label8     = Continent
| data7       = {{{continent}}}
| data8       = {{{continent|}}}
| label8     = Country
| label9     = Country
| data8       = {{{country}}}
| data9       = {{{country|}}}
| label9     = City
| label10     = City
| data9       = {{{city}}}
| data10       = {{{city|}}}
| label10     = State
| label11     = State
| data10     = {{{state}}}
| data11     = {{{state|}}}
| label11     = Province
| label12     = Province
| data11     = {{{province}}}
| data12     = {{{province|}}}
| label13    = Locale
| label13    = Locale
| data13      = {{{locale}}}
| data13      = {{{locale|}}}
| label14    = Status
| label14    = Status
| data14      = {{{status|}}}
| data14      = {{{status|}}}
| label15    = Capital
| label15    = Capital
| data15      = {{capital}}
| data15      = {{{capital|}}}
| label16    = Largest City
| label16    = Largest City
| data16      = {{{largest_city}}}
| data16      = {{{largest_city|}}}
| rowclass17  = mergedtoprow
| rowclass17  = mergedtoprow
| label17    = Official&nbsp;languages
| label17    = Official&nbsp;languages
Line 42: Line 42:
| label18    = <span style="font-weight:normal;">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;Languages</span>
| label18    = <span style="font-weight:normal;">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;Languages</span>
| data18      = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }}
| data18      = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }}
| rowclass19  = mergedrow
| label19    = <span style="font-weight:normal;">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} National&nbsp;Languages</span>
| label19    = <span style="font-weight:normal;">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} National&nbsp;Languages</span>
| data19      = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }}
| data19      = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }}
| label20    = Ethnic Groups
| label20    = Ethnic Groups
| data20      = {{{ethnic_groups}}}
| data20      = {{{ethnic_groups|}}}
| label21    = Religion{{Pluralize from text|{{{religion|}}}|likely=(es)|plural=es}}
| label21    = Nationality
| data21     = {{{religion}}}
| data21      = {{{nationalities|}}}
| label22     = Denonym
| label22    = Religion
| data22     = {{{denonym}}}
| data22     = {{{religion|}}}
| label23     = Government Type
| label23     = Denonym{{Pluralize from text|{{{denonym|}}}|likely=(s)|plural=s}}
| data23     = {{{government_type|}}}
| data23     = {{{denonym|}}}
| label24     = Head of State
| label24     = Government Type
| data24     = {{{leader}}}  
| data24     = {{{government_type|}}}
| label25     = Upper House
| label25     = Head of State
| data25     = {{{upperhouse}}}
| data25     = {{{leader|}}}  
| label26     = Lower House
| label26     = Upper House
| data26     = {{{lowerhouse}}}
| data26     = {{{upperhouse|}}}
| label27     = Establishment
| label27     = Lower House
| data27     = {{{establishment}}}
| data27     = {{{lowerhouse|}}}
| label28     = Establishment
| data28     = {{{establishment|}}}
| header74  = {{#if: {{{firstappearance|}}}{{{lastappearance|}}}
                  | {{#if: {{{creator|}}}
                  |Creator(s) and Appearances
                  |Appearances}}
              }}
| data75    = {{{creator|}}}
| label75    = Creator{{Pluralize from text|{{{creator|}}}|likely=(s)|plural=s}}
 
| data76    = {{{firstappearance|}}}
| label76    = First Appearance
 
| data77    = {{{lastappearance|}}}
| label77    = Last Appearance
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 20:19, 7 August 2024

Location Details
Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
Location
[[File:{{{image}}}|frameless|upright=1]]
{{{caption}}}
Location Details
Official Name{{{OfficialName}}}
Alias{{{alias}}}
Universe{{{universe}}}
Galaxy{{{galaxy}}}
Star System{{{starsystem}}}
Planet{{{planet}}}
Continent{{{continent}}}
Country{{{country}}}
City{{{city}}}
State{{{state}}}
Province{{{province}}}
Locale{{{locale}}}
Status{{{status}}}
Capital{{{capital}}}
Largest City{{{largest_city}}}
Official languages{{{official_languages}}}
Recognized Languages{{{recognized_languages}}}
Recognized National Languages{{{recognized_national_languages}}}
Ethnic Groups{{{ethnic_groups}}}
Nationality{{{nationalities}}}
Religion{{{religion}}}
Denonym{{{denonym}}}
Government Type{{{government_type}}}
Head of State{{{leader}}}
Upper House{{{upperhouse}}}
Lower House{{{lowerhouse}}}
Establishment{{{establishment}}}
{{Location
| image                         =
| caption                       =
| OfficialName                  =
| alias                         =
| universe                      =
| galaxy                        =
| starsystem                    =
| planet                        =
| continent                     =
| country                       =
| city                          =
| state                         =
| province                      = 
| locale                        = 
| status                        =
| capital                       =
| largest_city                  =
| official_languages            =
| recognized_languages          =
| recognized_national_languages =
| ethnic_groups                 =
| nationalities                 =
| religion                      =
| denonym                       =
| government_type               =
| leader                        =
| upperhouse                    =
| lowerhouse                    =
| establishment                 =
}}




Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Location]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Template:Location/install.