Template:Qhv-noun: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
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}}}}}}<!--
{{#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: gendername|{{#switch: {{#var: gender}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!--
 
-->{{#vardefine: stem-1|{{str crop|{{{2|{{PAGENAME}}}}}|1}}}}<!--
-->{{#vardefine: stem-2|{{str crop|{{{2|{{PAGENAME}}}}}|2}}}}<!--
-->{{#vardefine: stem-3|{{str crop|{{{2|{{PAGENAME}}}}}|3}}}}<!--
-->{{#vardefine: stem-4|{{str crop|{{{2|{{PAGENAME}}}}}|4}}}}<!--
 
-->{{#vardefine: genitive<!--
  -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|4}}<!--
      -->|rzir={{#var: stem-4}}rjio<!--
      -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|2}}<!--
          -->|ar|or={{#var: stem-2}}ro<!--
          -->|ir={{#var: stem-2}}rio<!--
          -->|ys|os|es|on={{#var: stem-2}}o<!--
          -->|is={{#var: stem-2}}io<!--
          -->|ȳs={{#var: stem-2}}yvo<!--
          -->|ks={{#var: stem-2}}ko<!--
          -->|en={{#var: stem-3}}io<!--
          -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|1}}<!--
              -->|a|y|e={{#var: stem-1}}o<!--
              -->|o={{#var: stem-1}}ō<!--
              -->|i={{#var: stem-1}}io<!--
              -->|s={{#var: stem-1}}ho<!--
              -->|{{#var: stem-1}}o<!--
          -->}}<!--
        -->}}<!--
  -->}}<!--
-->}}<!--
 
 
-->{{#vardefine: plural<!--
  -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|4}}<!--
      -->|rzir={{#var: stem-4}}rja<!--
      -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|2}}<!--
          -->|ar={{#var: stem-2}}ri<!--
          -->|or|ir={{#var: stem-2}}ra<!--
          -->|ys={{#var: stem-2}}yssy<!--
          -->|os={{#var: stem-2}}ossa<!--
          -->|es={{#var: stem-2}}esse<!--
          -->|is={{#var: stem-2}}issa<!--
          -->|ȳs={{#var: stem-2}}yvossa<!--
          -->|ks={{#var: stem-2}}kossa<!--
          -->|en={{#var: stem-3}}ī<!--
          -->|ia={{#var: stem-2}}ī<!--
          -->|on={{#var: stem-2}}a<!--
          -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|1}}<!--
              -->|a|y|e={{#var: stem-1}}i<!--
              -->|o|i={{#var: stem-1}}a<!--
              -->|s={{#var: stem-1}}hossa<!--
              -->|{{{2|{{PAGENAME}}}}}i<!--
          -->}}<!--
        -->}}<!--
  -->}}<!--
-->}}<!--
 
-->{{#ifeq:{{FULLPAGENAME}}|Template:Qhv-noun||'''{{#invoke: linkeach|link|{{PAGENAME}}}}''' ''{{#invoke: getn|show_list|{{{1|{{#var: gender}}}}}}}'' (''genitive'' '''{{term|{{#var: genitive}}}}'''{{#if: {{{3|{{{nopl|}}}}}}||, ''plural'' '''{{term|{{#var: plural}}}}'''}})}}<!--
 
 
--><noinclude>{{documentation}}[[Category:Contionary templates]][[Category:Templates]][[Category:High Valyrian templates]][[Category:High Valyrian headword-line templates]]</noinclude><!--
 
--><includeonly>[[Category:Contionary]] [[Category:High Valyrian {{#var: gendername}} nouns]] [[Category: High Valyrian nouns]] [[Category:High Valyrian lemmas]]</includeonly>

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