Jump to content

Template:Native name/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:Native name
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

Lua error in Module:Navbar at line 58: Invalid title {{#if: |{{{templatename}}} |Language templates }}.

An inline formatting template, based on {{Lang}}, for indicating the official/defacto/dominant name (first language - the main language that people use in a region or country) other than English. By default, the native name is displayed in italics, followed by the language's name in parentheses.

The template's defaults can be overridden and the parenthesis excluded, in which case there may be no visible changes to the text where it's used. An HTML {{#switch:o

 |c|close =
 |e|empty|s|single|v|void
 |o|open
 |p|pair = <{{#if:|[[HTML element#span|span]]|span}}{{#if:| {{{attribs}}}}}
}}{{#switch:o
 |c|close = 
 |e|empty|s|single|v|void =  />
 |o|open = >
 |p|pair = {{#ifeq:span|!--||>}}...
}}{{#switch:o
 |e|empty|s|single|v|void
 |o|open =
 |c|close
 |p|pair = {{#ifeq:span|!--|-->|</span>}}
}}, however, still identifies the native name as a linguistic element, meaning that web browsers and screen readers can select a particular font, formatting, pronunciation, etc., for it.

For multiple native names, use {{native name list}}

Syntax

Parameters

Parameter name Description and examples Required
[first unnamed] The IETF language tag code for the native language. French, for instance, is "fr"; Spanish is "es"; Arabic is "ar"; etc. yes
[second unnamed] The native name, in the native language (with accents, etc.). yes
<syntaxhighlight lang="text" class="" style="" inline="1">italics</syntaxhighlight>
(or <syntaxhighlight lang="text" class="" style="" inline="1">italic</syntaxhighlight>){{SAFESUBST:#if:(or <syntaxhighlight lang="text" class="" style="" inline="1">italic</syntaxhighlight>)
}} Set to "off" or "no" to disable displaying the native name in italics.

Example: |{{SAFESUBST:#if:italics|italics=}}off

no
<syntaxhighlight lang="text" class="" style="" inline="1">paren</syntaxhighlight>
(or <syntaxhighlight lang="text" class="" style="" inline="1">icon</syntaxhighlight>){{SAFESUBST:#if:(or <syntaxhighlight lang="text" class="" style="" inline="1">icon</syntaxhighlight>)
}} Set to "omit", "off" or "no" to suppress the appearance of the native language's name in a parenthesis after the native name.

Example: |{{SAFESUBST:#if:paren|paren=}}omit

no
<syntaxhighlight lang="text" class="" style="" inline="1">parensize</syntaxhighlight>
(previously <syntaxhighlight lang="text" class="" style="" inline="1">fontsize</syntaxhighlight>){{SAFESUBST:#if:(previously <syntaxhighlight lang="text" class="" style="" inline="1">fontsize</syntaxhighlight>)
}} Use to specify a font-size for the parenthesis. Per MOS:FONTSIZE, do not make this text smaller in infoboxes, since the text is already at 88% of normal.

Example: |{{SAFESUBST:#if:parensize|parensize=}}90%

no
<syntaxhighlight lang="text" class="" style="" inline="1">nolink</syntaxhighlight> Set to anything (e.g. "on") to suppress the appearance of the native language's name as a link. no
<syntaxhighlight lang="text" class="" style="" inline="1">script</syntaxhighlight> (deprecated) when needed, include ISO 15924 in {{{1}}} IETF language tag; e.g. 'sr-Cyrl' Specifies the ISO 15924 script. E.g. "Cyrl", "Arab", "Hans"... no

Examples

  • Code and result for the same name "Deutschland" above but with italics switched off, nolink switched on and a parensize of 90%:
    • {{Native name|de|Deutschland|italics=off|nolink=on|parensize=90%}} –> Deutschland (German)
  • Retaining no italics but suppressing the parenthesis which produces the same as if the {{lang}} template had been used:
    • {{Native name|de|Deutschland|italics=off|paren=omit}} –> Deutschland
  • Language is not known

Other examples

Code Result
{{Infobox settlement
| name = The Hague
| native_name = {{Native name|nl|Den Haag}}
}}

{{safesubst:#switch:

 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = Script error: No such module "Settlement short description". other #default = }}
The Hague
{{#if:Den Haag (Dutch)|
Den Haag (Dutch)
}}{{#if:|
{{{other_name}}}
}}
{{#if:|
{{{type}}}
}}
{{#if:The Hague|}}
{{#if:|{{{translit_lang1}}} transcription(s)}}
 • {{{translit_lang1_type}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type1}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type2}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type3}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type4}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type5}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang1_type6}}}{{#if:|{{#if:|}}}}
{{#if:|{{{translit_lang2}}} transcription(s)}}
 • {{{translit_lang2_type}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type1}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type2}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type3}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type4}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type5}}}{{#if:|{{#if:|}}}}
 • {{{translit_lang2_type6}}}{{#if:|{{#if:|}}}}
{{#if:|{{#if:|
}} }}
{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}} Template:Infobox settlement/columns }}
{{#if:|Etymology: {{{etymology}}} }}
{{#if:|Nickname: 
{{safesubst:#switch:
 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default = }}}}
{{#if:|Motto: 
{{safesubst:#switch:
 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default = }}}}
{{#if:|{{#if:|[[|Anthem:]]|Anthem:}} {{{anthem}}}}}
{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}||{{#if: [[File:{{{image_map}}}|250px|Location of The Hague]]{{#if:|
{{{map_caption}}}
}} }}}}
{{#if:|[[File:{{{image_map1}}}|250px|Location of The Hague]]{{#if:|
{{{map_caption1}}}
}} }}
{{#if:||{{#if:{{SAFESUBST:#if: |{{SAFESUBST:#if: |1}}}}|

Lua error in Module:Location_map at line 415: attempt to index field 'wikibase' (a nil value).

}} }}
{{#if:|{{#if:| ()}}: }}}}
{{{subdivision_type}}}{{#if:| }}
{{{subdivision_type1}}}{{#if:| }}
{{{subdivision_type2}}}{{#if:| }}
{{{subdivision_type3}}}{{#if:| }}
{{{subdivision_type4}}}{{#if:| }}
{{{subdivision_type5}}}{{#if:| }}
{{{subdivision_type6}}}{{#if:| }}
{{{established_title1}}}{{#if:| }}
{{{established_title2}}}{{#if:| }}
{{{established_title3}}}{{#if:| }}
{{{established_title4}}}{{#if:| }}
{{{established_title5}}}{{#if:| }}
{{{established_title6}}}{{#if:| }}
{{{established_title7}}}{{#if:| }}
{{{extinct_title}}}{{#if:| }}
Boroughs{{#if: para {{SAFESUBST:#if:|1}}}}|: |}} {{{parts}}}
   }}
}} }}
{{#if:|Government
}}
 • {{{leader_title}}}{{#if:| {{#if:|(Template:Polparty)}}}}
 • {{{leader_title1}}}{{#if:|}}
 • {{{leader_title2}}}{{#if:|}}
 • {{{leader_title3}}}{{#if:|}}
 • {{{leader_title4}}}{{#if:|}}
 • {{{leader_title5}}}{{#if:|}}
{{{government_blank1_title}}}{{#if:|}}
{{{government_blank2_title}}}{{#if:|}}
{{{government_blank3_title}}}{{#if:|}}
{{{government_blank4_title}}}{{#if:|}}
{{{government_blank5_title}}}{{#if:|}}
{{{government_blank6_title}}}{{#if:|}}
{{#if:  |1}}|{{SAFESUBST:#if:|1}}}} Area
 }}
}}
{{#if:{{SAFESUBST:#if:{{#ifeq:{{{total_type}}}| |1}}|{{SAFESUBST:#if:|1}}}}
Area
{{{total_type}}}|{{#if:|{{#if:|{{{type}}}|City}}|Total}}}} }}{{#if: Template:Infobox settlement/areadisp}}
 • Land{{#if: Template:Infobox settlement/areadisp}}
 • Water{{#if: Template:Infobox settlement/areadisp {{#if:|  {{{area_water_percent}}}{{#ifeq:%|String Module Error: String subset index out of range %}}}}}}
 • Urban
{{#if: Template:Infobox settlement/areadisp}}
 • Rural
{{#if: Template:Infobox settlement/areadisp}}
 • Metro
{{#if: Template:Infobox settlement/areadisp}}
 • {{{area_blank1_title}}}{{#if: Template:Infobox settlement/areadisp}}
 • {{{area_blank2_title}}}{{#if: Template:Infobox settlement/areadisp}}
{{#if:|Dimensions
}}
 • Length{{#if: Template:Infobox settlement/lengthdisp }}
 • Width{{#if: Template:Infobox settlement/lengthdisp }}
{{#if:|[[|Elevation]]|Elevation}}
{{#if:| ({{{elevation_point}}})}}
{{#if: Template:Infobox settlement/lengthdisp }}
Highest elevation
{{#if:| ({{{elevation_max_point}}})}}
{{#if: Template:Infobox settlement/lengthdisp }}
 • Rank{{#if:| }}
Lowest elevation
{{#if:| ({{{elevation_min_point}}})}}
{{#if: Template:Infobox settlement/lengthdisp }}
 • Rank{{#if:|}}
Population
{{#if:|{{#iferror:{{#expr:1}}
{{#switch:{{{1}}} fig=  en=  em=  thin=  hair=   
  }}
{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}
}}({{{population_as_of}}})}}
{{#ifeq:{{{total_type}}}|  {{#if: {{{population_total}}}
     }}
}}
{{#ifeq:{{{total_type}}}|  {{#if: {{#iferror:{{#expr:1}} {{#switch:{{{1}}} fig=  en=  em=  thin=  hair=   
  }}
{{#switch:{{{2}}} fig=  en=  em=  thin=  hair=   
  }}
}}({{{population_as_of}}})}}
   }}
}}
 • {{#if:|{{{total_type}}}|{{#if:|{{#if:|{{{type}}}|City}}|Total}}}}
{{#ifeq:{{{total_type}}}|  {{#if: {{{population_total}}}
   }}
}}
 • Estimate {{#if:|
({{{pop_est_as_of}}})
}}
{{#if:|{{{population_est}}} }}
 • Density{{#if: Template:Infobox settlement/densdisp}}
 • Urban
{{#if:| {{{population_urban}}} }}
 • Urban density{{#if: Template:Infobox settlement/densdisp}}
 • Rural
{{#if:|{{{population_rural}}}}}
 • Rural density{{#if: Template:Infobox settlement/densdisp}}
 • Metro
{{#if:| {{{population_metro}}} }}
 • Metro density{{#if: Template:Infobox settlement/densdisp}}
 • 
{{#if:|{{{population_blank1}}}}}
 • {{#if:|{{{population_blank1_title}}} density|Density}}{{#if: Template:Infobox settlement/densdisp}}
 • 
{{#if:|{{{population_blank2}}}}}
 • {{#if:|{{{population_blank2_title}}} density|Density}}{{#if: Template:Infobox settlement/densdisp}}
Demonym{{safesubst:#switch:
 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default = }}
{{#if: {{{demographics_type1}}}
}}
 • {{{demographics1_title1}}}{{#if: }}}}
 • {{{demographics1_title2}}}{{#if: }}}}
 • {{{demographics1_title3}}}{{#if: }}}}
 • {{{demographics1_title4}}}{{#if: }}}}
 • {{{demographics1_title5}}}{{#if: }}}}
 • {{{demographics1_title6}}}{{#if: }}}}
 • {{{demographics1_title7}}}{{#if: }}}}
 • {{{demographics1_title8}}}{{#if: }}}}
 • {{{demographics1_title9}}}{{#if: }}}}
 • {{{demographics1_title10}}}{{#if: }}}}
{{#if: {{{demographics_type2}}}
}}
 • {{{demographics2_title1}}}{{#if: }}}}
 • {{{demographics2_title2}}}{{#if: }}}}
 • {{{demographics2_title3}}}{{#if: }}}}
 • {{{demographics2_title4}}}{{#if: }}}}
 • {{{demographics2_title5}}}{{#if: }}}}
 • {{{demographics2_title6}}}{{#if: }}}}
 • {{{demographics2_title7}}}{{#if: }}}}
 • {{{demographics2_title8}}}{{#if: }}}}
 • {{{demographics2_title9}}}{{#if: }}}}
 • {{{demographics2_title10}}}{{#if: }}}}
{{#if:|{{#if:|Time zones|Time zone}}|}}
{{#if:|{{{timezone1_location}}}|{{#if:|{{{timezone2_location}}}|{{#if:|Time zones|Time zone}}}}}}{{#if: [[UTC{{{utc_offset}}}]] {{#if:|({{{timezone}}})}} }}
 • Summer (DST){{#if: UTC {{#if:|({{{timezone_DST}}})}} }}
{{#if: {{#if: UTC {{#if:|({{{timezone2}}})}}
  }}
}}
 • Summer (DST){{#if:|UTC {{#if:|()}} }}
{{#if: {{#if: UTC {{#if:|({{{timezone3}}})}}
  }}
}}
 • Summer (DST){{#if:|UTC {{#if:|()}} }}
{{#if: {{#if: UTC {{#if:|({{{timezone4}}})}}
  }}
}}
 • Summer (DST){{#if:|UTC {{#if:|()}} }}
{{#if: {{#if: UTC {{#if:|({{{timezone5}}})}}
  }}
}}
 • Summer (DST){{#if:|UTC {{#if:|()}} }}
{{#if:|
{{{postal_code}}}
}}
{{#if:|
{{{postal2_code}}}
}}
Area code{{#if:||{{safesubst:#switch:
 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default = }}}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{{blank_name_sec2}}}{{#if:|}}
{{{blank1_name_sec2}}}{{#if:|}}
{{{blank2_name_sec2}}}{{#if:|}}
{{{blank3_name_sec2}}}{{#if:|}}
{{{blank4_name_sec2}}}{{#if:|}}
{{{blank5_name_sec2}}}{{#if:|}}
{{{blank6_name_sec2}}}{{#if:|}}
{{{blank7_name_sec2}}}{{#if:|}}
Website{{#if:|{{{website}}}}}
{{#if:|{{{module}}}}}
{{#switch:
 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default =

}}{{#if:

}}{{safesubst:#switch:

 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = {{#if: }}{{#if: }}{{#if:|{{#if: }}}}{{#if: }}{{#if:|}} other #default =

}}{{#ifexpr:0 >2 |{{safesubst:#switch:

 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default =

}}}}

{{Infobox country
| conventional_long_name = French Republic
| native_name = {{Native name|fr|République française|paren=omit}}
}}
{{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: |
{{#if:French RepublicRépublique française {{#if:French Republic
French Republic
       }}{{#if:République française
République française
{{#if:
}}
              }}{{#ifeq:|yes
Micronation
       }}
{{{life_span}}} | {{#if:|{{{year_start}}}{{#if:|–{{{year_end}}} }} }} }}
{{#if: {{SAFESUBST:#if:|1}}}}|
{{#if:|
}}{{#if:|
}}
{{#ifexist:Flag of Native name/doc |Flag |Flag }}
{{#ifexist:Coat of arms of Native name/doc | Coat of arms |Coat of arms }}
   {{#if:|
{{#if:|
}}{{#if:|
}}
{{#ifexist:Flag of Native name/doc |Flag |Flag }}
   }}
   {{#if:|
{{#ifexist:Coat of arms of Native name/doc | Coat of arms |Coat of arms }}
   }}
}} }}
{{#if:
{{{englishmotto}}}
}} }}
{{#if: Anthem: 
       }}{{#if:
Anthems: {{{anthems}}}
       }}{{#if:
Royal anthem: {{{royal_anthem}}}
       }}{{#if:
Flag anthem: {{{flag_anthem}}}
       }}{{#if:
National march: {{{national_march}}}
       }}{{#if:
Territorial anthem: {{{territorial_anthem}}}
       }}{{#if:
Regional anthem: {{{regional_anthem}}}
       }}{{#if:
State anthem: {{{state_anthem}}}
       }}{{#if:
March: {{{march}}}
}}
{{#if: {{#if: '
}}
}}
{{#if:
}} }}
{{#if:
}} }}
Status{{#if:|{{#if: | |{{#switch: Empire= Nomadic Empire=Nomadic empire Ancient Chinese State=Ancient Chinese state Federal= Confederation= State Union |Union= Special territory= Unrecognised state |Unrecognized State |Unrecognised State Unrecognised=Unrecognized state City-State |City state |City State City={{#if: Holy Roman Empire |HRE=Free Imperial City of the Holy Roman Empire {{#if:|{{#ifexpr:>1806|
(until 1806)}}|}} |#default=City-state {{#if:|of [[]]|}} }}
            }}
Commonwealth Realm=Commonwealth Realm League of Nations Mandate={{#if: Mandate of {{#switch: |United Kingdom |UK=the United Kingdom |#default={{#ifexist:|[[]]|}} }} League of Nations mandate
               }}
UN Trust Territory Trust Territory=Trust Territory{{#if: | of {{#switch: |United Kingdom |UK=the United Kingdom |United States |US |USA=the United States |#default={{#ifexist:|[[]]|}} }} }} Protectorate=Protectorate of {{#if: {{#switch: UK=the United Kingdom US |USA=the United States |#default={{#ifexist:|[[]]|}}
                           }}
whom? {{#if: }}
                       }}
Client state |Client State |Puppet |Puppet-state Puppet state={{#if: First French Empire |France=Client of the First French Empire |#default=Puppet state of {{#ifexist:|[[]]|}} }} Puppet state of whom? {{#if: }}
                    }}
Holy Roman Empire |HRE=State of the Holy Roman Empire {{#if:|{{#ifexpr:>1806|(until 1806)}}|}} |#default=Vassal{{#if:| of | of whom? {{#if: }}}} }} #default=Fief{{#if:| of | of whom? {{#if: }}}} }} Holy Roman Empire |HRE=Imperial Abbey of the Holy Roman Empire {{safesubst:#switch:
 {{safesubst:#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default =

}} |#default=Abbey{{#if:| of | of whom? {{#if:||}}}} }}

Satellite State Satellite= Satellite state of the Soviet Union Colony={{#switch: UK |British Empire |Britain=British colony England=English colony First French Empire| French Empire=French colony Netherlands |The Netherlands=Dutch colony Belgium=Belgian colony Spanish Empire=Spanish colony Portugal=Portuguese colony German Empire=German colony Italy=Italian colony Sweden=Swedish colony Denmark=Danish colony Norway=Norwegian colony Russia=Russian colony Japan=Japanese colony ) |of whom?) {{#if: }} }}
           }}
Provisional government Provisional=Provisional government Exiled government Exile={{#if: In exile {{#if: |(Template:Spaced ndash) |since }} Government in exile
          }}
#default=
  }} 
}} }}
{{#if: | {{{capital_type}}} | Capital }}{{#ifeq: {{#ifeq:|capital {{#switch:{{{capital}}} [[]] = capital = capital not capital }}}}|capital |
and largest city
}}
{{#if:|{{{capital}}}{{#if:|
{{{coordinates}}}}} }}
Capital-in-exile{{#ifexist:|[[]]|}}
Administrative center{{#switch: = [[]] = = #default = {{{admin_center}}}{{#if:
{{{coordinates}}}}} }} }}
Largest city{{#ifeq: {{#ifeq:|capital {{#switch:{{{capital}}} [[]] = capital = capital not capital
                         }}}}|capital |
}}
Demonym{{#if: {{#ifexist:{{{demonym}}} people [[{{{demonym}}} people|{{{demonym}}}]] {{{demonym}}}
   }}
}}
{{#if: || {{#if: {{#if: Leaders Government
         }} 
}} }}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if:| {{{title_leader}}} }}{{#if:| }}
{{#if: |

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if:| {{{title_representative}}} }}{{#if:| }}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if:|{{{title_deputy}}} }}{{#if:| }}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if: {{#if:  
{{{sovereignty_note}}}
}}
| Establishment }} }} }}
Establishment{{#if: }}
{{#if:|Historical era|History}}{{#if: |{{#ifexist:|[[{{{era}}}]]|{{{era}}}}} | {{#if:| }}}}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
{{#if: {{#if: [[{{{area_link}}}|Area {{#ifeq:|yes|claimed|}}]] {{#ifexist:Geography of Native name/doc Area {{#ifeq:|yes|claimed|}} yes|claimed|}}}}}} }}
• Total
{{#if: {{#if: {{#if:
     }}
  }}{{#if: | ({{{area_rank}}}) }}
}}
• Land
{{#if: {{#if: {{#if:
     }}
  }}
}}
• Water
{{#if: {{#if: {{#if:
     }}
  }}
}}
• 
{{#if:| }}
• 
{{#if:| }}
{{#if: | }}
{{#if: | }}
{{#if: | }}
{{#if: | }}
{{#if: | }}
• {{{FR_metropole}}}
{{#if:| }}
• IGN
{{#if: {{#if: ([[List of countries and dependencies by area|]])}}
  }}
}}
{{#if: {{#if: ([[List of countries and dependencies by area|]])}}
  }}
}}
{{#if: {{#if: no|Population|[[{{{population_link}}}|Population]]}}| {{#ifexist:Demographics of Native name/doc Population| Population}}}} }}
• {{#if: |{{{population_estimate_year}}} estimate|Estimate}}
{{#if: ({{{population_estimate_rank}}})}} }}
• 
{{#if:|}}
• 
{{#if:|}}
{{#if:|

{{#switch:

 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default = }} }}
• {{#if: |{{{population_census_year}}} census|Census}}
{{#if: ({{{population_census_rank}}})}} }}
{{#if:|{{#if:| ({{{FR_total_population_estimate_year}}})}}}}{{#if:|{{#if:|}}}}
• Total
{{#if:|{{#if: ({{{FR_total_population_estimate_rank}}})}} }} }}
• {{{FR_metropole}}}
{{#if:|{{{FR_metropole_population}}}{{#if: ({{{FR_metropole_population_estimate_rank}}})}} }}
• Density
{{#if: ({{{population_density_rank}}})}} }}
{{#ifeq:|yes|Claimed|}} GDP (PPP){{#if: {{{GDP_PPP_year}}} }}estimate }}
• Total
{{#if: ({{{GDP_PPP_rank}}})}} }}
• Per capita
{{#if: ({{{GDP_PPP_per_capita_rank}}})}} }}
{{#ifeq:|yes|Claimed|}} GDP (nominal){{#if: {{{GDP_nominal_year}}} }}estimate }}
• Total
{{#if: ({{{GDP_nominal_rank}}})}} }}
• Per capita
{{#if: ({{{GDP_nominal_per_capita_rank}}})}} }}
Gini{{#if: | ({{{Gini_year}}})}}{{#if: {{#switch: increase = Template:IncreaseNegative |decrease = Template:DecreasePositive |steady = Steady }}{{{Gini}}}
{{#iferror:{{#ifexpr:{{{Gini}}}>100 | Error: Gini value above 100| {{#ifexpr:{{{Gini}}}>=60 |{{ safesubst:#if:
no <span <span

}}

Template <span {{#ifexpr:{{{Gini}}}>=46 | {{ safesubst:#if: no <span <span

}}

Template <span {{#ifexpr:{{{Gini}}}>=30 | {{ safesubst:#if: no <span <span

}}

Template <span {{#ifexpr:{{{Gini}}}>=0 | {{ safesubst:#if: no <span <span

}}

Template <span Error:Gini value below 0}}}}}}}}}}| Error: Invalid Gini value{{#ifeq: Template | | }}}}{{#if:  ({{{Gini_rank}}})}}}}
HDI{{#if: | ({{{HDI_year}}})}}{{#if: {{#switch: increase = Increase |decrease = Decrease |steady = Steady }}{{{HDI}}}
{{#iferror:{{#ifexpr:{{{HDI}}}>1 | Error: HDI value greater than 1| {{#ifexpr:{{{HDI}}}>0.799 | {{ safesubst:#if:
no <span <span

}}

Template <span {{#ifexpr:{{{HDI}}}>0.699 | {{ safesubst:#if: no <span <span

}}

Template <span {{#ifexpr:{{{HDI}}}>0.549 | {{ safesubst:#if: no <span <span

}}

Template <span {{#ifexpr:{{{HDI}}}>=0.000| {{ safesubst:#if: no <span <span

}}

Template <span Error: HDI value less than 0}}}}}}}}}}| Error: Invalid HDI value{{#ifeq: Template | | }}}}{{#if:  ({{{HDI_rank}}})}}}}
{{#ifeq:|yes|Purported currency|Currency}}{{#if: ({{{currency_code}}})}} }}
Time zone{{#if: UTC{{{utc_offset}}} {{#if:|({{{time_zone}}})}} }}
• Summer (DST)
{{#if: UTC{{{utc_offset_DST}}} {{#if:|({{{time_zone_DST}}})|{{#if:|({{{DST}}})}}}} }}
ISO 3166 code{{#switch: omit = = {{#if: {{#if: [[ISO 3166-2:|]]
               }}
            }}
#default = [[ISO 3166-2:{{{ISO3166CODE}}}|{{{ISO3166CODE}}}]] }}
{{#if:
Website
{{{official_website}}}
}}
{{#if:
}} }}
{{#if: {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: |
{{#if:|Preceded by}}
{{#if:|Succeeded by}}
{{#if: | {| style="width:100%; text-align:center; margin:0 auto; border:0;"
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}
{{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}} [[]]}}

}}

{{#if: | {| style="width:92%; text-align:center; margin:0 auto; border:0;"
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}
[[]] {{#if:|[[File:|20px{{#ifeq:|no border}}|link=|alt=]]|{{#if: File:Blank.png}}}}}}

}} |}

}}
{{#if: |
    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}
}}
{{#if: |
    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}
}}
{{#if:|
{{{footnotes}}}{{#if:|
{{{footnotes2}}}}}
}}
{{#if:| }}

{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:||{{#if:|}} }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}| }}{{#if:||{{#if:|}} }}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if: |1}}}}| }}{{#if:|{{#if:||}} }}{{#if:|{{#if:||}} }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }} | other | #default = }}{{#if:|{{#ifeq:|Colony|{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}|{{#ifeq:|Exile|{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}} }} |}

Tracking category

{{#if:|{{{name}}}|Category:Native name template errors}} (0)

TemplateData

{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ANative+name%7CNative+name%7CNative+name%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:Native name|Template:Native name|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:Native name|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ANative+name%7CNative+name%7CNative+name%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:Native name|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ANative+name%7CNative+name%7CNative+name%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:Native name|Template:Native name|Template:Native name}}{{#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:Native name|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:Native name|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%3ANative+name%7CNative+name%7CNative+name%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:Native name|Template:Native name|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:Native name|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ANative+name%7CNative+name%7CNative+name%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:Native name|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ANative+name%7CNative+name%7CNative+name%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:Native name|Template:Native name|Template:Native name}}{{#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:Native name|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:Native name|its|this}} TemplateData}} }}}}

TemplateData for Native name

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{safesubst:#if:{{safesubst:#ifeq:doc|sandbox|1}}{{safesubst:#ifeq:doc|doc|1}}||

}} | other | #default = }} <templatedata> { "params": { "tag": { "label": "language", "description": "language code", "example": "el, de", "type": "string", "required": true }, "name": { "label": "name", "description": "Name in foreign language (use ISO 639 language codes)", "example": "ευρώ, herzlich willkommen", "type": "string", "required": true }, "italic": { "aliases": [ "italics" ], "label": "italics", "description": "\"off\" will prevent italicising the name", "type": "boolean", "default": "on" }, "paren": { "label": "language name", "description": "Language name in parenthesis", "type": "boolean", "default": "on" }, "parensize": { "label": "language fontsize", "description": "font-size of the language (parenthesised)", "example": "90%", "type": "number" } }, "description": "Foreign language name formatting" } </templatedata>

See also