Template:Location: Difference between revisions
Jump to navigation
Jump to search
Revo admin (talk | contribs) mNo edit summary |
Revo admin (talk | contribs) 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 | | 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|}}}}}}}}} | ||
| | | label2 = Official Name | ||
| | | data2 = {{{OfficialName|}}} | ||
| | | label3 = Alias{{Pluralize from text|{{{alias|}}}|likely=(s)|plural=es}} | ||
| | | data3 = {{{alias|}}} | ||
| header1 = Location Details | | header1 = Location Details | ||
| | | label4 = Universe | ||
| | | data4 = {{{universe|}}} | ||
| | | label5 = Galaxy | ||
| | | data5 = {{{galaxy|}}} | ||
| | | label6 = Star System | ||
| | | data6 = {{{starsystem|}}} | ||
| | | label7 = Planet | ||
| | | data7 = {{{planet|}}} | ||
| | | label8 = Continent | ||
| | | data8 = {{{continent|}}} | ||
| | | label9 = Country | ||
| | | data9 = {{{country|}}} | ||
| | | label10 = City | ||
| | | data10 = {{{city|}}} | ||
| | | label11 = State | ||
| | | data11 = {{{state|}}} | ||
| | | label12 = 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 languages | | label17 = Official languages | ||
Line 42: | Line 42: | ||
| label18 = <span style="font-weight:normal;">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}} Languages</span> | | label18 = <span style="font-weight:normal;">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}} Languages</span> | ||
| data18 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }} | | data18 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }} | ||
| label19 = <span style="font-weight:normal;">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} National Languages</span> | | label19 = <span style="font-weight:normal;">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} National 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 = | | label21 = Nationality | ||
| | | data21 = {{{nationalities|}}} | ||
| | | label22 = Religion | ||
| | | data22 = {{{religion|}}} | ||
| | | label23 = Denonym{{Pluralize from text|{{{denonym|}}}|likely=(s)|plural=s}} | ||
| | | data23 = {{{denonym|}}} | ||
| | | label24 = Government Type | ||
| | | data24 = {{{government_type|}}} | ||
| | | label25 = Head of State | ||
| | | data25 = {{{leader|}}} | ||
| | | label26 = Upper House | ||
| | | data26 = {{{upperhouse|}}} | ||
| | | label27 = Lower House | ||
| | | 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.
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.
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]] | |
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.