Template:descendant: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{bor|}}}|→ | <includeonly>{{#if:{{{bor|}}}|<span class="desc-arrow" title="borrowed">→</span>}}{{#invoke:languages|getByCode|{{{1}}}|name}}: {{l|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}|t={{{t|}}}}}{{#if:{{{3|}}}|, {{l|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}|t={{{t2|}}}}}}}{{#if:{{{4|}}}|, {{l|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}|t={{{t3|}}}}}}}{{#if:{{{see|}}}| {{see descendants}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 22:14, 14 August 2023
Uses Lua: |
Shortcut
{{desc}} |
This template generates an item of a descendant list.
Parameters
|1=
(required)
- language code
|2=
, |3=
…
- descendant terms (inline link arguments apply, e.g.
term<t:gloss><alt:show as>
)
- If
|2=
is unspecified, the language will be displayed, but as — (lost). The lost text can be customised with|lost=
.
|borrowed=1
, |bor=1
, |b=1
- prefaces the item with an arrow (→) signifying borrowing
|lost=
- See above.
|noname=1
- disable language name preface
|see=1
- appends
{{see descendants}}