Template:Qsc-inh/doc: Difference between revisions

No edit summary
Dillon (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Generates Soc'ul' < Pre-Soc'ul' < Wascotl etymology text and etymology category tags.
Generates Soc'ul' < Sekhulla (optional < Wascotl) etymology text and etymology category tags.


== Usage ==
== Usage ==
; {{para|1}}
; {{para|1}}
Pre-Soc'ul' term.
Sekhulla term.
* If not given, generates <small>[Term?]</small> tag.
; {{para|2}}, {{para|3}}, {{para|4}}...
; {{para|2}}, {{para|3}}, {{para|4}}...
Wascotl roots. These have a dedicated syntax:
Wascotl roots. These have a dedicated syntax:
# For more than one root place them in separate parameters.
# 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.
# Roots can be separated either with a hyphen 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.
# 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.
; {{para|nocap}}
* If not given, generates <small>[Term?]</small> tag.
; {{para|nocap|opt=1}}
Turns off sentence case for more complex etymologies.
Turns off sentence case for more complex etymologies.


Line 15: Line 17:


'''Template call:'''
'''Template call:'''
: {{temp|socl-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
: {{temp|qsc-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
'''Output:'''
'''Output:'''
: {{socl-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
: {{qsc-inh|asʰilavən|asł-ila<c:asł->|-|fen-}}
'''Underlying wikicode:'''
'''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>
: <pre><nowiki>From [[Sekhulla]] ''{{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>