Template:cognates/documentation: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
: {{para|nocat|1}} | : {{para|nocat|1}} | ||
:: suppresses categorisation | :: suppresses categorisation | ||
: {{para|nopre|1}} | |||
:: removes intro text | |||
== Examples == | == Examples == | ||
Line 25: | Line 27: | ||
Produces: | Produces: | ||
: {{cognates | : {{cognates | ||
|rad=vas | |||
|lfv=vat | |||
|ryn=vah | |||
}} | |||
<hr> | |||
<pre>{{cognates|nopre=1 | |||
|rad=vas | |||
|lfv=vat | |||
|ryn=vah | |||
}}</pre> | |||
Produces: | |||
: {{cognates|nopre=1 | |||
|rad=vas | |rad=vas | ||
|lfv=vat | |lfv=vat |
Revision as of 12:04, 7 August 2024
Uses Lua: |
Shortcut
{{cog}} |
This template creates cognate lists. Languages are listed in order of relational distance (more closely related languages are listed first) and otherwise in alphabetical order.
Usage
|1=
(optional)- native language code
- This will add cognate categories.
- native language code
|code=term
- cognate language code and term (inline parameters of
{{m+}}
apply)
- cognate language code and term (inline parameters of
|nocap=1
- decapitalises intro text
|nocat=1
- suppresses categorisation
|nopre=1
- removes intro text
Examples
{{cognates |rad=vas |lfv=vat |ryn=vah }}
Produces:
{{cognates|nopre=1 |rad=vas |lfv=vat |ryn=vah }}
Produces:
{{cognates|nocap=1 |aeg=ąbęnąs<t:sky> |lfv=minwe<t:world> |ryn=bemme<t:infamy> |rad=bjemne<t:reputation><pos:archaic> }}
Produces:
- cognate with Aegestian ąbęnąs (“sky”), Laefevian minwe (“world”), Radestrian bjemne (“reputation”, archaic) and Riyan bemme (“infamy”)
{{cognates|rad |lfv=vat |ryn=vah }}
Produces:
- Cognate with Riyan vah and Laefevian vat + Category:Radestrian terms with Riyan cognates + Category:Radestrian terms with Laefevian cognates
Note here that Riyan is now in front of Laefevian, as it is more closely related to Radestrian.