Template:Qhv-noun: Difference between revisions

From Linguifex
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(102 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: gender|{{#switch: {{str rightmost|{{{1|{{PAGENAME}}}}}|2}}|ar|or|ir=ter|ys|os|ȳs|ks|es|is=sol|on|en=ter|{{#ifeq: {{str rightmost|{{{1|{{PAGENAME}}}}}|1}}|s|sol|lun}}}}}}
{{#invoke:qhv-headword|show|nouns}}<noinclude>[[Category:High Valyrian headword-line templates|n]][[Category:High Valyrian templates|n]][[Category:Contionary templates]][[Category:Templates]]{{documentation}}</noinclude>
{{#vardefine: stem-1|{{str crop|{{{1|{{PAGENAME}}}}}|1}}}}{{#vardefine: stem-2|{{str crop|{{{1|{{PAGENAME}}}}}|2}}}}
{{#vardefine: genitive|{{#switch: {{str rightmost|{{{1|{{PAGENAME}}}}}|2}}|ar|or={{#var: stem-2}}ro|ir={{#var: stem-2}}rio|}}}}<!--
 
 
-->{{#ifeq:{{NAMESPACE}}|Template||'''{{{1|{{PAGENAME}}}}}''' ''{{#invoke: getn|show_list|{{{2|{{#var: gender}}}}}}}'' (''genitive'' '''{{term|{{#var: genitive}}}}'''{{#if: {{{3|{{{nopl|}}}}}}||, ''plural'' '''{{term|{{#var: plural}}}}'''}})}}<!--
 
 
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 12:11, 18 March 2021


Template for High Valyrian headwords, specifically nouns.

Parameters

|1=

It overrides the automatic gender. Please use the abbreviations a, l, s, and t.

|gen= and |pl=

They override the generated genitive singular and nominative plural, respectively.

|nopl=

Boolean. It hides plural forms.

See also

Template:qhv-proper noun