Template:External: Difference between revisions

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


[http://uic.org {{#if:|{{{2}}}|http://uic.org}}] ''(external link)''[[kategorie:External Link]]
[http://uic.org http://uic.org] ''(external link)''


<nowiki>{{external|http://uic.org|UIC homepage}}</nowiki>
<nowiki>{{external|http://uic.org|UIC homepage}}</nowiki>
Line 21: Line 21:
delivers
delivers


[http://uic.org {{#if:UIC homepage|UIC homepage|http://uic.org}}] ''(external link)''[[kategorie:External Link]]
[http://uic.org UIC homepage] ''(external link)''


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

Revision as of 10:20, 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
  • The second, optional argument is the link text. If it is empty, the link target will be used as link text.

Examples

{{external|http://uic.org}}

delivers

http://uic.org (external link)

{{external|http://uic.org|UIC homepage}}

delivers

UIC homepage (external link)

kategorie:ContentTemplate