Template:descendant: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{bor|}}}|<span class="desc-arrow" title="borrowed">→</span>}}{{#if:{{{noname|}}}||{{#invoke:languages|getByCode|{{{1}}}|name}}: }}{{l|nobold=true|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}|t={{{t|}}}}}{{#if:{{{3|}}}|, {{l|nobold=true|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}|t={{{t2|}}}}}}}{{#if:{{{4|}}}|, {{l|nobold=true|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}|t={{{t3|}}}}}}}{{#if:{{{see|}}}| {{see descendants}}}}</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>{{#if:{{{bor|}}}|<span class="desc-arrow" title="borrowed">→</span>}}{{#if:{{{noname|}}}||{{#invoke:languages|getByCode|{{{1}}}|name}}: }}{{#ifeq:{{{2}}}|LOST|''lost''|{{l|nobold=true|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}|t={{{t|}}}}}{{#if:{{{3|}}}|, {{l|nobold=true|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}|t={{{t2|}}}}}}}{{#if:{{{4|}}}|, {{l|nobold=true|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}|t={{{t3|}}}}}}}{{#if:{{{see|}}}| {{see descendants}}}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 17:45, 20 February 2024
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}}