:Template:Glottolog

{{#if: {{{1|}}}

|{{cite book|chapter={{{2|{{PAGENAME}}}}}|chapter-url=http://glottolog.org/resource/languoid/id/{{{1|}}}|editor1-first=Harald|editor1-last=Hammarström|editor2-first=Robert|editor2-last=Forkel|editor3-first=Martin|editor3-last=Haspelmath|year=2017|title=Glottolog 3.0|edition=|location=Jena, Germany|publisher=Max Planck Institute for the Science of Human History|ref={{#if: {{{ref|}}}|{{{ref}}}|{{sfnref|Glottolog|2017}}}}}}

|{{cite book|editor1-first=Harald|editor1-last=Hammarström|editor2-first=Robert|editor2-last=Forkel|editor3-first=Martin|editor3-last=Haspelmath|year=2017|title=Glottolog 3.0|edition=|location=Jena, Germany|publisher=Max Planck Institute for the Science of Human History|url=http://glottolog.org/|ref={{#if: {{{ref|}}}|{{{ref}}}|{{sfnref|Glottolog|2017}}}}}}

}}

{{documentation}}

{

"params": {

"1": {

"label": "Glottolog code",

"description": "If the code is not specified, the template will generate a generic link to Glottolog.",

"type": "line",

"suggested": true

},

"2": {

"label": "Language or family name",

"description": "If the language or family name is not specified, the name of the article is used instead.",

"type": "line",

"suggested": true

},

"ref": {

"description": "The citation's HTML anchor identifier, when different from its default. Passed as the ref parameter to the \"cite book\" template.",

"type": "line"

}

},

"description": "This template is designed for use as a reference for a language or language family. It links to the appropriate article at Glottolog.",

"format": "inline"

}