Template:InheritIdNameConstraints

From railML 2 Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Usage

This template displays constraints to selected attributes analogously to Template:InheritIdName.

Arguments

  • nocode: Suppress code constraints if nocode=1
  • nolang: Suppress language constraints if nolang=1

Examples

{{InheritIdNameConstraints}}

delivers:

  • id: xs:ID, required
    a string, starting with a letter (a..zA..Z) or an underscore (_),
    followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
  • code: xs:string, optional
  • name: xs:string, optional
  • description: xs:string, optional
  • xml:lang: xs:language, language identification, optional
{{InheritIdNameConstraints|noid=1}}

delivers:

{{InheritIdNameConstraints|nolang=1}}

delivers:

  • id: xs:ID, required
    a string, starting with a letter (a..zA..Z) or an underscore (_),
    followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
  • code: xs:string, optional
  • name: xs:string, optional
  • description: xs:string, optional