Template:UCpdf

From RailTopoModel® Wiki
Jump to navigation Jump to search

Usage

This template supports Template:UseCase by standardizing the links to approved usecase versions. It works only within Template:UseCase.

Arguments

The template has two unnamed obligatory arguments:

  • 1: The version(s) to which the usecases (in a certain edition) applies
  • 2: Either status draft/consolidated/postponed or the link to an edition

If version of railML is not known, please use string "TBD" instead.

Example

{|
{{UCpdf|3.5|draft}}
{{UCpdf|3.3|implemented}}
{{UCpdf|3.4|in progress}}
{{UCpdf|3.2|consolidated}}
{{UCpdf|3.2|postponed}}
{{UCpdf|3.1, 3.2|https://upload.wikimedia.org/wikipedia/commons/3/39/Migrant_caravan.pdf}}
|}

delivers

DRAFT railML® 3.5

IMPLEMENTED railML® 3.3

<sd: ... > IN PROGRESS railML® 3.4

CONSOLIDATED railML® 3.2

⛾ POSTPONED railML® 3.2

RELEASED railML® 3.1, 3.2