Template:ExampleFiles

From RailTopoModel® Wiki
Jump to navigation Jump to search

Usage

Template to either link to the download page for code examples or to a certain example

Arguments

  • 1: The call for the file; default: Nothing (will lead to the webpage)
  • 2: A linktext; default: the path
  • 3: if silent, a comment will be suppressed

Exampes

{{exampleFiles}}

delivers:

https://www.railml.org/en/example-data (link to the railML® website)

{{exampleFiles|1=?file=files/download/exampledata/090318_Bahnkonzept_ExampleDataGPSinfradat_NorthUpperRhineNetworkRailML23.zip|2={{{1|Middle Rhine Railway by GPSinfradat}}}|3=silent}}

delivers:

Middle Rhine Railway by GPSinfradatrailml2:Template:ExampleFilesrailml3:Template:ExampleFiles