Template:descendant tree/documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Line 200: Line 200:


Multiple occurrences of a language code are numbered automatically, and are displayed in order of specification in the template, '''not in alphabetical order of the terms'''. Note that different branches of hierarchical languages are sorted based on order of specification, i.e. if both <code>|ryn:</code> and <code>|ryn-o:</code> are specified twice, the first specification of <code>|ryn:</code> will be listed under the first specification of <code>|ryn-o:</code>, the second under the second etc.
Multiple occurrences of a language code are numbered automatically, and are displayed in order of specification in the template, '''not in alphabetical order of the terms'''. Note that different branches of hierarchical languages are sorted based on order of specification, i.e. if both <code>|ryn:</code> and <code>|ryn-o:</code> are specified twice, the first specification of <code>|ryn:</code> will be listed under the first specification of <code>|ryn-o:</code>, the second under the second etc.
<table width=100%><tr><td width=50%><pre>{{descendant tree
|hrd-pro:lȳ́rḡis
|ryn-pro:lȳ́rḡi
|ryn-o:lȳr
|ryn:lyr
|rad-pro:lȳrdzir
|rad-o:lȳrdzre|lȳrwre
|rad-m:lýrdzs
|rad-m:lýrus
|rad:lyerdzs<t:gas>
|rad:lýrus<t:air>
}}</pre></td><td>→</td><td>{{descendant tree
|hrd-pro:lȳ́rḡis
|ryn-pro:lȳ́rḡi
|ryn-o:lȳr
|ryn:lyr
|rad-pro:lȳrdzir
|rad-o:lȳrdzre|lȳrwre
|rad-m:lýrdzs
|rad-m:lýrus
|rad:lyerdzs<t:gas>
|rad:lýrus<t:air>
}}</td></tr></table>


The indexing can also be specified manually, e.g. <code>|ryn2:</code> and <code>|ryn-o2:</code>. Be aware that if some instances are numbered manually and some aren't, the code will renumber all instances in order of appearance. If you specify <code>|rad:|rad:|rad2:</code> in this order, <code>|rad2:</code> would be reassigned to <code>|rad3:</code>. This is to be borne in mind when organising borrowings, though the numbering can be inferred from the ordering of the branches. '''All code reassignments result in a script warning for your awareness.'''
The indexing can also be specified manually, e.g. <code>|ryn2:</code> and <code>|ryn-o2:</code>. Be aware that if some instances are numbered manually and some aren't, the code will renumber all instances in order of appearance. If you specify <code>|rad:|rad:|rad2:</code> in this order, <code>|rad2:</code> would be reassigned to <code>|rad3:</code>. This is to be borne in mind when organising borrowings, though the numbering can be inferred from the ordering of the branches. '''All code reassignments result in a script warning for your awareness.'''

Navigation menu