Template:Infobox place geography/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox place geography{{#if:||.}} It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Template:Infobox place geography | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
File:Lua-Logo.svg | This template uses Lua: |
Usage[edit source]
[[File:{{{image name}}}|{{{image size}}}|alt={{{image alt}}}|upright=1.16]] | |
[[File:{{{map}}}|{{{map size}}}|alt={{{map_alt}}}|upright=1.16]] | |
Continent | {{{continent}}} |
---|---|
Region | {{{region}}} |
Coordinates | {{{coordinates}}} |
Area | {{#if:{{{area ranking}}}
|Ranked {{{area ranking}}} |{{#if:100{{{miles area}}}{{{percent land}}}{{{percent water}}}|}}}} |
• Total | {{#if:100
|100 km2 (39 sq mi) |{{#if:{{{miles area}}} |[convert: invalid number] }}}} |
• Land | {{#if:{{{percent land}}}
|{{{percent land}}}% |{{#if:{{{percent water}}} |{{#expr: 100-{{{percent water}}} round 5}}% }}}} |
• Water | {{#if:{{{percent water}}}
|{{{percent water}}}% |{{#if:{{{percent land}}} |{{#expr: 100-{{{percent land}}} round 5}}% }}}} |
Coastline | {{#if:100
|100 km (62 mi) |{{#if:{{{miles coastline}}} |[convert: invalid number] }}}} |
Borders | {{{borders}}} |
Highest point | {{{highest point}}} |
Lowest point | {{{lowest point}}} |
Longest river | {{{longest river}}} |
Largest lake | {{{largest lake}}} |
Climate | {{{climate}}} |
Terrain | {{{terrain}}} |
Natural resources | {{{natural resources}}} |
Natural hazards | {{{natural hazards}}} |
Environmental issues | {{{environmental issues}}} |
Exclusive economic zone | {{{exclusive economic zone}}} |
{{#if:{{{references}}}|References}} | |
{{{references}}} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox place geography/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}
{{Infobox place geography | name = | image name = | image size = | image caption = | image alt = | map = | map size = | map_alt = | continent = | region = | coordinates = <!-- Use {{Coord}} --> | area ranking = | km area = | miles area = | percent land = | percent water = | km coastline = | miles coastline = | exclusive economic zone = | borders = | highest point = | lowest point = | longest river = | largest lake = | climate = | terrain = | natural resources = | natural hazards = | environmental issues = }}
TemplateData[edit source]
style="background: #{{#switch:
{{#if: |
{{{demospace}}} | main | other
}} }} |
main = F0F2F5 | other | #default = CCFFCC
}}; font-size:87%; padding:0.2em 0.3em; text-align:{{safesubst:#if:|left|{{safesubst:#if:|left|center}}}}; {{safesubst:#if:|color: {{{fc}}};|}}" | TemplateData documentation used by VisualEditor and other tools
{{safesubst:#if: |
- | The following is a closed discussion. Template:Strongbad }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{#if:1|{{#switch:
|
=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox place geography|Template:Infobox place geography|this template}} in articles{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox place geography|Template:Infobox place geography|Template:Infobox place geography}}{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}}. |
#default=[1]{{#ifeq:{{safesubst:#switch: y | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch: |
=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox place geography|Template:Infobox place geography|this template}} in articles{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+place+geography%7CInfobox+place+geography%7CInfobox+place+geography%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox place geography|Template:Infobox place geography|Template:Infobox place geography}}{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}}. |
#default=[2]{{#ifeq:{{safesubst:#switch: y | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox place geography|its|this}} TemplateData}} }}}} TemplateData for Infobox place geography {{#switch:{{#if: |
{{{demospace}}} | Template | template | other
}} }} |
sandbox|1}}{{#ifeq:doc|doc|1}} |
}} |
other | #default =
}} <templatedata> { "params": { "name": {}, "image": {}, "image name": {}, "image size": {}, "image alt": {}, "image caption": {}, "map": {}, "map size": {}, "map_alt": {}, "continent": {}, "region": {}, "coordinates": {}, "area ranking": {}, "km area": {}, "miles area": {}, "percent land": {}, "percent water": {}, "km coastline": {}, "miles coastline": {}, "borders": {}, "highest point": {}, "lowest point": {}, "longest river": {}, "largest lake": {}, "climate": {}, "terrain": {}, "natural resources": {}, "natural hazards": {}, "environmental issues": {}, "exclusive economic zone": {} }, "paramOrder": [ "name", "image", "image name", "image size", "image alt", "image caption", "map", "map size", "map_alt", "continent", "region", "coordinates", "area ranking", "km area", "miles area", "percent land", "percent water", "km coastline", "miles coastline", "exclusive economic zone", "borders", "highest point", "lowest point", "longest river", "largest lake", "climate", "terrain", "natural resources", "natural hazards", "environmental issues" ] } </templatedata> |
Tracking category[edit source]