Template:Qsc-inh: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
m (Dillon moved page Template:Socl-inh to Template:Qsc-inh without leaving a redirect)
 
(28 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{nocap|0}}}|1|f|F}}rom [[Pre-Soc'ul']] ''{{term|{{{1|}}}}}'', from [[Wascotl]] ''{{term|*{{#explode:~{{{2|}}}|~|1}}}}{{#if:{{#explode:~{{{2|}}}|~|2}}|{{#ifeq:{{#invoke:String|sub|{{#explode:~{{{2|}}}|~|1}}}}|-1}}|-||&nbsp;}}{{term|*{{#explode:~{{{2|}}}|~|2}}|{{#explode:~{{{2|}}}|~|2}}}}}}{{#if:{{#explode:~{{{2|}}}|~|3}}|{{#ifeq:{{#invoke:String|sub|{{#explode:~{{{2|}}}|~|2}}}}|-1}}|-||&nbsp;}}{{term|*{{#explode:~{{{2|}}}|~|3}}|{{#explode:~{{{2|}}}|~|3}}}}}}''.[[Category:Soc'ul' terms from Wascotl *{{#explode:~{{{2|}}}|~|1}}]]{{#if:{{#explode:~{{{2|}}}|~|2}}|[[Category:Soc'ul' terms from Wascotl *{{#explode:~{{{2|}}}|~|2}}]]}}{{#if:{{#explode:~{{{2|}}}|~|3}}|[[Category:Soc'ul' terms from Wascotl *{{#explode:~{{{2|}}}|~|3}}]]}}[[Category:Soc'ul' inherited terms]]</includeonly><noinclude>{{documentation}}[[Category:Soc'ul' templates|i]][[Category:Soc'ul' etymology templates|i]][[Category:Contionary templates]][[Category:Templates]]</noinclude>
<noinclude>{{lua|pollasena-roots}}</noinclude>{{#if: {{{nocap|}}}|f|F}}rom [[Pre-Soc'ul']] {{term|{{{1|}}}|''{{{1|}}}''}}, from [[Wascotl]] {{#if:{{{2|}}}|<i>{{#invoke: pollasena-roots|getLink|wasc|qsc|older=1}}</i>|<small>[Term?]</small>}}.<includeonly>{{#ifeq:{{NAMESPACE}}|Template||[[Category:Soc'ul' inherited terms]]}}</includeonly><noinclude>{{documentation}}[[Category:Soc'ul' templates|i]][[Category:Soc'ul' etymology templates|i]][[Category:Contionary templates]][[Category:Templates]]</noinclude>

Latest revision as of 17:33, 31 January 2024

From Pre-Soc'ul' [Term?], from Wascotl [Term?].


Generates Soc'ul' < Pre-Soc'ul' < Wascotl etymology text and etymology category tags.

Usage

|1=

Pre-Soc'ul' term.

  • If not given, generates [Term?] tag.
|2=, |3=, |4=...

Wascotl roots. These have a dedicated syntax:

  1. For more than one root place them in separate parameters.
  2. Roots can be separated either with a hyphen or with a space; use - and + as parameters, respectively.
  3. Place <a:*> and <c:*> to change the alt link (display text) and the category, where * is the desired value. Can be combined one after the other, in whatever order, but cannot be repeated. Separator parameters ignore these tags.
  • If not given, generates [Term?] tag.
|nocap= (optional)

Turns off sentence case for more complex etymologies.

For example, consider the word tsilven;

Template call:

{{socl-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}

Output:

Template:Socl-inh

Underlying wikicode:

From [[Pre-Soc'ul']] ''{{term|asʰilavən}}'', from [[Wascotl]] ''[[Contionary:*asł-ila|*asł-ila]]-[[Contionary:*fen-|*fen-]]''.[[Category:Soc'ul' terms from Wascotl *asł-]][[Category:Soc'ul' terms from Wascotl *fen-]][[Category:Soc'ul' inherited terms]]