Template:descendant: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#invoke:languages|getByCode|{{{1}}}|name}}: {{m|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}}}{{#if:{{{3|}}}|, {{m|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}}}}}{{#if:{{{4|}}}|, {{m|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:languages|getByCode|{{{1}}}|name}}: {{m|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}}}{{#if:{{{3|}}}|, {{m|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}}}}}{{#if:{{{4|}}}|, {{m|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>{{#invoke:languages|getByCode|{{{1}}}|name}}: {{m|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}|t={{{t|}}}}}{{#if:{{{3|}}}|, {{m|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}}}|t={{{t2|}}}}}{{#if:{{{4|}}}|, {{m|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}|t={{{t3|}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 09:52, 8 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}}