Template:doublet: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) (Created page with "<includeonly>{{m|{{{1}}}|{{{2}}}}}[[Category:{{language name|{{{1}}}}} doublets]]</includeonly><noinclude>Category:Etymology templates{{documentation}}</noinclude>") |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{m|{{{1}}}|{{{2}}}}}[[Category:{{language name|{{{1}}}}} doublets]]</includeonly><noinclude>[[Category:Etymology templates]]{{documentation}}</noinclude> | <includeonly>{{m|{{{1}}}|{{{2}}}|{{#if:{{{t|}}}|t={{{t}}}}}}}[[Category:{{language name|{{{1}}}}} doublets]]</includeonly><noinclude>[[Category:Etymology templates]]{{documentation}}</noinclude> |
Revision as of 02:21, 20 February 2024
Uses Lua: |
Shortcut
{{dbt}} |
This template makes it easy to show that a term is a doublet of another term in the same language.
Usage
All you need is the language code the etymology belongs to and the term that is a doublet.
{{dbt|ryn|vaenynt|t=new year}}
Generates the following:
And would automatically add the category Category:Riyan doublets
Parameters
|1=
(required)- The language code the etymology belongs to.
|2=
(required)- The doublet term.
|alt=
- Optionally specifies an alternative text to show on the term's link.
|t=
- Optionally specifies a gloss to show with the term.
|pos=
- Optionally specifies a part of speech to show with the gloss of the term.
|nocap=
- If provided with a true value, e.g.
|nocap=1
, then it will display 'doublet of' instead of 'Doublet of' (i.e. no capital letter). This is useful if you're putting this in an etymology section with text appearing before it.
|notext=
- If provided with a true value, e.g.
|notext=1
, then it will not display any text before the term at all.
|nocat=
- If provided with a true value, e.g.
|nocat=1
, then no categories will be added to the page.