Template:External: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(→Usage) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}] ''(external link)''[[kategorie:External Link]]</includeonly><noinclude> | <includeonly>[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{text|}}}|{{{text}}}|{{{1}}}}}}}] ''(external link{{#if:{{{type|}}}|; {{{type}}}}}{{#if:{{{lang|}}}|; {{{lang}}}}})''[[kategorie:External Link]]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Use this template, whenever you set external links. | Use this template, whenever you set external links. |
Revision as of 17:25, 2 March 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)