Template:Infobox U.S. state and Template:Infobox U.S. state/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Theolaa (talk | contribs)
Made "United States" into a link
Tags: Manual revert Mobile edit Mobile web edit
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{Infobox settlement
<includeonly>{{Infobox settlement/sandbox
| name = {{{name|}}}
| name = {{{name|}}}
| official_name = {{{official_name|}}}
| official_name = {{{official_name|}}}
Line 30: Line 30:
<!-- location -->
<!-- location -->
| subdivision_type = Country
| subdivision_type = Country
| subdivision_name = [[United States]]<!-- the name of the country -->
| subdivision_name = United States<!-- the name of the country -->
<!-- established -->
<!-- established -->
| established_title1 = Before statehood
| established_title1 = Before statehood
Line 38: Line 38:
<!-- seat, smaller parts -->
<!-- seat, smaller parts -->
| seat_type = {{#ifeq:{{{LargestCity}}}|capital|[[List of capitals in the United States|Capital]]<br/>{{nobold|([[List of largest cities of U.S. states and territories by population|and largest city]])}}|[[List of capitals in the United States|Capital]]}}
| seat_type = {{#ifeq:{{{LargestCity}}}|capital|[[List of capitals in the United States|Capital]]<br/>{{nobold|([[List of largest cities of U.S. states and territories by population|and largest city]])}}|[[List of capitals in the United States|Capital]]}}
| seat = {{{seat|{{{Capital|}}}}}}
| seat = {{{seat|}}}
| seat1_type = [[List of largest cities of U.S. states and territories by population|Largest city]]
| seat1_type = [[List of largest cities of U.S. states and territories by population|Largest city]]
| seat2_type = [[List of the most populous counties by U.S. state|Largest county or equivalent]]
| seat2 = {{{LargestCounty|}}}
| seat1 = {{#ifeq:{{{LargestCity}}}|capital||{{{LargestCity}}}}}
| seat1 = {{#ifeq:{{{LargestCity}}}|capital||{{{LargestCity}}}}}
| seat2_type = [[List of the most populous counties by U.S. state|Largest county or equivalent]]
| seat2 = {{{LargestCounty|}}}
| parts_type = [[statistical area (United States)|Largest metro]] and [[List of United States urban areas|urban]] areas
| parts_type = [[statistical area (United States)|Largest metro]] and [[List of United States urban areas|urban]] areas
| parts_style = <!-- list, coll (collapsed list), para (paragraph format) -->
| parts_style = <!-- list, coll (collapsed list), para (paragraph format) -->
Line 115: Line 115:
| population_blank2_title = Income rank
| population_blank2_title = Income rank
| population_blank2 = {{{IncomeRank|}}}
| population_blank2 = {{{IncomeRank|}}}
| population_blank3_title = [[Gross domestic product|GDP]]&nbsp;{{nobold|(nominal)}} {{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate
| population_blank3= {{{GDP_nominal|}}}{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of U.S. states and territories by GDP)|{{{GDP_nominal_rank}}}]])}}
| population_blank4_title= [[Gross domestic product|GDP]]&nbsp;{{nobold|(nominal)}} per capita
| population_blank4= {{{GDP_nominal_per_capita|}}}<!--
-->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of U.S. states and territories by GDP)|{{{GDP_nominal_per_capita_rank}}}]])}}
| population_blank5_title = [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;{{nobold|1=({{{HDI_year}}})}}}}
| population_blank5= {{#if:{{{HDI|}}}{{{HDI_ref|}}}|{{{HDI|}}}{{{HDI_ref|}}}<br/>}}<!--
---------Evaluate and add HDI category:---------
-->{{nowrap|1=<!--
-->{{#iferror:<!--
-->{{#ifexpr:{{{HDI}}}>1 <!--
-->| {{error|Error: HDI value greater than 1}}<!--Handled by outer #iferror, not visible to users--><!--
-->| {{#ifexpr:{{{HDI}}}>0.799 <!--
-->| {{color|darkgreen|very high}}<!--
-->| {{#ifexpr:{{{HDI}}}>0.699 <!--
-->| {{color|forestgreen|high}}<!--
-->| {{#ifexpr:{{{HDI}}}>0.549 <!--
-->| {{color|orange|medium}}<!--
-->| {{#ifexpr:{{{HDI}}}>=0.000<!--
-->| {{color|red|low}}<!--
-->| {{error|Error: HDI value less than 0}}<!--Handled by outer #iferror, not visible to users--><!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->| {{error|Error: Invalid HDI value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!--
-->}}<!--
-->}}<!--
----------Add HDI_rank (if supplied):-----------
-->{{#if:{{{HDI_rank|}}}
|&nbsp;·&nbsp;[[List of U.S. states and territories by Human Development Index|{{{HDI_rank}}}]]<!--
-->}}
| population_demonym = {{{population_demonym|}}}<!-- demonym, e.g. Liverpudlian for someone from Liverpool -->
| population_demonym = {{{population_demonym|}}}<!-- demonym, e.g. Liverpudlian for someone from Liverpool -->
<!-- demographics (section 1) -->
<!-- demographics (section 1) -->
Line 148: Line 181:
| footnotes = {{{footnotes|}}}
| footnotes = {{{footnotes|}}}
| module = {{{module|}}}
| module = {{{module|}}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox U.S. state with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox U.S. state]] with unknown parameter "_VALUE_"|ignoreblank=y| 2000Density | 2000DensityUS | 2000Pop | 2010Density | 2010DensityUS | 2010Pop | 2020Density | 2020DensityUS | 2020Pop | AdmittanceDate | AdmittanceOrder | anthem | area_footnotes | area_land_km2 | area_land_sq_mi | area_rank | area_total_km2 | area_total_sq_mi | area_water_km2 | area_water_percent | area_water_sq_mi | Capital | dimensions_footnotes | elevation_footnotes | elevation_ft | elevation_m | elevation_max_footnotes | elevation_max_ft | elevation_max_m | elevation_max_point | elevation_min_ft | elevation_min_m | elevation_min_point | etymology | flag_alt | flag_border | flag_link | flag_size | footnotes | Former | government_footnotes | Governor | image_flag | image_map | image_seal | IncomeRank | iso_code | Judiciary | Languages | LargestCity | LargestCounty | LargestMetro | Latitude | Legislature | length_km | length_mi | Lieutenant Governor | Lieutenant Governor_alt | Longitude | Lowerhouse | map_alt | MedianHouseholdIncome | module | motto | name | native_name | nickname | nicknames | official_name | OfficialLang | OfficialLangs | population_as_of | population_demonym | population_density_rank | population_rank | postal_code | Representative | seal_alt | seal_link | seal_size | seat | Senators | timezone1 | timezone1_DST | timezone1_location | timezone2 | timezone2_DST | timezone2_location | TradAbbreviation | type | Upperhouse | utc_offset1 | utc_offset1_DST | utc_offset2 | utc_offset2_DST | website | width_km | width_mi }}<noinclude>{{documentation}}</noinclude>