Template:Infobox Language: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Nat Krause
(importing template from Wikipedia; see http://en.wikipedia.org/w/index.php?title=Template:Infobox_Language&action=history up to December 6, 2006 for authorship history)
 
imported>Caesar Schinas
(Updated to take advantage of Template:Infobox, and cleaned up considerably)
Line 1: Line 1:
{| class="infobox bordered" style="width:270px;"
{{Infobox
! colspan="3" style="text-align: center; font-size:110%; color: {{
| title    = {{{name|{{PAGENAME}} }}}
  #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
| subtitle = {{{nativename|}}}
  |white
 
|{{{fontcolor|black}}}}}; background-color: {{
| 1_label = Created by
#if:{{{creator|}}}{{{setting|}}}
| 1_data  = {{{creator|}}}
|black
 
|{{
| 2_label  = Setting/Usage
  #if:{{{signers|}}}
| 2_data  = {{{setting|}}}
  |silver
 
  |{{Infobox Language/family-color|{{{familycolor|Default}}}}}}}
| 3_label  = Spoken in
}};" |{{{name|Instructions at [[Template talk:Infobox Language]]}}} {{
| 3_data  = {{{region|}}}{{{states|}}}
#if:{{{nativename|}}}
 
|<br />{{{nativename|}}}}}{{
| 4_label  = Total speakers
  #if:{{{image|}}}
| 4_data  = {{{speakers|}}}
  |{{Infobox Language/image|{{{caption|}}}|{{{image|}}}}}
 
}}{{
| 5_label = Language family
  #if:{{{pronunciation|}}}
| 5_data  = {{{fam1|}}}<!--
  |{{Infobox Language/pronunciation|{{{pronunciation|}}}}}}}
          -->{{#if:{{{fam2|}}}|<br />{{nbsp|1}}{{{fam2|}}}<!--
|-
          -->{{#if:{{{fam3|}}}|<br />{{nbsp|2}}{{{fam3|}}}<!--
| style="padding-left: 0.5em;" |{{
          -->{{#if:{{{fam4|}}}|<br />{{nbsp|3}}{{{fam4|}}}<!--
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
          -->{{#if:{{{fam5|}}}|<br />{{nbsp|4}}{{{fam5|}}}<!--
|Created&nbsp;by
          -->{{#if:{{{fam6|}}}|<br />{{nbsp|5}}{{{fam6|}}}<!--
|{{
          -->{{#if:{{{fam7|}}}|<br />{{nbsp|6}}{{{fam7|}}}<!--
  #if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
          -->{{#if:{{{fam8|}}}|<br />{{nbsp|7}}{{{fam8|}}}<!--
  |Signed
          -->{{#if:{{{fam9|}}}|<br />{{nbsp|8}}{{{fam9|}}}<!--
  |Spoken}}&nbsp;in}}:
          -->{{#if:{{{fam10|}}}|<br />{{nbsp|9}}{{{fam10|}}}<!--
| colspan="{{
          -->{{#if:{{{fam11|}}}|<br />{{nbsp|10}}{{{fam11|}}}<!--
#if:{{{date|}}}
          -->{{#if:{{{fam12|}}}|<br />{{nbsp|11}}{{{fam12|}}}<!--
|1
          -->{{#if:{{{fam13|}}}|<br />{{nbsp|12}}{{{fam13|}}}<!--
|2}}" style="padding-left: 0.5em;" |{{
          -->{{#if:{{{fam14|}}}|<br />{{nbsp|13}}{{{fam14|}}}<!--
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
          -->{{#if:{{{fam15|}}}|<br />{{nbsp|14}}{{{fam15|}}}<!--
  |{{{creator|}}}{{
          -->}} }} }} }} }} }} }} }} }} }} }} }} }} }}
  #if:{{{date|}}}
 
  |{{Infobox Language/creationdate|{{{date}}}}}
| 6_label  = Language codes
| 6_data  = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso2|}}}|---}}
 
| 7_label  = [[ISO 639-1]]
| 7_data  = {{{iso1|}}}
 
| 8_label = [[ISO 639-2]]
| 8_data  = {{{iso2|}}}
 
| 9_label  = [[ISO 639-3]]
| 9_data  = {{#if:{{{iso3|}}}|[http://www.sil.org/iso639-3/documentation.asp?id={{{iso3}}} {{{iso3}}}] }}
 
| 10_data  = <small>'''Note''': This page may contain [[International Phonetic Alphabet|IPA]] [[phonetics|phonetic]] symbols in [[Unicode]]. See [[IPA chart for English]] for an [[English language|English]]-{{unicode|​}}based pronunciation key.</small>
}}
}}
|{{{states|{{{region|—}}}}}}}}{{
  #ifexpr:{{#if:{{{states|}}}|1|0}}+{{#if:{{{region|}}}|1|0}}!=1
  |{{Infobox Language/statesregion
  |{{{creator|}}}
  |{{{setting|}}}
  |{{{familycolor|}}}
  |{{{region|—}}}}}}}
|-
| style="padding-left: 0.5em;" |{{
#if:{{{extinct|}}}
|[[Extinct language|Language extinction]]
|Total&nbsp;{{
  #if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
  |signers
  |speakers}}}}:
