Template:Qsc-inh/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Generates Soc'ul'<Pre-Soc'ul'<Wascotl etymology text and etymology category tags.
Generates Soc'ul' < Pre-Soc'ul' < Wascotl etymology text and etymology category tags.


== Usage ==
== Usage ==
; {{para|1}}
; {{para|1}}
Pre-Soc'ul' term.
Pre-Soc'ul' term.
; {{para|2}}
; {{para|2}}, {{para|3}}, {{para|4}}...
Wascotl term. Input without proto- mark (<code>*</code>). Separate roots with <code>~</code>; the template adds a space between roots if the previous isn't hyphenated.
Wascotl roots. These have a dedicated syntax:
# For more than one root place them in separate parameters.
# Roots can be separated either with a hypen or with a space; use <code>-</code> and <code>+</code> as parameters, respectively.
# Place <code><nowiki><a:*></nowiki></code> and <code><nowiki><c:*></nowiki></code> to change the alt link (display text) and the category, where <code>*</code> is the desired value. Can be combined one after the other, in whatever order, but cannot be repeated. Separator parameters ignore these tags.
 
For example, consider the word ''{{term|tsilven}}'';
 
'''Template call:'''
: {{temp|socl-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
'''Output:'''
: {{socl-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
'''Underlying wikicode:'''
: <pre><nowiki>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]]</nowiki></pre>

Revision as of 18:04, 3 May 2023

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

Usage

|1=

Pre-Soc'ul' term.

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

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]]