Template:Qhv-head: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: gender|{{#switch: {{str rightmost|{{{2|}}}|2}}|ar|or|ir=aq|ys|os|ȳs|ks|es|is=sol|on|en=ter|{{#ifeq: {{str rightmost|{{{2|}}}|1}}|s|sol|lun}}}}}}<!--
{{#vardefine: gender|{{#switch: {{str rightmost|{{{2|}}}|2}}|ar|or|ir=aq|ys|os|ȳs|ks|es|is=sol|on|en=ter|{{#ifeq: {{str rightmost|{{{2|}}}|1}}|s|sol|lun}}}}}}<!--
-->{{#vardefine: switch|{{#switch: {{{1}}}|nf=noun form|pf=pronoun form|pron|p=pronoun|i=interjection|adv=adverb|c|conj=conjunction|num=numeral|af=adjective form|{{{1}}}}}}}<!--


-->{{#vardefine: sort|{{#invoke: qhv-noun/test|test}}}}<!--
-->{{#vardefine: sort|{{#invoke: qhv-noun/test|test}}}}<!--
Line 5: Line 7:
-->{{#switch: {{{1|}}}<!--
-->{{#switch: {{{1|}}}<!--
   -->|nf|noun form=<!--
   -->|nf|noun form=<!--
       -->{{head|qhv|noun form|g={{#var: gender}}}}<!--
       -->{{head|qhv|noun form|g={{#var: gender}}{{#if:{{{3|}}}|-{{{3|}}}|}}}}<!--
   -->|pf|pronoun form=<!--
   -->|pf|pronoun form=<!--
       -->{{head|qhv|pronoun form}}<!--
       -->{{head|qhv|pronoun form}}<!--
   -->|p|pronoun=<!--
   -->|p|pron|pronoun=<!--
       -->{{head|qhv|pronoun}}<!--
       -->{{head|qhv|pronoun}}<!--
   -->|i|interjection=<!--
   -->|i|interjection=<!--
       -->{{head|qhv|interjection}}<!--
       -->{{head|qhv|interjection}}<!--
  -->|adv|adverb=<!--
      -->{{head|qhv|adverb}}<!--
  -->|c|conj|conjunction=<!--
      -->{{head|qhv|conjunction}}<!--
  -->|num|numeral=<!--
      -->{{head|qhv|numeral}}<!--
  -->|af|adjective form=<!--
      -->{{head|qhv|adjective form}}<!--
   -->|}}<!--
   -->|}}<!--
    
    
   --><onlyinclude>[[Category:Contionary|{{#var: sort}}]]</onlyinclude><!--
   --><includeonly>[[Category:Contionary|{{#var: sort}}]][[Category:High Valyrian {{#var: switch}}s|{{#var: sort}}]]</includeonly><!--


--><noinclude>[[Category:High Valyrian headword-line templates|h]][[Category:High Valyrian templates|h]][[Category:Contionary templates]][[Category:Templates]]{{documentation}}</noinclude>
--><noinclude>[[Category:High Valyrian headword-line templates|h]][[Category:High Valyrian templates|h]][[Category:Contionary templates]][[Category:Templates]]{{documentation}}</noinclude>

Latest revision as of 16:57, 24 March 2021