Template:Na'vi/NaviHW

This template is used for formatting headwords in Na'vi.

Reference
The following reference of template arguments likewise applies to NaviHW and NaviSE, used for headwords and subentries respectively. Each template renders the dictionary entry in a different way; also, NaviSE does not, by default, include an anchor for NaviSA.

The first positional template argument defines the word's lexical category (or part of speech); all remaining positional arguments are interpreted depending on this argument. The word category can also be left empty.


 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Category “ n ” (noun), “ pn ” (pronoun)
 * style="width:1em" | 2 || style="width:4em" | required || Singular form.
 * 3 || optional || Plural form.
 * 4 || optional || Dual form.
 * 5 || optional || Trial form.
 * }
 * {| class=wikitable style="width:67%"
 * 5 || optional || Trial form.
 * }
 * {| class=wikitable style="width:67%"
 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Category “ v ” (verb), “ vi ” (intransitive verb), “ vt ” (transitive verb), “ vd ” (ditransitive verb), “ vb ” (dative verb; beneficiary)
 * style="width:1em" | 2 || rowspan=3 style="width:4em" | optional (min. 1) || rowspan=3 | Verb with up to two vertical bars “ | ” for affix positions. Think of each bar (separating the individual template arguments) as a marker for one of the two verb affix positions. Thus, empty positional arguments are perfectly fine; for instance, yomt||ìng would mark first and second affix at the same word position, between t and ì.
 * 3
 * 4
 * colspan=3 | An additional, third affix position is supported for legacy purposes only.
 * }
 * {| class=wikitable style="width:67%"
 * colspan=3 | An additional, third affix position is supported for legacy purposes only.
 * }
 * {| class=wikitable style="width:67%"
 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Category “ adj ” (adjective), “ num ” (numeral)
 * style="width:1em" | 2 || style="width:4em" | required || Adjective or numeral.
 * 3 || optional || Pre-noun attributive form, if other than “adjective-a” (without the hyphen).
 * 4 || optional || Post-noun attributive form, if other than “a-adjective” (without the hyphen).
 * }
 * {| class=wikitable style="width:67%"
 * 4 || optional || Post-noun attributive form, if other than “a-adjective” (without the hyphen).
 * }
 * {| class=wikitable style="width:67%"
 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Category “ aff ” (affix), “ pref ” (prefix), “ suff ” (suffix), “ inf ” (infix), “ adp ” (adposition), “ prep ” (preposition)
 * style="width:1em" | 2 || style="width:4em" | required || Affix, prefix, suffix, infix, adposition, or preposition.
 * 3 || optional || Style selector, can be one of: “ X ”, “ X- ”, “ X+ ”, “ -X ”, “ +X ”, “ -X- ”, “ -X+ ”, “ +X- ”, “ +X+ ”, “ &lt;X&gt; ”. The default is to use “ X ” for “ aff ” (affixes), “ inf ” (infixes) and “ adp ” (adpositions), “ X- ” for “ pref ” (prefixes) and “ prep ” (prepositions), and “ -X ” for “ suff ” (suffixes).
 * }
 * {| class=wikitable style="width:67%"
 * }
 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Category “ phrase ” (lexical and exemplary phrases)
 * style="width:1em" | 2 || style="width:4em" | required || Phrase.
 * colspan=3 | Phrases will be typeset in italics rather than bold text.
 * }
 * {| class=wikitable style="width:67%"
 * }
 * {| class=wikitable style="width:67%"

! colspan=3 style="text-align:left" | Other category or empty
 * style="width:1em" | 2 || style="width:4em" | required || Headword.
 * }
 * }

In addition to the positional template arguments, the following optional, named arguments exist. Each of these arguments can be left undefined, though some arguments may show different behavior when they are defined but deliberately left empty (for instance, “ anchor ”).


 * {| class=wikitable style="max-width:67%"

! style="text-align:left" | Name !! style="text-align:left" | Description
 * “ anchor ” || Name for anchor to be used with NaviSA. If this argument is defined but left empty, no anchor is created. If it is “ * ”, the headword itself is used as anchor. For NaviHW, the default is to use the headword as anchor; for NaviSE, the default is to not create an anchor at all.
 * “ ipa ” || IPA transcription for the headword. This should not include the slashes “/…/” as these are rendered automatically.
 * “ sa ” || Shortcut for producing the headword with automatic inclusion of argument as headword description. This can be used when the headword or subentry is only introduced to reference the real definition elsewhere.
 * “ sn ” || Scientific notation per Frommer. This should be the scientific transcription of the headword only and will be added in parentheses.
 * “ src ” || List of source abbreviations for this entry. Examples might be: “SG” for the Survival Guide, “FE” for e-mails from Dr. Paul Frommer, “AG” for Avatar (the game), “AF” for Avatar (the film), etc.
 * }
 * “ sn ” || Scientific notation per Frommer. This should be the scientific transcription of the headword only and will be added in parentheses.
 * “ src ” || List of source abbreviations for this entry. Examples might be: “SG” for the Survival Guide, “FE” for e-mails from Dr. Paul Frommer, “AG” for Avatar (the game), “AF” for Avatar (the film), etc.
 * }
 * “ src ” || List of source abbreviations for this entry. Examples might be: “SG” for the Survival Guide, “FE” for e-mails from Dr. Paul Frommer, “AG” for Avatar (the game), “AF” for Avatar (the film), etc.
 * }

Additionally, when “ sa ” is used, all named template arguments of NaviSA are accepted as well.

Examples
The following examples demonstrate the use of NaviHW.


 * {| class=wikitable

! style="text-align:left" | Wikitext !! style="text-align:left" | Result
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||
 * : neural bond ||

⋮


 * neural bond


 * : beloved :  love  :  I love you ||
 * : beloved :  love  :  I love you ||


 * beloved
 * love
 * I love you


 * }