Template:Rolerecurrence

From OpenStreetMap Wiki
(Redirected from Template:MemberRecurrence)
Jump to: navigation, search

{{Rolerecurrence}}: missing parameter 1=

[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

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+