Template:UCpdf

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 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 or the link to an edition

Example

{|
{{UCpdf|3.5|draft}}
{{UCpdf|3.2|consolidated}}
{{UCpdf|3.1, 3.2|https://upload.wikimedia.org/wikipedia/commons/3/39/Migrant_caravan.pdf}}
|}

delivers

Stift.png (version(s) 3.5)

Finish.png (version(s) 3.2)

Pdf.png (version(s) 3.1, 3.2)