Template:Site: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Line 15: Line 15:
delivers
delivers


[http://railml.org {{#if:|{{{2}}}|http://railml.org}}] ''(railML<sup>®</sup> website)''[[kategorie:External Link]]
[http://railml.org http://railml.org] ''(railML<sup>®</sup> website)''


<nowiki>{{site|http://railml.org|railML<sup>®</sup> homepage}}</nowiki>
<nowiki>{{site|http://railml.org|railML<sup>®</sup> homepage}}</nowiki>
Line 21: Line 21:
delivers
delivers


[http://railml.org {{#if:railML<sup>®</sup> homepage|railML<sup>®</sup> homepage|http://railml.org}}] ''(railML<sup>®</sup> website)''[[kategorie:External Link]]
[http://railml.org railML<sup>®</sup> homepage] ''(railML<sup>®</sup> website)''


[[kategorie:ContentTemplate]]
[[kategorie:ContentTemplate]]
</noinclude>
</noinclude>

Revision as of 10:27, 11 February 2016

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 Semplate:Site.

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

{{site|http://railml.org}}

delivers

http://railml.org (railML® website)

{{site|http://railml.org|railML<sup>®</sup> homepage}}

delivers

railML® homepage (railML® website)

kategorie:ContentTemplate