Template:Infobox ethnonym/doc
![]() | This is a documentation subpage for Template:Infobox ethnonym. It may contain usage information, categories and other content that is not part of the original template page. |
This template is designed to illustrate ethnic names with divergent variants for the people, nation, and language, as are commonly found in Bantu and other African languages. It takes between one and five parameters.
Minimal example
Person | Motswana |
---|---|
People | Batswana |
Language | Setswana |
At a minimum, the template requires three parameters, for a person, the people, and the language, as below and at right: <syntaxhighlight lang="wikitext" style="overflow:auto">
Person | Motswana |
---|---|
People | Batswana |
Language | Setswana |
</syntaxhighlight>
Full example
Tswana | |
---|---|
Person | Motswana |
People | Batswana |
Language | Setswana |
Country | Botswana |
If a fourth parameter is added, it will show up as the country. A fifth may be used for the root word as a title for the box: <syntaxhighlight lang="wikitext" style="overflow:auto">
Tswana | |
---|---|
Person | Motswana |
People | Batswana |
Language | Setswana |
Country | Botswana |
</syntaxhighlight>
If the fourth parameter is left empty, the 'country' row will not appear, even with a title in the fifth slot.