Template:descendant tree/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 67: Line 67:
|hrd-pro:p̄ɯ́ḏɯs
|hrd-pro:p̄ɯ́ḏɯs
|rad-pro<see>:hırs
|rad-pro<see>:hırs
|ryn-pro:*fúru
|ryn-pro:fúru
|ryn:fur
|ryn:fur
}}</pre></td><td>→</td><td>{{descendant tree
}}</pre></td><td>→</td><td>{{descendant tree
Line 75: Line 75:
|rad-pro<see>:hırs
|rad-pro<see>:hırs
|ryn:fur
|ryn:fur
|ryn-pro:*fúru
|ryn-pro:fúru
}}</td></tr></table>
}}</td></tr></table>

Revision as of 11:41, 30 May 2024

Edit-copy green.svg Documentation for Template:descendant tree. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates descendant trees which are automatically sorted. Borrowings are listed after inherited terms, and unattested forms are listed after attested terms.

Usage

This template has various features, and so will be discussed in sections.

Base functionality

Language entries are added as arguments in the format |code:term1|term2|term3…. Just as with {{descendant}}, inline arguments can be used:

{{descendant tree
|hrd-pro:ṯṓchus
|rad-pro:hāšur
|rad:háșe|háș
|lfv:tus
|ryn:húr<t:night-time religious service>
}}

Languages without a specified term are displayed as lost:

{{descendant tree
|lfv:ejym
|ryn:firo
|ryn-o:firaom
|ryn-pro:firáumă
|hrd-pro:p̄iḏɔ̄́məs
|rad-pro:
}}

Inline arguments can also be given after the language code, which would be the equivalent of an argument to {{descendant}}:

{{descendant tree
|lfv:ejym
|ryn:firo
|ryn-o:firaom
|ryn-pro:firáumă
|hrd-pro:p̄iḏɔ̄́məs
|rad-pro<lost:this is a custom lost text>:
}}

Language-wide arguments without a defined value are interpreted as true:

{{descendant tree
|lfv-pro:aðəh
|lfv:ao
|hrd-pro:p̄ɯ́ḏɯs
|rad-pro<see>:hırs
|ryn-pro:fúru
|ryn:fur
}}