Template:Cardinality from value to explained

From TDWG Terms Wiki
Revision as of 11:01, 26 October 2012 by Andreas Plank (Talk | contribs) (Created page with "<includeonly>{{#switch: {{{1|}}}<!-- -->| 0..1 = 0..1 (=optional single occurrence) <!-- -->| 0..n = 0..n (=optional multiple occurrence) <!-- -->| 1..1 = 1..1 (=mandatory sin...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template has just one parameter, use it as follows:

{{Cardinality from value to explained | 0..1 }}

Returned values:

  • 0..1 = 0..1 (=optional single occurrence)
  • 0..n = 0..n (=optional multiple occurrence)
  • 1..1 = 1..1 (=mandatory single occurrence)
  • 1..n = 1..n (=mandatory multiple occurrence)

TODO: should we add a star version like: "1..*"? --Andreas Plank 11:01, 26 October 2012 (CEST)