Template:Qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine: gender|{{#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}}}}}}<!--
{{#vardefine: gender|{{#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}}}}}}<!--


-->{{#vardefine: sort|{{#invoke: qhv-noun/test|test|{{{2}}}}}}}<!--
-->{{#vardefine: sort|{{#invoke: qhv-noun/test|test|{{{2|{{PAGENAME}}}}}}}}}<!--


-->{{#vardefine: gendername|{{#switch: {{{1|{{#var: gender}}}}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!--
-->{{#vardefine: gendername|{{#switch: {{{1|{{#var: gender}}}}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!--