10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{uses lua|Module:government}} | {{uses lua|Module:government}} | ||
{{shortcut|Template:+}} | {{shortcut|Template:+}} | ||
{{wip}} | |||
{{tempn|with|rad| | 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: | ||
: {{para|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. | |||
: {{para|2|req=1}}, {{para|3}} … | |||
:: government entry/ies | |||
: {{para|pos|opt=1}} | |||
:: alternative to entering part of speech information in {{para|1}} | |||
== Basic usage == | |||
If you would like to simply specify government of a specific form, it can be entered as the first parameter. | |||
{{tempn|with|infinitive}} | |||
Produces: | |||
: {{with|infinitive}} | |||
<hr> | |||
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]]: | |||
{{tempn|with|rad|instrumental|pos=verb}} | |||
{{tempn|with|rad|ins|pos=v}} | {{tempn|with|rad|ins|pos=v}} | ||
{{tempn|with|rad verb| | {{tempn|with|rad verb|instrumental}} | ||
{{tempn|with|rad v|ins}} | {{tempn|with|rad v|ins}} | ||
: {{with|rad|ins}} + [[:Category:Radestrian verbs governing the instrumental]] | Produces: | ||
: {{with|rad|ins}} + [[:Category:Radestrian verbs governing the instrumental]] | |||
== Format functions == | |||
If you would not like the form glossed, prepend it with <code>_</code>. This will deactivate aliases and any other form of auto-formatting, such as colouring. Only the italics will remain. | |||
{{tempn|with|_infinitive}} | |||
{{tempn|with|_acc}} | |||
Produces: | |||
: {{with|_infinitive}} | |||
: {{with|_acc}} :( | |||
== Override functions == | |||
<!-- | |||
{{tempn|with|rad v|*ins|pos=v}} | {{tempn|with|rad v|*ins|pos=v}} | ||
This will not add the category. This functionality is most useful when you want to highlight a particular usage with a case that is assume (i.e. accusative with transitive verbs), which may not necessarily need a category. | This will not add the category. This functionality is most useful when you want to highlight a particular usage with a case that is assume (i.e. accusative with transitive verbs), which may not necessarily need a category. | ||
Line 54: | Line 87: | ||
{{temp|with|rad|acc / :la(acc)<into something><q*:special note>}} | {{temp|with|rad|acc / :la(acc)<into something><q*:special note>}} | ||
: {{with|rad|acc / :la(dat)<into something><q*:special note>}} | : {{with|rad|acc / :la(dat)<into something><q*:special note>}} | ||
--> |