Template:descendant: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{bor|}}}|<span class="desc-arrow" title="borrowed">→</span>}}{{#if:{{{noname|}}}||{{#invoke:languages|getByCode|{{{1}}}|name}}: }}{{l|{{{1}}}|{{{2}}}|{{{alt1|{{{2}}}}}}|t={{{t|}}}}}{{#if:{{{3|}}}|,&nbsp;{{l|{{{1}}}|{{{3}}}|{{{alt2|{{{3}}}}}}|t={{{t2|}}}}}}}{{#if:{{{4|}}}|,&nbsp;{{l|{{{1}}}|{{{4}}}|{{{alt3|{{{4}}}}}}|t={{{t3|}}}}}}}{{#if:{{{see|}}}|&nbsp;{{see descendants}}}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#invoke:descendants|descendant}}</includeonly><noinclude>{{documentation}}[[Category:Entry templates]]</noinclude>

Latest revision as of 19:10, 2 June 2024

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

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}}