Template:Qhv-noun: Difference between revisions

Replaced content with "{{#invoke:qhv-headword|show|nouns}}"
No edit summary
(Replaced content with "{{#invoke:qhv-headword|show|nouns}}")
Tag: Replaced
Line 1: Line 1:
{{#vardefine: gender|{{#ifeq:{{#invoke: string|find|{{{2|{{PAGENAME}}}}}|illa}}|0|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|2}}|ar|or|ir=aq|ys|os|ȳs|ks|es|is=sol|on|en=ter|{{#ifeq: {{str rightmost|{{{2|{{PAGENAME}}}}}|1}}|s|sol|lun}}}}|aq}}}}<!--
{{#invoke:qhv-headword|show|nouns}}
 
-->{{#vardefine: sort|{{#invoke: qhv-noun/test|test}}}}<!--
 
-->{{#vardefine: gendername|{{#switch: {{{1|{{#var: gender}}}}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!--
 
-->{{#vardefine: proper|{{#if: {{{proper|}}}|proper nouns|nouns}}}}<!--
 
-->{{#ifeq:{{FULLPAGENAME}}|Template:Qhv-noun||'''{{#if:{{#regex:{{PAGENAME}}|(\s)}}|{{#invoke: linkeach|link|{{PAGENAME}}}}|{{PAGENAME}}}}''' ''{{#invoke: getn|show_list|{{{1|{{#var: gender}}}}}}}'' {{#if: {{{hide|}}}||(''genitive'' '''{{term|{{{gen|{{#invoke: qhv-noun/head|generate|gen_sg|{{{2}}}}}}}}}}'''{{#if: {{{3|{{{proper|{{{nopl|}}}}}}}}}||, ''plural'' '''{{term|{{{pl|{{#invoke: qhv-noun/head|generate|nom_pl|{{{2}}}}}}}}}}'''}})}}}}<!--
 
--><includeonly>[[Category:Contionary|{{#var: sort}}]] [[Category:High Valyrian {{#var: gendername}} {{#var: proper}}|{{#var: sort}}]] [[Category: High Valyrian {{#var: proper}}|{{#var: sort}}]] [[Category:High Valyrian lemmas|{{#var: sort}}]]</includeonly><!--
 
 
--><noinclude>{{documentation}}[[Category:Contionary templates]][[Category:Templates]][[Category:High Valyrian templates]][[Category:High Valyrian headword-line templates]]</noinclude><!--