Template:Infobox sprachbund: Difference between revisions
Jump to navigation
Jump to search
en>Phuzion (Added familycolor to check for unknown parameters) |
m (1 revision imported) |
Latest revision as of 03:22, 30 October 2024
{{{name}}} | |
---|---|
Geographic distribution | — |
This template uses Lua: |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
The sprachbund template is for use in articles about sprachbunds. It provides a common standard for displaying data for navigating to sprachbunds.
Usage
{{Infobox sprachbund
| name = name of sprachbund #REQUIRED
| altname = alternative name(s) of the sprachbund
| acceptance = acceptance status of the languages as a valid sprachbund
| ethnicity = people(s) who speak the languages as a sprachbund
| region = geographic region in which its languages are mainly spoken
| extinct = date sprachbund went extinct
| familycolor = appropriate sprachbund #REQUIRED
| child1 = a language or group of languages belonging to this sprachbund
| child2 = another language or group of languages belonging to this sprachbund
| ...
| child20 = another language or group of languages belonging to this sprachbund
| children = whatever you want to say
| listclass = class for the list of children: plainlist (default), hlist (horizontal) or flatlist (bulleted)
| map = a map of the region where it is spoken. Format must be "name of map.extension" (without 'file/image' or the square brackets)
| mapalt = caption for the blind
| mapcaption = printed caption underneath the map. See "Template:legend" as a helpful tool.
| map2 = a second map (or any image)
| mapalt2 = caption for the blind
| mapcaption2 = caption underneath second map
| mapsize = overrides the default map size, which is currently 350px. Format must include units ("123px" or "12em"). Affects both maps.
| boxsize = overrides default width of infobox, currently set at 22em. Format must include units ("12em" or "123px").
Useful when an article has various infoboxes aligned in a column. (Box will automatically expand to fix map wider than default box width.)
| module = used for embedding other infoboxes into this one
| notes = A space for notes, e.g., "† indicates a dead language", or any "* [something here]" footnote
}}
Background colors
See also | Wikipedia:WikiProject Languages |
---|
The familycolor parameter should always be set, and determines the color of template headings indicating the broad group of languages to which the sprachbund belongs.