Template:Qhv-head: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 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}}}}<!--


-->{{#switch: {{{1|}}}<!--
-->{{#switch: {{{1|}}}<!--
  -->|pronoun=<!--
      -->'''{{PAGENAME}}'''<includeonly>[[Category:High Valyrian pronouns]]</includeonly><!--
   -->|nf|noun form=<!--
   -->|nf|noun form=<!--
       -->'''{{PAGENAME}}''' ''{{#invoke: getn|show_list|{{#var: gender}}{{#if:{{{n|}}}|-{{{n|}}}|}}}}''<!--
       -->{{head|qhv|noun form|g={{#var: gender}}{{#if:{{{3|}}}|-{{{3|}}}|}}}}<!--
  -->|pf|pronoun form=<!--
      -->{{head|qhv|pronoun form}}<!--
  -->|p|pron|pronoun=<!--
      -->{{head|qhv|pronoun}}<!--
  -->|i|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}}<!--
   -->|}}<!--
   -->|}}<!--
 
  --><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 templates]][[Category:Contionary templates]][[Category:Templates]]{{documentation}}</noinclude><!--
 
 
 
--><includeonly>[[Category:Contionary]]</includeonly>

Latest revision as of 16:57, 24 March 2021