Template:Cog: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine: destLang|{{#invoke:languages/templates|getCanonicalName|{{{1}}}}}}}<!--
{{#vardefine:destLang|{{#invoke:languages/templates|getCanonicalName|{{{1}}}}}}}


{{#vardefine:cog1|{{#invoke:languages/templates|getCanonicalName|{{{4|}}}}}}}
{{#vardefine:cog2|{{#invoke:languages/templates|getCanonicalName|{{{6|}}}}}}}
{{#vardefine:cog3|{{#invoke:languages/templates|getCanonicalName|{{{8|}}}}}}}
{{#vardefine:cog4|{{#invoke:languages/templates|getCanonicalName|{{{10|}}}}}}}
{{#vardefine:cog5|{{#invoke:languages/templates|getCanonicalName|{{{12|}}}}}}}


--><includeonly>Cognate to {{mn|{{{2}}}|{{{3}}}}}{{#if: {{{4|}}} |, {{mn|{{{4}}}|{{{5}}}}}}}{{#if: {{{6|}}} |, {{mn|{{{6}}}|{{{7}}}}}}}{{#if: {{{8|}}} |, {{mn|{{{8}}}|{{{9}}}}}}}{{#if: {{{10|}}} |, {{mn|{{{10}}}|{{{11}}}}}}}{{#if: {{{12|}}} |, {{mn|{{{12}}}|{{{13}}}}}}}.<!--
<includeonly>Cognate to {{mn|{{{2}}}|{{{3}}}}}{{#if:{{{4|}}}|, {{mn|{{{4}}}|{{{5}}}}}}}{{#if:{{{6|}}}|, {{mn|{{{6}}}|{{{7}}}}}}}{{#if:{{{8|}}}|, {{mn|{{{8}}}|{{{9}}}}}}}{{#if:{{{10|}}}|, {{mn|{{{10}}}|{{{11}}}}}}}{{#if:{{{12|}}}|, {{mn|{{{12}}}|{{{13}}}}}}}.<!--


 
-->{{#switch:{{{1}}}|anks|cruc|loxw|etli|guim|gwax|hceo|hema|jl-two|keel|knra|maat|maaz|mill|mill-old|okan|naedz|naedz-old|nent-pro|lnent|noan|lyti|lyti-mid|lyti-old|popo|arto-pro|mish-pro|slaq-pro|ravk|rulh|rulh-old|sekh|qsc|soky|sudy|uche|urka|wasc|yara|yara-old|beme=
 
{{#if:{{{4|}}}|[[Category:{{#var:destLang}} terms with {{#var:cog1}} cognates]]}}
-->{{#switch|{{{1}}}|anks|cruc|loxw|etli|guim|gwax|hceo|hema|jl-two|keel|knra|maat|maaz|mill|mill-old|okan|naedz|naedz-old|nent-pro|lnent|noan|lyti|lyti-mid|lyti-old|popo|arto-pro|mish-pro|slaq-pro|ravk|rulh|rulh-old|sekh|qsc|soky|sudy|uche|urka|wasc|yara|yara-old|beme={{#if: {{{4|}}} |[[Category:{{#var: destLang}} terms with {{#invoke:languages/templates|getCanonicalName|{{{4|}}}}} cognates]]}}{{#if: {{{6|}}} |[[Category:{{#var: destLang}} terms with {{#invoke:languages/templates|getCanonicalName|{{{6|}}}}} cognates]]}}{{#if: {{{8|}}} |[[Category:{{#var: destLang}} terms with {{#invoke:languages/templates|getCanonicalName|{{{8|}}}}} cognates]]}}{{#if: {{{10|}}} |[[Category:{{#var: destLang}} terms with {{#invoke:languages/templates|getCanonicalName|{{{10|}}}}} cognates]]}}{{#if: {{{12|}}} |[[Category:{{#var: destLang}} terms with {{#invoke:languages/templates|getCanonicalName|{{{12|}}}}} cognates]]}}|}}</includeonly><noinclude>[[Category:Contionary templates]][[Category:Templates]]</noinclude>
{{#if:{{{8|}}}|[[Category:{{#var:destLang}} terms with {{#var:cog3}} cognates]]}}
{{#if:{{{10|}}}|[[Category:{{#var:destLang}} terms with {{#var:cog4}} cognates]]}}
{{#if:{{{12|}}}|[[Category:{{#var:destLang}} terms with {{#var:cog5}} cognates]]}}
}}</includeonly><noinclude>[[Category:Contionary templates]][[Category:Templates]]</noinclude>

Revision as of 17:26, 1 May 2026