Template:cognates/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} {{uses lua|Module:cognates}} {{shortcut|Template:cognate|Template:cogs|Template:cog}} This template creates cognate lists. == Usage == : {{para|1|opt=1}} :: native language code ::: This will add cognate categories. : {{para|code|term}} :: cognate language code and term (inline parameters apply) : {{para|nocap|1}} :: decapitalises intro text Cognates will be listed in order of specification. == Examples == <pre>{{cognates |rad=vas |lfv=vat...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{shortcut|Template:cognate|Template:cogs|Template:cog}}
{{shortcut|Template:cognate|Template:cogs|Template:cog}}


This template creates cognate lists.
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 ==
== Usage ==
Line 11: Line 11:
::: This will add cognate categories.
::: This will add cognate categories.
: {{para|code|term}}
: {{para|code|term}}
:: cognate language code and term (inline parameters apply)
:: cognate language code and term (inline parameters of {{temp|m+}} apply); <code><nobold:1></code> is automatically added
::: <code><pre:text></code>
:::: prefaces the cognate with text
: {{para|nocap|1}}
: {{para|nocap|1}}
:: decapitalises intro text
:: decapitalises intro text
 
: {{para|nocat|1}}
Cognates will be listed in order of specification.
:: suppresses categorisation
: {{para|nopre|1}}
:: removes intro text


== Examples ==
== Examples ==
Line 31: Line 35:
<hr>
<hr>
<pre>{{cognates|nocap=1
<pre>{{cognates|nocap=1
|rad=vas
|aeg=ąbęnąs<t:sky>
|lfv=vat
|lfv=minwe<t:world>
|ryn=vah
|ryn=bemme<t:infamy>
|rad=bjemne<t:reputation><pos:archaic>
}}</pre>
}}</pre>
Produces:
Produces:
: {{cognates|nocap=1
: {{cognates|nocap=1
|rad=vas
|aeg=ąbęnąs<t:sky>
|lfv=vat
|lfv=minwe<t:world>
|ryn=vah
|ryn=bemme<t:infamy>
|rad=bjemne<t:reputation><pos:archaic>
}}
}}
<hr>
<hr>
Line 47: Line 53:
}}</pre>
}}</pre>
Produces:
Produces:
: {{cognates
: {{cognates|rad|nocat=1
|lfv=vat
|lfv=vat
|ryn=vah
|ryn=vah
}} + [[:Category:Radestrian terms with Laefevian cognates]] + [[:Category:Radestrian terms with Riyan cognates]]
}} + [[: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.
<hr>
<pre>{{cognates|rad
|lfv=sapient<t:brain><pre:partially also>
|ryn=sah
}}</pre>
Produces:
: {{cognates|rad|nocat=1
|lfv=sapient<t:brain><pre:partially also>
|ryn=sah
}} + [[:Category:Radestrian terms with Riyan cognates]] + [[:Category:Radestrian terms with Laefevian cognates]]

Latest revision as of 14:53, 7 August 2024

Edit-copy green.svg Documentation for Template:cognates. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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.
|code=term
cognate language code and term (inline parameters of {{m+}} apply); <nobold:1> is automatically added
<pre:text>
prefaces the cognate with text
|nocap=1
decapitalises intro text
|nocat=1
suppresses categorisation
|nopre=1
removes intro text

Examples

{{cognates
|rad=vas
|lfv=vat
|ryn=vah
}}

Produces:

Cognate with Laefevian vat, Radestrian vas and Riyan vah

{{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.


{{cognates|rad
|lfv=sapient<t:brain><pre:partially also>
|ryn=sah
}}

Produces:

Cognate with Riyan sah and partially also Laefevian sapient (“brain”) + Category:Radestrian terms with Riyan cognates + Category:Radestrian terms with Laefevian cognates