| colspan="2" style="padding-left: 0.5em;" |{{
#if:{{{extinct|}}}
|{{{extinct}}}
|{{
  #if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
  |{{{signers|—}}}
  |{{{speakers|—}}}}}}}{{
  #if:{{{rank|}}}
  |{{Infobox Language/rank|{{{rank|}}}}}}}
|-
| style="padding-left: 0.5em;" |{{
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
|Category (purpose)
|[[Language family]]}}:
| colspan="2" style="padding-left: 0.5em; text-align: left;" | {{{family|{{{fam1|{{
#if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
|''unknown''
|{{
  #if:{{{creator|}}}{{{setting|}}}
  |[[constructed language]]
  |{{Infobox Language/genetic2|{{{familycolor|Default}}}}}}}}}}}}{{
#if:{{{fam2|}}}
  |<br /><span style="font-size:66%;">&nbsp;</span>{{{fam2|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;</span>{{
#if:{{{fam3|}}}
  |{{{fam3|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam4|}}}
  |{{{fam4|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam5|}}}
  |{{{fam5|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam6|}}}
  |{{{fam6|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam7|}}}
  |{{{fam7|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam8|}}}
  |{{{fam8|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam9|}}}
  |{{{fam9|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam10|}}}
  |{{{fam10|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam11|}}}
  |{{{fam11|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam12|}}}
  |{{{fam12|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam13|}}}
  |{{{fam13|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam14|}}}
  |{{{fam14|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{{
#if:{{{fam15|}}}
  |{{{fam15|}}}<br /><span style="font-size:66%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>'''{{{name|}}}'''
|'''{{{name| }}}'''}}<!--close 15-->
|'''{{{name| }}}'''}}<!--close 14-->
|'''{{{name| }}}'''}}<!--close 13-->
|'''{{{name| }}}'''}}<!--close 12-->
|'''{{{name| }}}'''}}<!--close 11-->
|'''{{{name| }}}'''}}<!--close 10-->
|'''{{{name| }}}'''}}<!--close 9-->
|'''{{{name| }}}'''}}<!--close 8-->
|'''{{{name| }}}'''}}<!--close 7-->
|'''{{{name| }}}'''}}<!--close 6-->
|'''{{{name| }}}'''}}<!--close 5-->
|'''{{{name| }}}'''}}<!--close 4-->
|'''{{{name| }}}'''}}<!--close 3-->
|{{
#ifexpr:{{#if:{{{name|}}}|1|0}} and {{#if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|Default}}}}}|silver|1}}|0|1}}
|'''<br />&nbsp;{{{name|}}}}}'''}}<!--close 2-->}}}{{
#if:{{{script|}}}
|{{Infobox Language/script|{{{script}}}}}}}{{
#if:{{{posteriori|}}}
|{{Infobox Language/aposteriori|{{{posteriori}}}}}}}{{
#ifexpr:{{#if:{{{agency|}}}|1|0}} and {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|Default}}}}}|black|1}}|1|0}}
|{{Infobox Language/agency|{{{agency}}}}}
|{{
#if:{{{nation|}}}{{{agency|}}}
|{{Infobox Language/official
  |1={{
  #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
  |white
  |{{{fontcolor|black}}}}}
  |2={{
  #if:{{{signers|}}}
  |silver
  |{{
    #if:{{{creator|}}}{{{setting|}}}
    |black
    |{{Infobox Language/family-color|{{{familycolor|Default}}}}}}}}}
  |3={{{nation|''none''}}}
  |4={{{agency|''no official regulation''}}}}}}}}}
|-
! colspan="3" style="text-align: center; color: {{
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
|white
|{{{fontcolor|black}}}}}; background-color: {{
  #if:{{{creator|}}}{{{setting|}}}
  |black
  |{{
  #if:{{{signers|}}}
  |silver
  |{{Infobox Language/family-color|{{{familycolor|Default}}}}}}}}};" |Language codes
|-
| style="padding-left: 0.5em;" |[[ISO 639-1]]:
| colspan="2" style="padding-left: 0.5em;" |{{
#if:{{{iso1|}}}
|<tt>{{{iso1}}}</tt>
|''none''}}
|-
| style="padding-left: 0.5em;" |[[ISO 639-2]]:
| colspan="{{
#if:{{{iso2b|}}}{{{iso2t|}}}
|1
|2}}" style="padding-left: 0.5em;" |<tt>{{
  #if:{{{iso2b|}}}{{{iso2t|}}}
  |{{{iso2b|{{{iso2|—}}}}}}&nbsp;(B)
  |{{
  #if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
  |{{{iso2|sgn}}}
  |{{
    #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|black|1}}
    |{{{iso2|art}}}
    |{{{iso2|to be added}}}}}}}}}</tt>{{
    #if:{{{iso2b|}}}{{{iso2t|}}}
    |{{Infobox Language/terminological|{{{iso2t|{{{iso2|}}}}}}}}}}
