Template:Site

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

Usage

Use this template, whenever you set links to the railml.org website ([http.://railml.org http.://railml.org]).

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

For Links to other websites, please use Template:External.

Options

The template has an obligatory and an optional argument:

  • The first, obligatory, argument is the link target. Always use the complete URL, although the template is used exclusively for pages on http://railml.org.
  • The second, optional, argument is the link text. If it is empty, the link target will be used as link text.

Examples

Code Output
{{site|http://railml.org}} http://railml.org (railML® website)kategorie:External Link
{{site|http://railml.org|Our homepage}} Our homepage (railML® website)kategorie:External Link
{{site|http://railml.org|type=HTML}} http://railml.org (railML® website, HTML)kategorie:External Link
{{site|http://railml.org|lang=EN|text=Our homepage}} Our homepage (railML® website, EN)kategorie:External Link
{{site|http://railml.org|Our homepage|type=HTML|lang=EN}} Our homepage (railML® website, HTML, EN)kategorie:External Link

kategorie:ContentTemplate