Template:Rolerecurrence
(Redirected from Template:Memberrecurrence)
Jump to navigation
Jump to search
{{Rolerecurrence}}: missing parameter 1=
This documentation is transcluded from Template:Rolerecurrence/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
A template for relation member recurrence specification.
Usage
1=
- The first unnamed parameter is the minimum members of a role that can be present; i.e., a non-negative integer.
2=
- The second unnamed parameter, is the maximum members of a role that can be present; it can be a positive integer,
-
, or empty/undefined.-
indicates that there is no maximum. If the parameter is empty or undefined, the maximum is take to be the same as the minimum.
Samples
{{Rolerecurrence|0}} | ✗ 0 |
{{Rolerecurrence|0|1}} | ? 0–1 |
{{Rolerecurrence|0|-}} | ? 0+ |
{{Rolerecurrence|1}} | ! 1 |
{{Rolerecurrence|1|-}} | ! 1+ |
{{Rolerecurrence|1|2}} | ! 1–2 |
{{Rolerecurrence|1|5}} | ! 1–5 |
{{Rolerecurrence|2|5}} | ! 2–5 |
{{Rolerecurrence|2|-}} | ! 2+ |