Difference between revisions of "Template:Infobox islands"
From NSWiki
Todd McCloud (Talk | contribs) m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Infobox | + | {{Infobox |
− | | name = | + | | bodyclass = vcard |
− | | | + | | titleclass = fn org |
− | | image caption = | + | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} |
− | | image size = | + | | above = {{br separated entries<!-- |
− | | locator map = | + | -->|{{#if:{{{local name|}}}<!-- |
− | | | + | -->|<small>{{{local name}}}</small><!-- |
− | | | + | -->|{{#if:{{{native_name|{{{native name|}}}}}}<!-- |
− | | | + | -->|<small>{{#if:{{{native name link|}}}<!-- |
− | | | + | -->|[[{{{native name link}}}|Native name]]<!-- |
− | | | + | -->|Native name<!-- |
− | | | + | -->}}: <span class="nickname" {{#if:{{{native_name_lang|{{{native name lang|}}}}}}|lang="{{{native_name_lang|{{{native name lang}}}}}}}}">{{{native_name|{{{native name}}}}}}</span></small><!-- |
− | | total islands = | + | -->}}<!-- |
− | | major islands = | + | -->}}<!-- |
− | | area km2 = | + | -->|{{#if:{{{nickname|{{{sobriquet|}}}}}}<!-- |
− | | length km = | + | -->|<small>Nickname: {{{nickname|{{{sobriquet|}}}}}}</small><!-- |
− | | width km = | + | -->}}<!-- |
− | | | + | -->}} |
− | | elevation m = | + | |
− | | country = | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image name|}}}|size={{{image size|}}}|sizedefault=frameless|alt={{{image alt|}}}}} |
− | | country admin divisions title = | + | | caption = {{{image caption}}} |
− | | country admin divisions = | + | |
− | | country admin divisions title | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{locator map|}}}|size={{{locator map size|}}}|sizedefault=frameless|alt={{{locator map alt|}}}}} |
− | | country admin divisions 1 = | + | | caption2 = {{{map caption|}}} |
− | | country admin divisions title 2 = | + | |
− | | country admin divisions 2 = | + | | headerstyle = background-color: #cef2e0 |
− | | country largest city = | + | |
− | | country largest city population = | + | | label1 = Etymology |
− | | population = | + | | data1 = {{{etymology|}}} |
− | | population as of = | + | |
− | | density km2 = | + | | header2 = <includeonly>Geography</includeonly> |
− | | ethnic groups = [[ | + | |
− | }} | + | | label3 = Location |
+ | | data3 = {{{location|}}} | ||
+ | |||
+ | | label4 = Coordinates | ||
+ | | data4 = {{{coordinates|}}} | ||
+ | |||
+ | | label5 = Archipelago | ||
+ | | class5 = note | ||
+ | | data5 = {{{archipelago|}}} | ||
+ | |||
+ | | label6 = Adjacent bodies of water | ||
+ | | data6 = {{{waterbody|}}} | ||
+ | |||
+ | | label7 = Total islands | ||
+ | | data7 = {{{total islands|}}} | ||
+ | |||
+ | | label8 = Major islands | ||
+ | | data8 = {{{major islands|}}} | ||
+ | |||
+ | | label9 = Area | ||
+ | | data9 = {{Infobox islands/area| km2 = {{{area km2|{{{area_km2|}}}}}} | sqmi = {{{area sqmi|{{{area_sqmi|}}}}}} | m2 = {{{area m2|{{{area_m2|}}}}}} | sqft = {{{area sqft|{{{area_sqft|}}}}}} | ha = {{{area ha|{{{area_ha|}}}}}} | acre = {{{area acre|{{{area_acre|}}}}}} }}{{{area|}}}{{{area footnotes|}}} | ||
+ | |||
+ | | label10 = [[List of islands by area|Area rank]] | ||
+ | | data10 = {{{rank|}}} | ||
+ | |||
+ | | label11 = Length | ||
+ | | data11 = {{Infobox islands/length | km = {{{length km|{{{length_km|}}}}}} | mi = {{{length mi|{{{length_mi|}}}}}} | m = {{{length m|{{{length_m|}}}}}} | ft = {{{length ft|{{{length_ft|}}}}}} }}{{{length|}}}{{{length footnotes|}}} | ||
+ | |||
+ | | label12 = Width | ||
+ | | data12 = {{#if:{{both|{{{width min km|}}}|{{{width max km|}}}}}<!-- | ||
+ | -->{{both|{{{width min mi|}}}|{{{width max mi|}}}}}<!-- | ||
+ | -->{{both|{{{width min m|}}}|{{{width max m|}}}}}<!-- | ||
+ | -->{{both|{{{width min ft|}}}|{{{width max ft|}}}}}<!-- | ||
+ | -->|{{convert<!-- | ||
+ | -->|{{ifempty|{{{width min km|}}}|{{{width min mi|}}}|{{{width min m|}}}|{{{width min ft|}}}}}<!-- | ||
+ | -->|-<!-- | ||
+ | -->|{{ifempty|{{{width max km|}}}|{{{width max mi|}}}|{{{width max m|}}}|{{{width max ft|}}}}}<!-- | ||
+ | -->|{{#if:{{both|{{{width min km|}}}|{{{width max km|}}}}}<!-- | ||
+ | -->|km<!-- | ||
+ | -->|{{#if:{{both|{{{width min mi|}}}|{{{width max mi|}}}}}<!-- | ||
+ | -->|mi<!-- | ||
+ | -->|{{#if:{{both|{{{width min m|}}}|{{{width max m|}}}}}<!-- | ||
+ | -->|m<!-- | ||
+ | -->|{{#if:{{both|{{{width min ft|}}}|{{{width max ft|}}}}}<!-- | ||
+ | -->|ft}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->|abbr=on}}<!-- | ||
+ | -->|{{Infobox islands/length | km = {{{width km|{{{width_km|}}}}}} | mi = {{{width mi|{{{width_mi|}}}}}} | m = {{{width m|{{{width_m|}}}}}} | ft = {{{width ft|{{{width_ft|}}}}}} }}<!-- | ||
+ | -->}}{{{width|}}}{{{width footnotes|}}} | ||
+ | |||
+ | | label13 = Coastline | ||
+ | | data13 = {{Infobox islands/length | km = {{{coastline km|{{{coastline_km|}}}}}} | mi = {{{coastline mi|{{{coastline_mi|}}}}}} | m = {{{coastline m|{{{coastline_m|}}}}}} | ft = {{{coastline ft|{{{coastline_ft|}}}}}} }}{{{coastline|}}}{{{coastline footnotes|}}} | ||
+ | |||
+ | | label14 = Highest elevation | ||
+ | | data14 = {{Infobox islands/length | m = {{{elevation m|{{{elevation_m|}}}}}} | ft = {{{elevation ft|{{{elevation_ft|}}}}}} }}{{{elevation|}}}{{{elevation footnotes|}}} | ||
+ | |||
+ | | label15 = Highest point | ||
+ | | data15 = {{{highest mount|}}} | ||
+ | |||
+ | <!-- end geography --> | ||
+ | | header21 = {{#if: {{{Country heading|}}} | {{{Country heading}}} | <includeonly>Country</includeonly> }} | ||
+ | |||
+ | | data22 = {{#if:{{{country|}}}|<div>'''{{{country}}}'''</div>}} | ||
+ | |||
+ | | label23 = {{{country admin divisions title|}}} | ||
+ | | data23 = {{{country admin divisions|}}} | ||
+ | |||
+ | | label24 = {{{country admin divisions title 1|}}} | ||
+ | | data24 = {{{country admin divisions 1|}}} | ||
+ | |||
+ | | label25 = {{{country admin divisions title 2|}}} | ||
+ | | data25 = {{{country admin divisions 2|}}} | ||
+ | |||
+ | | label26 = {{{country admin divisions title 3|}}} | ||
+ | | data26 = {{{country admin divisions 3|}}} | ||
+ | |||
+ | | label27 = {{{country admin divisions title 4|}}} | ||
+ | | data27 = {{{country admin divisions 4|}}} | ||
+ | |||
+ | | label28 = Capital city | ||
+ | | data28 = {{{country capital|}}} | ||
+ | |||
+ | | label29 = Largest city | ||
+ | | data29 = {{{country largest city|}}}{{#if: {{{country largest city population|}}}| (pop. {{{country largest city population}}})}} | ||
+ | |||
+ | | label30 = {{{country leader title|}}} | ||
+ | | data30 = {{{country leader name|}}} | ||
+ | |||
+ | | data31 = {{#if:{{{country 1|}}}|<div style="border-top: 1px solid black">'''{{{country 1}}}'''</div>}} | ||
+ | |||
+ | | label32 = {{{country 1 admin divisions title|}}} | ||
+ | | data32 = {{{country 1 admin divisions|}}} | ||
+ | |||
+ | | label33 = Capital city | ||
+ | | data33 = {{{country 1 capital|}}} | ||
+ | |||
+ | | label34 = Largest city | ||
+ | | data34 = {{{country 1 largest city|}}}{{#if: {{{country 1 largest city population|}}}| ({{{country 1 largest city population}}})}} | ||
+ | |||
+ | | label35 = {{{country 1 leader title|}}} | ||
+ | | data35 = {{{country 1 leader name|}}} | ||
+ | |||
+ | | data36 = {{#if:{{{country 2|}}}|<div style="border-top: 1px solid black">'''{{{country 2}}}'''</div>}} | ||
+ | |||
+ | | label37 = {{{country 2 admin divisions title|}}} | ||
+ | | data37 = {{{country 2 admin divisions|}}} | ||
+ | |||
+ | | label38 = Capital city | ||
+ | | data38 = {{{country 2 capital|}}} | ||
+ | |||
+ | | label39 = Largest city | ||
+ | | data39 = {{{country 2 largest city|}}}{{#if: {{{country 2 largest city population|}}}| ({{{country 2 largest city population}}})}} | ||
+ | |||
+ | | label40 = {{{country 2 leader title|}}} | ||
+ | | data40 = {{{country 2 leader name|}}} | ||
+ | |||
+ | | data41 = {{#if:{{{country 3|}}}|<div style="border-top: 1px solid black">'''{{{country 3}}}'''</div>}} | ||
+ | |||
+ | | label42 = {{{country 3 admin divisions title|}}} | ||
+ | | data42 = {{{country 3 admin divisions|}}} | ||
+ | |||
+ | | label43 = Capital city | ||
+ | | data43 = {{{country 3 capital|}}} | ||
+ | |||
+ | | label44 = Largest city | ||
+ | | data44 = {{{country 3 largest city|}}}{{#if: {{{country 3 largest city population|}}}| ({{{country 3 largest city population}}})}} | ||
+ | |||
+ | | label45 = {{{country 3 leader title|}}} | ||
+ | | data45 = {{{country 3 leader name|}}} | ||
+ | |||
+ | | data46 = {{#if:{{{country 4|}}}|<div style="border-top: 1px solid black">'''{{{country 4}}}'''</div>}} | ||
+ | |||
+ | | label47 = {{{country 4 admin divisions title|}}} | ||
+ | | data47 = {{{country 4 admin divisions|}}} | ||
+ | |||
+ | | label48 = Capital city | ||
+ | | data48 = {{{country 4 capital|}}} | ||
+ | |||
+ | | label49 = Largest city | ||
+ | | data49 = {{{country 4 largest city|}}}{{#if: {{{country 4 largest city population|}}}| ({{{country 4 largest city population}}})}} | ||
+ | |||
+ | | label50 = {{{country 4 leader title|}}} | ||
+ | | data50 = {{{country 4 leader name|}}} | ||
+ | |||
+ | | data51 = {{#if:{{{country 5|}}}|<div style="border-top: 1px solid black">'''{{{country 5}}}'''</div>}} | ||
+ | |||
+ | | label52 = {{{country 5 admin divisions title|}}} | ||
+ | | data52 = {{{country 5 admin divisions|}}} | ||
+ | |||
+ | | label53 = Capital city | ||
+ | | data53 = {{{country 5 capital|}}} | ||
+ | |||
+ | | label54 = Largest city | ||
+ | | data54 = {{{country 5 largest city|}}}{{#if: {{{country 5 largest city population|}}}| ({{{country 5 largest city population}}})}} | ||
+ | |||
+ | | label55 = {{{country 5 leader title|}}} | ||
+ | | data55 = {{{country 5 leader name|}}} | ||
+ | |||
+ | | data56 = {{#if:{{{country 6|}}}|<div style="border-top: 1px solid black">'''{{{country 6}}}'''</div>}} | ||
+ | |||
+ | | label57 = {{{country 6 admin divisions title|}}} | ||
+ | | data57 = {{{country 6 admin divisions|}}} | ||
+ | |||
+ | | label58 = Capital city | ||
+ | | data58 = {{{country 6 capital|}}} | ||
+ | |||
+ | | label59 = Largest city | ||
+ | | data59 = {{{country 6 largest city|}}}{{#if: {{{country 6 largest city population|}}}| ({{{country 6 largest city population}}})}} | ||
+ | |||
+ | | label60 = {{{country 6 leader title|}}} | ||
+ | | data60 = {{{country 6 leader name|}}} | ||
+ | |||
+ | | data61 = {{#if:{{{country 7|}}}|<div style="border-top: 1px solid black">'''{{{country 7}}}'''</div>}} | ||
+ | |||
+ | | label62 = {{{country 7 admin divisions title|}}} | ||
+ | | data62 = {{{country 7 admin divisions|}}} | ||
+ | |||
+ | | label63 = Capital city | ||
+ | | data63 = {{{country 7 capital|}}} | ||
+ | |||
+ | | label64 = Largest city | ||
+ | | data64 = {{{country 7 largest city|}}}{{#if: {{{country 7 largest city population|}}}| ({{{country 7 largest city population}}})}} | ||
+ | |||
+ | | label65 = {{{country 7 leader title|}}} | ||
+ | | data65 = {{{country 7 leader name|}}} | ||
+ | |||
+ | | data66 = {{#if:{{{country 8|}}}|<div style="border-top: 1px solid black">'''{{{country 8}}}'''</div>}} | ||
+ | |||
+ | | label67 = {{{country 8 admin divisions title|}}} | ||
+ | | data67 = {{{country 8 admin divisions|}}} | ||
+ | |||
+ | | label68 = Capital city | ||
+ | | data68 = {{{country 8 capital|}}} | ||
+ | |||
+ | | label69 = Largest city | ||
+ | | data69 = {{{country 8 largest city|}}}{{#if: {{{country 8 largest city population|}}}| ({{{country 8 largest city population}}})}} | ||
+ | |||
+ | | label70 = {{{country 8 leader title|}}} | ||
+ | | data70 = {{{country 8 leader name|}}} | ||
+ | |||
+ | <!-- end administration --> | ||
+ | |||
+ | | header71 = {{#if:{{{demonym|}}}{{{population|}}}{{{density|}}}{{{density km2|{{{density_km2|}}}}}}{{{density sqmi|{{{density_sqmi|}}}}}}{{{ethnic groups|}}}|Demographics}} | ||
+ | |||
+ | | label72 = Demonym | ||
+ | | data72 = {{{demonym|}}} | ||
+ | |||
+ | | label73 = Population | ||
+ | | data73 = {{{population|}}} {{#if:{{{population as of|}}}|<small>(as of {{{population as of}}})</small>}}{{{population footnotes|}}} | ||
+ | |||
+ | | label74 = [[List of islands by population|Population rank]] | ||
+ | | data74 = {{#if:{{{population rank|{{{population_rank|}}}}}}|{{{population_rank|{{{population rank}}}}}} {{#if:{{{population rank max|{{{population_rank_max|}}}}}}|out of {{{population rank max|{{{population_rank_max}}}}}} }} }} | ||
+ | |||
+ | | label75 = Density | ||
+ | | data75 = {{Infobox islands/density| km2 = {{{density km2|{{{density_km2|}}}}}}| sqmi = {{{density sqmi|{{{density_sqmi|}}}}}} }}{{{density|}}}{{{density footnotes|}}} | ||
+ | |||
+ | | label76 = [[List of islands by population density|Density rank]] | ||
+ | | data76 = {{{density rank|{{{density_rank|}}}}}} | ||
+ | |||
+ | | label77 = Ethnic groups | ||
+ | | data77 = {{{ethnic groups|}}} | ||
+ | |||
+ | <!-- end demographics --> | ||
+ | |||
+ | | header78 = {{#if:{{{website|}}}{{{additional info|}}}|Additional information}} | ||
+ | |||
+ | | label79 = Official website | ||
+ | | data79 = {{{website|}}} | ||
+ | |||
+ | | data83 = {{{additional info|}}} | ||
+ | }}{{Main other|{{#ifeq:{{{area|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|a {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{{length|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|l {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{{width|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|w {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{{coastline|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|c {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{{elevation|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|e {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{{density|μ}}}|μ||[[Category:Infobox islands using deprecated parameters|d {{PAGENAME}}]] | ||
+ | }}{{#ifeq:{{ucfirst:{{{country admin divisions title}}}}}|Country|[[Category:Infobox islands using deprecated parameters|C {{PAGENAME}}]] | ||
+ | }}}}<noinclude> | ||
+ | {{Documentation}} | ||
+ | <!-- categories and interwiki links go in /doc, not here --> | ||
+ | </noinclude> |
Latest revision as of 01:52, 23 July 2014
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |