Module:Family tree/documentation: Difference between revisions
Jump to navigation
Jump to search
Djpwikiadmin (talk | contribs) (Created page with "{{shortcut|WT:ANC}} ==Family tree== This module allows for the display of English Wiktionary's hierarchical language and family ancestry data. {{temp|#invoke:family tree|show...") |
m (Changed links to point to Wiktionary) |
||
Line 5: | Line 5: | ||
{{temp|#invoke:family tree|show|<var>language code</var>}} | {{temp|#invoke:family tree|show|<var>language code</var>}} | ||
* The first parameter is the language code. | * The first parameter is the language code. | ||
* Add {{para|fam|1}} (alias {{para|2}}) to show language families as separate (often redundant) nodes from their [[proto-language]]s. Ordinarily proto-languages are shown without the families that they are the parent of. | * Add {{para|fam|1}} (alias {{para|2}}) to show language families as separate (often redundant) nodes from their [[Wiktionary:proto-language|proto-language]]s. Ordinarily proto-languages are shown without the families that they are the parent of. | ||
* Add {{para|etym|1}} (alias {{para|3}}) to show all etymology languages (as children of a "parent" language or language family). Ordinarily they are not shown. | * Add {{para|etym|1}} (alias {{para|3}}) to show all etymology languages (as children of a "parent" language or language family). Ordinarily they are not shown. | ||
* Add {{para|famunderproto|1}} to show families on a line below the proto-languages that belong to the family and are the common ancestor of its members, and {{para|protounderfam|1}} to do the reverse. | * Add {{para|famunderproto|1}} to show families on a line below the proto-languages that belong to the family and are the common ancestor of its members, and {{para|protounderfam|1}} to do the reverse. |
Latest revision as of 13:41, 25 August 2024
Family tree
This module allows for the display of English Wiktionary's hierarchical language and family ancestry data.
{{#invoke:family tree|show|language code}}
- The first parameter is the language code.
- Add
|fam=1
(alias|2=
) to show language families as separate (often redundant) nodes from their proto-languages. Ordinarily proto-languages are shown without the families that they are the parent of. - Add
|etym=1
(alias|3=
) to show all etymology languages (as children of a "parent" language or language family). Ordinarily they are not shown. - Add
|famunderproto=1
to show families on a line below the proto-languages that belong to the family and are the common ancestor of its members, and|protounderfam=1
to do the reverse. - Add
|collapsed=1
to have the top level of the tree collapsed by default.
Lua error in Module:Family_tree at line 254: The language code gem-pro is not a valid non-etymology language or family..
Trees
The template include limit prevents this page from showing all of Wiktionary's current language trees. Above is a sample language tree. When making changes to the Module:languages data, you may need to refresh
this page to see an update.