Template:with/documentation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 67: Line 67:
: {{with|rad|(gen):maișen}}
: {{with|rad|(gen):maișen}}


== Multiple entry functions ==
=== Note and translation functions ===
=== Intra-parametric conjunction ===
 
=== Multiple entry ===
Multiple complements can be specified in one parameter by dividing them with either <code>+</code> (''and'') or <code>/</code> (''or'').
Multiple complements can be specified in one parameter by dividing them with either <code>+</code> (''and'') or <code>/</code> (''or'').


  {{tempn|with|rad v|gen + :la(dat)}}
  {{tempn|with|rad v|gen<someone> + :la(dat)<in something>}}
  {{tempn|with|rad v|gen / :la(dat)}}
  {{tempn|with|rad v|gen / :la(dat)}}
  {{tempn|with|rad v|gen + :la(dat) / dat}}
  {{tempn|with|rad v|gen + :la(dat) / dat}}
: {{with|rad|gen + :la(dat)}} + [[:Category:Radestrian verbs governing the genitive]]
: {{with|rad|gen<someone> + :la(dat)<in something>}} + [[:Category:Radestrian verbs governing the genitive]]
: {{with|rad|gen / :la(dat)}} + [[:Category:Radestrian verbs governing the genitive]]
: {{with|rad|gen / :la(dat)}} + [[:Category:Radestrian verbs governing the genitive]]
: {{with|rad|gen + :la(dat) / dat}} + [[:Category:Radestrian verbs governing the genitive]] + [[:Category:Radestrian verbs governing the dative]]
: {{with|rad|gen + :la(dat) / dat}} + [[:Category:Radestrian verbs governing the genitive]] + [[:Category:Radestrian verbs governing the dative]]


== Note and translation functions ==
You can also specify multiple parameters to list multiple senses.


== Format functions ==
{{tempn|with|rad v|gen<someone> + :la(dat)<in something>|ins<something> + :er(dat)<on something>}}
: {{with|rad|gen<someone> + :la(dat)<in something>|ins<something> + :er(dat)<on something>}} + [[:Category:Radestrian verbs governing the genitive]] + [[:Category:Radestrian verbs governing the instrumental]]


=== Colours ===
=== Format functions ===
==== Colours ====
If you would like to add or override the colour of the form, a hex code can be specified in <code>[square brackets]</code> directly after the form specification. If the form is specified with a linked term, the hex code must be specified '''outside''' the <code>(round brackets)</code>.
If you would like to add or override the colour of the form, a hex code can be specified in <code>[square brackets]</code> directly after the form specification. If the form is specified with a linked term, the hex code must be specified '''outside''' the <code>(round brackets)</code>.
  {{tempn|with|rad|&transitive[CBA987] / :la(dat)[789ABC]}}
  {{tempn|with|rad|&transitive[CBA987] / :la(dat)[789ABC]}}
: {{with|rad|&transitive[CBA987] / :la(dat)[789ABC]}}
: {{with|rad|&transitive[CBA987] / :la(dat)[789ABC]}}


=== Glossary link override ===
==== Glossary link override ====
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.
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|_infinitive}}
Line 97: Line 100:
: {{with|_acc}} :(
: {{with|_acc}} :(


=== Overriding ‘''with''’ ===
==== Overriding ‘''with''’ ====
If you do not need the automatically generated ‘''with''’ text, prepend the citation with <code>&</code>.
If you do not need the automatically generated ‘''with''’ text, prepend the citation with <code>&</code>.
  {{temp|with|rad|&transitive / :la(dat)}}
  {{temp|with|rad|&transitive / :la(dat)}}
Line 113: Line 116:
: {{with|rad|&transitive + :la(dat)}}
: {{with|rad|&transitive + :la(dat)}}


== Categorisation override ==
=== Categorisation override ===
If you are adding a case and would not like it categorised, there are two options.
If you are adding a case and would not like it categorised, there are two options.


=== Option 1: do not specify a part of speech ===
==== Option 1: do not specify a part of speech ====
This only works if you would not like categorisation from anything specified in the template.
This only works if you would not like categorisation from anything specified in the template.
  {{tempn|with|rad|ins}}
  {{tempn|with|rad|ins}}
Line 122: Line 125:
: {{with|rad|ins}} <s>+ [[:Category:Radestrian verbs governing the instrumental]]</s>
: {{with|rad|ins}} <s>+ [[:Category:Radestrian verbs governing the instrumental]]</s>


=== Option 2: prepend <code>*</code> ===
==== Option 2: prepend <code>*</code> ====
This functionality is better if there are other elements which still require categorisation. It is most useful when you want to highlight a particular usage with a case that is nonetheless assumed (i.e. the accusative with transitive verbs), for which a category may arguably be redundant or unnecessary.
This functionality is better if there are other elements which still require categorisation. It is most useful when you want to highlight a particular usage with a case that is nonetheless assumed (i.e. the accusative with transitive verbs), for which a category may arguably be redundant or unnecessary.
  {{tempn|with|rad v|dat<to someone> + *acc<something>}}
  {{tempn|with|rad v|dat<to someone> + *acc<something>}}
Line 137: Line 140:
: {{with|rad|acc / :la(dat)|multiple}}
: {{with|rad|acc / :la(dat)|multiple}}


{{temp|with|rad|:er :rigun(gen)}}
: {{with|rad|:er :rigun(gen)}} (multiple links)


{{temp|with|rad|acc / :la(dat)<q:obsolete>}}
{{temp|with|rad|acc / :la(dat)<q:obsolete>}}