Template:Semcon: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
Line 3: | Line 3: | ||
|approved={{semconApproved|{{{1}}}|{{date|{{{proposed|'''FIXME'''}}}}}|{{date|{{{approved|'''FIXME'''}}}}}}} | |approved={{semconApproved|{{{1}}}|{{date|{{{proposed|'''FIXME'''}}}}}|{{date|{{{approved|'''FIXME'''}}}}}}} | ||
|deprecated={{semconDeprecated|{{{1}}}|{{date|{{{proposed|'''FIXME'''}}}}}|{{date|{{{approved|'''FIXME'''}}}}}|{{date|{{{deprecated|'''FIXME'''}}}}}}} | |deprecated={{semconDeprecated|{{{1}}}|{{date|{{{proposed|'''FIXME'''}}}}}|{{date|{{{approved|'''FIXME'''}}}}}|{{date|{{{deprecated|'''FIXME'''}}}}}}} | ||
|#default='''Obligatory argument ''status'' missing'''}}</includeonly><noinclude> | |#default='''Obligatory argument ''status'' missing'''}}[[category:allSemcons]]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template is designated for [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints]]. | This template is designated for [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints]]. |
Revision as of 10:43, 17 June 2019
Usage
This template is designated for semantic constraints. It presents them in a standardized way and provides listing in Category:Semantic constraints.
Please, don't forget to hint at semantic constraints with template:semconHint!
Arguments
The template has one unnamed obligatory argument and four named arguments:
- 1: The constraint.
- status: The status of the semantic constraint: proposed, approved or deprecated
- proposed: The date of proposal, obligatory
- approved: The approvement date, obligatory if status is either approved or deprecated
- deprecated: The deprecation date, obligatory if status=deprecated
|
Example
{{semcon|Wer im Glashaus sitzt, soll nicht mit Steinen werfen|status=approved|approved=2019-06-05|proposed=2019-06-04}}
delivers
|
{{semcon|All work and no play makes Jack a dull boy|status=proposed|approved=2019-06-05|proposed=1980-10-16}}
delivers
|
{{semcon|Never put off until tomorrow what you can do today.|status=deprecated|proposed=2019-02-12|approved=2019-03-18|deprecated=2019-04-05}}
delivers
|