Template:External: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(→Usage) |
|||
Line 5: | Line 5: | ||
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. | 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<sup>®</sup> ([http://railml.org http://railml.org]), please use [[ | For Links to pages on the railML<sup>®</sup> ([http://railml.org http://railml.org]), please use [[Template:Site]]. | ||
===Options=== | ===Options=== | ||
The template has an obligatory and an optional argument: | The template has an obligatory and an optional argument: | ||
* The first, obligatory, argument is the link target | * 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. | * The second, optional argument is the link text. If it is empty, the link target will be used as link text. | ||
==Examples== | ==Examples== | ||
<nowiki>{{external|http://uic.org}}</nowiki> | <nowiki>{{external|http://uic.org}}</nowiki> |
Revision as of 16:27, 14 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 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
{{external|http://uic.org}}
delivers
http://uic.org (external link)
{{external|http://uic.org|UIC homepage}}
delivers
UIC homepage (external link)