Template:with/documentation
Uses Lua: |
Shortcut
{{+}} |
This template is used to generate information boxes beside definitions indicating case government information, or any other information regarding complements. The available parameters are as follows:
|1=
- language code + part of speech
- This parameter is only required for certain aspects of functionality. If none of the below functions requiring their specification are of use, this parameter may be omitted. If omitted, the following parameter can be entered as the first parameter.
- language code + part of speech
|2=
(required),|3=
…- government entry/ies
|pos=
(optional)- alternative to entering part of speech information in
|1=
- alternative to entering part of speech information in
Basic parameter formatting
If you would like to simply specify government of a specific form, it can be entered as the first parameter.
{{with|infinitive}}
Produces:
- [with infinitive]
If you would like to specify a case and have it categorised, the following must apply:
- the case must be specified in Module:government/data
- the language code must be specified
- the part of speech must be specified
Any abbreviations of cases or parts of speech must also be specified as aliases in Module:government/data:
{{with|rad|instrumental|pos=verb}} {{with|rad|ins|pos=v}} {{with|rad verb|instrumental}} {{with|rad v|ins}}
Produces:
Link usage
Format functions
If you would not like the form glossed, prepend it with _
. This will deactivate aliases and any other form of auto-formatting, such as colouring. Only the italics will remain.
{{with|_infinitive}} {{with|_acc}}
Produces:
- [with infinitive]
- [with acc] :(