Template:Qhv-noun: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
-->{{#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|}}}}<!-- | ||
-->{{#vardefine: proper|{{#if: {{{proper|}}}| | -->{{#vardefine: proper|{{#if: {{{proper|}}}|proper nouns|nouns}}}}<!-- | ||
-->{{#vardefine: stem-1|{{str crop|{{{2|{{PAGENAME}}}}}|1}}}}<!-- | -->{{#vardefine: stem-1|{{str crop|{{{2|{{PAGENAME}}}}}|1}}}}<!-- | ||
Line 60: | Line 60: | ||
-->{{#ifeq:{{FULLPAGENAME}}|Template:Qhv-noun||'''{{#if:{{#regex:{{PAGENAME}}|(\s)}}|{{#invoke: linkeach|link|{{PAGENAME}}}}|{{PAGENAME}}}}''' ''{{#invoke: getn|show_list|{{{1|{{#var: gender}}}}}}}'' (''genitive'' '''{{term|{{{gen|{{#var: genitive}}}}}}}'''{{#if: {{{3|{{{nopl|}}}}}}||, ''plural'' '''{{term|{{{pl|{{#var: plural}}}}}}}'''}})}}<!-- | -->{{#ifeq:{{FULLPAGENAME}}|Template:Qhv-noun||'''{{#if:{{#regex:{{PAGENAME}}|(\s)}}|{{#invoke: linkeach|link|{{PAGENAME}}}}|{{PAGENAME}}}}''' ''{{#invoke: getn|show_list|{{{1|{{#var: gender}}}}}}}'' (''genitive'' '''{{term|{{{gen|{{#var: genitive}}}}}}}'''{{#if: {{{3|{{{nopl|}}}}}}||, ''plural'' '''{{term|{{{pl|{{#var: plural}}}}}}}'''}})}}<!-- | ||
-->[[Category:Contionary]] [[Category:High Valyrian {{#var: gendername}}{{#var: proper}} | -->[[Category:Contionary]] [[Category:High Valyrian {{#var: gendername}}b{{#var: proper}}]] [[Category: High Valyrian {{#var: proper}}]] [[Category:High Valyrian lemmas]]<!-- | ||
--><noinclude>{{documentation}}[[Category:Contionary templates]][[Category:Templates]][[Category:High Valyrian templates]][[Category:High Valyrian headword-line templates]]</noinclude><!-- | --><noinclude>{{documentation}}[[Category:Contionary templates]][[Category:Templates]][[Category:High Valyrian templates]][[Category:High Valyrian headword-line templates]]</noinclude><!-- |
Revision as of 21:40, 21 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.