Template:descendant tree/documentation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 76: Line 76:
|ryn:fur
|ryn:fur
|ryn-pro:fúru
|ryn-pro:fúru
}}</td></tr></table>
=== Borrowing ===
Borrowing can specified either with the inline argument <code><nowiki><bor></nowiki></code> or by using <code>></code> before the language code.
<table width=100%><tr><td width=50%><pre>{{descendant tree
|ryn<bor>:líra
}}</pre></td><td>→</td><td>{{descendant tree
|ryn<bor>:líra
}}</td></tr>
<tr><td width=50%><pre>{{descendant tree
|>rad:Riás
}}</pre></td><td>→</td><td>{{descendant tree
|>rad:Riás
}}</td></tr></table>
The advantage of using <code>></code>, however, is that it can be sorted below its source language with the language code before <code>></code>.
<table width=100%><tr><td width=50%><pre>{{descendant tree
|lus-o:zāht
|lus:zā
|rad-o:ðātt
|rad:lát
|rad>ryn:lâtad
}}</pre></td><td>→</td><td>{{descendant tree
|lus-o:zāht
|lus:zā
|rad-o:ðātt
|rad:lát
|rad>ryn:lâtad
}}</td></tr></table>
==== Descendants of borrowings ====
The caveat to using the borrowing sorting system is that all descendants of borrowings must be individually specified as full extensions of the borrowed language code via <code>_</code>:
<table width=100%><tr><td width=50%><pre>{{descendant tree
|rad-o:rījø̄r
|rad-m:Ríǿr
|rad:Rỷr
|rad-o>ryn-o:rīŗa
|rad-o>ryn-o_ryn:ríŗa
}}</pre></td><td>→</td><td>{{descendant tree
|rad-o:rījø̄r
|rad-m:Ríǿr
|rad:Rỷr
|rad-o>ryn-o:rīŗa
|rad-o>ryn-o_ryn:ríŗa
}}</td></tr></table>
This allows for borrowed doublets:
<table width=100%><tr><td width=50%><pre>{{descendant tree
|hrd-pro:Thwɛ̄́ljeŋjəs
|rad-pro:Θwêljeŋjs
|rad-o:Þø̄ljeŋjs
|rad:Þýljenș
|ryn-pro:Páiljeḡă
|ryn-o:Pailjeŗ
|ryn:Pailiŗ
|ryn-pro>rad-pro:Pailjeɣs
|ryn-pro>rad-pro_rad-o:Pailjews
|ryn-pro>rad-pro_rad-o_rad:Paijøs
}}</pre></td><td>→</td><td>{{descendant tree
|hrd-pro:Thwɛ̄́ljeŋjəs
|rad-pro:Θwêljeŋjs
|rad-o:Þø̄ljeŋjs
|rad:Þýljenș
|ryn-pro:Páiljeḡă
|ryn-o:Pailjeŗ
|ryn:Pailiŗ
|ryn-pro>rad-pro:Pailjeɣs
|ryn-pro>rad-pro_rad-o:Pailjews
|ryn-pro>rad-pro_rad-o_rad:Paijøs
}}</td></tr></table>
=== Internal doublets ===
In the case of having multiple internal reflexes, a number can be put after the language code. This will be sorted into the most recent unnumbered historical form:
<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
|rad-m:lýrdzs
|rad:lyerdzs<t:gas>
|rad-o2:lȳrwre
|rad-m2:lýrus
|rad2: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
|rad-m:lýrdzs
|rad:lyerdzs<t:gas>
|rad-o2:lȳrwre
|rad-m2:lýrus
|rad2:lýrus<t:air>
}}</td></tr></table>
}}</td></tr></table>