|-
| style="padding-left: 0.5em;" |[[ISO 639-3|ISO/FDIS&nbsp;639-3]]:
| colspan="2" style="padding-left: 0.5em;" |{{
#ifexpr:{{#if:{{{lc1|}}}|1|0}} and {{#if:{{{lc2|}}}|1|0}}
|{{
  #if:{{{lc3|}}}
  |variously
  |either}}:{{Infobox Language/codelist
|{{{lc1|}}}|{{{ld1|}}}|{{{ll1|}}}}}{{Infobox Language/codelist
|{{{lc2|}}}|{{{ld2|}}}|{{{ll2|}}}}}{{Infobox Language/codelist
|{{{lc3|}}}|{{{ld3|}}}|{{{ll3|}}}}}{{Infobox Language/codelist
|{{{lc4|}}}|{{{ld4|}}}|{{{ll4|}}}}}{{Infobox Language/codelist
|{{{lc5|}}}|{{{ld5|}}}|{{{ll5|}}}}}{{Infobox Language/codelist
|{{{lc6|}}}|{{{ld6|}}}|{{{ll6|}}}}}{{Infobox Language/codelist
|{{{lc7|}}}|{{{ld7|}}}|{{{ll7|}}}}}{{Infobox Language/codelist
|{{{lc8|}}}|{{{ld8|}}}|{{{ll8|}}}}}{{Infobox Language/codelist
|{{{lc9|}}}|{{{ld9|}}}|{{{ll9|}}}}}{{Infobox Language/codelist
|{{{lc10|}}}|{{{ld10|}}}|{{{ll10|}}}}}{{Infobox Language/codelist
|{{{lc11|}}}|{{{ld11|}}}|{{{ll11|}}}}}{{Infobox Language/codelist
|{{{lc12|}}}|{{{ld12|}}}|{{{ll12|}}}}}{{Infobox Language/codelist
|{{{lc13|}}}|{{{ld13|}}}|{{{ll13|}}}}}{{Infobox Language/codelist
|{{{lc14|}}}|{{{ld14|}}}|{{{ll14|}}}}}{{Infobox Language/codelist
|{{{lc15|}}}|{{{ld15|}}}|{{{ll15|}}}}}{{Infobox Language/codelist
|{{{lc16|}}}|{{{ld16|}}}|{{{ll16|}}}}}{{Infobox Language/codelist
|{{{lc17|}}}|{{{ld17|}}}|{{{ll17|}}}}}{{Infobox Language/codelist
|{{{lc18|}}}|{{{ld18|}}}|{{{ll18|}}}}}{{Infobox Language/codelist
|{{{lc19|}}}|{{{ld19|}}}|{{{ll19|}}}}}{{Infobox Language/codelist
|{{{lc20|}}}|{{{ld20|}}}|{{{ll20|}}}}}{{Infobox Language/codelist
|{{{lc21|}}}|{{{ld21|}}}|{{{ll21|}}}}}{{Infobox Language/codelist
|{{{lc22|}}}|{{{ld22|}}}|{{{ll22|}}}}}{{Infobox Language/codelist
|{{{lc23|}}}|{{{ld23|}}}|{{{ll23|}}}}}{{Infobox Language/codelist
|{{{lc24|}}}|{{{ld24|}}}|{{{ll24|}}}}}{{Infobox Language/codelist
|{{{lc25|}}}|{{{ld25|}}}|{{{ll25|}}}}}{{Infobox Language/codelist
|{{{lc26|}}}|{{{ld26|}}}|{{{ll26|}}}}}{{Infobox Language/codelist
|{{{lc27|}}}|{{{ld27|}}}|{{{ll27|}}}}}{{Infobox Language/codelist
|{{{lc28|}}}|{{{ld28|}}}|{{{ll28|}}}}}{{Infobox Language/codelist
|{{{lc29|}}}|{{{ld29|}}}|{{{ll29|}}}}}{{Infobox Language/codelist
|{{{lc30|}}}|{{{ld30|}}}|{{{ll30|}}}}}
|{{
  #if:{{{lc1|}}}
  |<tt>[http://www.sil.org/iso639-3/documentation.asp?id={{{lc1}}} {{{lc1}}}]</tt>&nbsp;&mdash;&nbsp;{{
  #if:{{{ll1|}}}
  |{{#ifeq:{{{ll1|}}}|none
    |{{{ld1|}}}
    |[[{{{ll1}}}|{{{ld1|}}}]]}}
  |[[{{{ld1|}}}]]}}
  |{{#if:{{{iso3|}}}
  |{{#ifeq:{{{iso3|}}}|none
    |''none''
    |<tt>[http://www.sil.org/iso639-3/documentation.asp?id={{{iso3}}} {{{iso3}}}]</tt>}}
  |—}}}}}}{{#if:
{{{map|}}}
|{{Infobox Language/map|{{{map|}}}}}}}
{{Infobox Language/{{
  #if:{{{signers|}}}{{#ifeq:{{Infobox Language/family-color|{{{familycolor|}}}}}|silver|1}}
  |signnotice
  |{{{notice|IPA notice}}}}}}}
|}

Revision as of 10:47, 14 May 2009

Infobox Language
Note: This page may contain IPA phonetic symbols in Unicode. See IPA chart for English for an English-based pronunciation key.