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".