BEGIN SAMPLE OUTPUT OF TEMPLATE:
This template creates a definition line for form of/fulldocs of primary entries.
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/fulldoc|<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. Note that form-of templates that describe a non-lemma inflection of a lemma form should be documented using {{form of/infldoc}}
.
This template is used on the documentation page usually as follows:
{{form of/fulldoc|...}} <includeonly> ] </includeonly>
Examples and a see-also section can follow the {{form of/fulldoc}}
declaration, and should be formatted for example like this:
{{form of/fulldoc|withcap=1}} ===Examples=== On {{m|en|job centre}}: <pre># {{lb|en|business|UK}} {{synonym of|en|job center}}</pre>gives # {{lb|en|business|UK}} {{synonym of|en|job center}} ==See also== * {{section link|Wiktionary:Semantic relations#Synonymy}} <includeonly> ] </includeonly>
Additional categories you may want to add the template to are Category:Declension form-of templates, Category:Conjugation form-of templates and 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.|pldesc=
alternative typographies
or ]
. Defaults to the template name minus any trailing "of", and pluralized with an "s", e.g. for {{obsolete spelling of}}
, this will have the default "obsolete spellings". Normally, use this for inserting links into the text or for irregular plurals.|primaryentrytext=
of primary entries
, which directly follows the text specified by |pldesc=
.|addlintrotext=
|pldesc=
, |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=
.|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.|sgdescof=
{{alternative case form of}}
, the default value will be "an alternative case form of". This is used in the parameter descriptions of the second and third numbered parameters and normally does not need to be overridden. An example of a template that overrides this is {{short for}}
.|art=
|sgdescof=
, this parameter overrides only the auto-generated article at the beginning of the description.{{form of/infldoc}}
{{form of/introdoc}}
{{form of/usagedoc}}
{{form of/paramdoc}}