Template:descendant tree/documentation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 171: Line 171:
|ryn-pro>rad-pro_rad-o:Pailjews
|ryn-pro>rad-pro_rad-o:Pailjews
|ryn-pro>rad-pro_rad-o_rad:Paijøs
|ryn-pro>rad-pro_rad-o_rad:Paijøs
}}</td></tr></table>
==== Order-based shorthand ====
As a shorthand to the above system, prefacing a language code with <code>>></code> will parse it as a borrowing from the language specified before it. Similarly, using the prefix <code>_</code> without a language code before it will parse it as a descendant of the last defined language code. While useful as a shorthand, this only works with a singular descendant branch.
<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ḡă
|>>rad-pro:Pailjeɣs
|_rad-o:Pailjews
|_rad:Paijøs
|ryn-o:Pailjeŗ
|ryn:Pailiŗ
}}</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ḡă
|>>rad-pro:Pailjeɣs
|_rad-o:Pailjews
|_rad:Paijøs
|ryn-o:Pailjeŗ
|ryn:Pailiŗ
}}</td></tr></table>
}}</td></tr></table>