Template:Qhv-noun: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine: gender|{{#switch: {{str rightmost|{{{ | {{#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: gendername|{{#switch: {{#var: gender}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!-- | -->{{#vardefine: gendername|{{#switch: {{#var: gender}}|lun=lunar|aq=aquatic|sol=solar|ter=terrestrial|}}}}<!-- | ||
-->{{#vardefine: stem-1|{{str crop|{{{ | -->{{#vardefine: stem-1|{{str crop|{{{2|{{PAGENAME}}}}}|1}}}}<!-- | ||
-->{{#vardefine: stem-2|{{str crop|{{{ | -->{{#vardefine: stem-2|{{str crop|{{{2|{{PAGENAME}}}}}|2}}}}<!-- | ||
-->{{#vardefine: stem-3|{{str crop|{{{ | -->{{#vardefine: stem-3|{{str crop|{{{2|{{PAGENAME}}}}}|3}}}}<!-- | ||
-->{{#vardefine: stem-4|{{str crop|{{{ | -->{{#vardefine: stem-4|{{str crop|{{{2|{{PAGENAME}}}}}|4}}}}<!-- | ||
-->{{#vardefine: genitive<!-- | -->{{#vardefine: genitive<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|4}}<!-- | ||
-->|rzir={{#var: stem-4}}rjio<!-- | -->|rzir={{#var: stem-4}}rjio<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|2}}<!-- | ||
-->|ar|or={{#var: stem-2}}ro<!-- | -->|ar|or={{#var: stem-2}}ro<!-- | ||
-->|ir={{#var: stem-2}}rio<!-- | -->|ir={{#var: stem-2}}rio<!-- | ||
Line 19: | Line 19: | ||
-->|ks={{#var: stem-2}}ko<!-- | -->|ks={{#var: stem-2}}ko<!-- | ||
-->|en={{#var: stem-3}}io<!-- | -->|en={{#var: stem-3}}io<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|1}}<!-- | ||
-->|a|y|e={{#var: stem-1}}o<!-- | -->|a|y|e={{#var: stem-1}}o<!-- | ||
-->|o={{#var: stem-1}}ō<!-- | -->|o={{#var: stem-1}}ō<!-- | ||
Line 32: | Line 32: | ||
-->{{#vardefine: plural<!-- | -->{{#vardefine: plural<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|4}}<!-- | ||
-->|rzir={{#var: stem-4}}rja<!-- | -->|rzir={{#var: stem-4}}rja<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|2}}<!-- | ||
-->|ar={{#var: stem-2}}ri<!-- | -->|ar={{#var: stem-2}}ri<!-- | ||
-->|or|ir={{#var: stem-2}}ra<!-- | -->|or|ir={{#var: stem-2}}ra<!-- | ||
Line 46: | Line 46: | ||
-->|ia={{#var: stem-2}}ī<!-- | -->|ia={{#var: stem-2}}ī<!-- | ||
-->|on={{#var: stem-2}}a<!-- | -->|on={{#var: stem-2}}a<!-- | ||
-->|{{#switch: {{str rightmost|{{{ | -->|{{#switch: {{str rightmost|{{{2|{{PAGENAME}}}}}|1}}<!-- | ||
-->|a|y|e={{#var: stem-1}}i<!-- | -->|a|y|e={{#var: stem-1}}i<!-- | ||
-->|o|i={{#var: stem-1}}a<!-- | -->|o|i={{#var: stem-1}}a<!-- | ||
-->|s={{#var: stem-1}}hossa<!-- | -->|s={{#var: stem-1}}hossa<!-- | ||
-->|{{{ | -->|{{{2|{{PAGENAME}}}}}i<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 56: | Line 56: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{FULLPAGENAME}}|Template:Qhv-noun||'''{{#invoke: linkeach|link|{{PAGENAME}}}}''' ''{{#invoke: getn|show_list|{{{ | -->{{#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}}}}'''}})}}<!-- | ||
Revision as of 13:30, 13 February 2021
- The following documentation is located at Template:Qhv-noun/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)
This template uses Lua: |
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.