Template:External

From railML 2 Wiki
Revision as of 17:33, 2 March 2016 by RailML Coord Documentation (talk | contribs) (→‎Examples: Documentation actualized to new parameters)
Jump to navigation Jump to search

Usage

Use this template, whenever you set external links.

This template grants that external links will be collected in category:External Link. So we keep an overview of external links and control their actuality routinely.

For Links to pages on the railML® (http://railml.org), please use Template:Site.

Options

The template has an obligatory and an optional argument:

  • The first, obligatory, argument is the link target
  • The second, optional argument is the link text. If it is empty, the link target will be used as link text.

Examples

Code Output
{{external|http://www.uic.org}} http://www.uic.org (external link)
{{external|http://www.uic.org|International Union of Railways}} International Union of Railways (external link)
{{external|http://www.uic.org|type=PDF}} http://www.uic.org (external link, PDF)
{{external|http://www.uic.org|lang=EN|text=UIC}} UIC (external link, EN)

kategorie:ContentTemplate