BEGIN SAMPLE OUTPUT OF TEMPLATE:
This template creates a definition line for the form of/infldoc of a primary entry.
By default, this template displays its output with an initial lowercase letter. This can be overridden by using
|cap=1
to make the initial letter capitalized (but this is not generally recommended for non-English languages, as non-English definitions should be lowercase).
This template is not meant to be used in etymology sections.
Note that users can customize how the output of this template displays by modifying their Custom CSS files. See “Form of” templates for details.
Use in the definition line, most commonly as follows:
# {{form of/infldoc|<langcode>|<primary entry goes here>}}
where <langcode>
is the language code, e.g. en
for English, de
for German, or ja
for Japanese.
Positional (unnamed) parameters:
|1=
(required)|lang=
is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.|2=
(required)|3=
(optional)Named parameters:
|t=
or |4=
(optional)|gloss=
is a deprecated synonym; please do not use.|tr=
(optional)|ts=
(optional)|cat=
, |cat2=
, |cat3=
, etc. (optional)|addl=
(optional)|addl=
begins with a colon or semicolon, it is appended directly with no joining punctuation, and if the value begins with an underscore, the remainder is joined to the preceding text with a space.|cap=
(optional)|cap=1
, then the first letter will be in capitalized. Not generally recommended, except for English definitions, because non-English definitions should begin with a lowercase letter and be formatted like a phrase, rather than a full sentence.|notext=
(optional)|notext=1
, don't display the initial text preceding the term(s), but only the actual term or terms. The page is still categorized as normal, unless |nocat=1
is given.|id=
(optional){{senseid}}
template.|sc=
(optional)|sort=
(optional)Use a syntax like Изабе́лла<tr:Izabɛ́lla><t:Isabelle>
to specify modifiers such as transliterations, glosses and qualifiers. In this example, for the Russian name Изабе́лла (Izabɛ́lla, “Isabelle”), the manual transliteration Izabɛ́lla and gloss "Isabelle" are given. The following modifiers are recognized; see {{link}}
for the exact meaning of these modifiers.
t
: glosstr
: transliterationts
: transcription, for languages where the transliteration and pronunciation are markedly differentq
: left qualifier, e.g. <q:neither sexual nor romantic in nature>
(in reference to platonic love); this appears before the term, parenthesized and italicizedqq
: right qualifier; this appears after the term, parenthesized and italicizedl
: comma-separated left labels, e.g. <l:rare>
or <l:UK,Australia>
or <l:archaic,or,dialectal>
; as shown, there must not be a space after the comma for it to be recognized as a delimiter; the labels appear before the term, parenthesized, italicized and appropriately linked as if {{lb}}
were used (but without categorization); an alternative syntax is to enclose the labels in <<...>>
, e.g. <l:<<rare>>, <<archaic>> or <<dialectal>>>
ll
: comma-separated right labels; these appear after the term, parenthesized, italicized and appropriately linked as for left labelsref
: reference or references, using the syntax documented in Template:IPA#Referencesg
: comma-separated list of gender/number specifications; see Module:gender and number for the complete listalt
: alternative display textpos
: part of speechlit
: literal meaningid
: sense ID; see {{senseid}}
sc
: script codeEND SAMPLE OUTPUT OF TEMPLATE
This template should be used for displaying the documentation of a form-of template, particularly one that indicates a non-lemma inflection of a lemma form. Form-of templates that describe other sorts of variants should be documented using {{form of/fulldoc}}
.
This template is used on the documentation page usually as follows:
{{form of/infldoc|...}} <includeonly> ] </includeonly>
Examples and a see-also section can follow the {{form of/infldoc}}
declaration, and should be formatted for example like this:
{{form of/infldoc|sgdesc=the ] degree|exlang=ar|addlintrotext=This template does not currently place the page into any category; that is done by the headword template, e.g. {{temp|ar-elative}}.}} ===Examples=== On {{ncog|ar|أَكْبَر}} (elative of the adjective {{m|ar|كَبِير}}): <pre>{{elative of|ar|كَبِير}}</pre>gives # {{elative of|ar|كَبِير}} <includeonly> ] ] </includeonly>
Generally you will want to specify Category:Form-of templates as well as one of Category:Declension form-of templates, Category:Conjugation form-of templates or Category:Grammar form-of templates.
All parameters are optional.
|lang=
|exlang=
, |exlang2=
, ...en
for English.|cat=
, |cat2=
, ...obsolete forms
. Multiple comma-separated categories can be included in a single parameter as long as there isn't a space after the comma.|shortcut=
, |shortcut2=
, ...Template:
, which is automatically added. Multiple comma-separated shortcuts can be included in a single parameter as long as there isn't a space after the comma.|sgdesc=
the feminine equivalent
or the ] degree
. Defaults to the template name minus any trailing "of", preceded by "the". For example, the template {{dative plural of}}
will have the default "the dative plural". Normally, use this for inserting links into the text or descriptive text that otherwise differs from the template name. In lieu of using this parameter, the default can also be customized using |form=
and/or |art=
.|primaryentrytext=
of a primary entry
, which directly follows the text specified by |sgdesc=
.|addlintrotext=
|sgdesc=
, |primaryentrytext=
), the language it applies to (if |lang=
is given), example languages it may apply to (if |exlang=
is given), as well as any categories that the page is added to (of |cat=
is given).|addlparamtext=
|from=
/|from2=
.|withtags=
|4=
and up instead of a gloss.|withdot=
|dot=
and |nodot=
parameters to override this.|withcap=
|nocap=
parameter to override this.|withencap=
|nocap=1
to make the initial letter lowercase in English, and |cap=1
to make the initial letter capitalized in non-English languages (although this is not generally recommended).|withfrom=
|from=
, |from2=
, etc. to specify regional context labels to appear in the definition line.|withp=
|p=
or |POS=
to specify the part of speech for categorization purposes.|sgdescof=
|sgdesc=
with the addition of "of", and rarely needs to be overridden.|art=
|sgdesc=
, this parameter overrides only the auto-generated article "the" at the beginning of the description.|form=
|sgdesc=
, this parameter adds additional text (e.g. "form" or "variant") at the end of the default value. This is most frequently specified as |form=form
to add the literal text "form". This is used for example in the documentation for {{feminine of}}
, where "the feminine form of a primary entry" is clearer than "the feminine of a primary entry".{{form of/fulldoc}}
{{form of/introdoc}}
{{form of/usagedoc}}
{{form of/paramdoc}}