Template:Rolerecurrence/doc
< Template:Rolerecurrence(Redirected from Template:Memberrecurrence/doc)
Jump to navigation
Jump to search
This is a documentation subpage for Template:Rolerecurrence. It contains usage information, categories and other content or metadata that is not part of the original template. |
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+ |