Template:Site: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Line 1: Line 1:
<includeonly>[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}] ''(railML<sup>®</sup> website)''[[kategorie:External Link]]</includeonly><noinclude>
<includeonly>[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}] ''(railML<sup>®</sup> website)''[[kategorie:External Link]]</includeonly><noinclude>
==Usage==
==Usage==
Use this template, whenever you set external links.
Use this template, whenever you set links to the railml.org website ([http.://railml.org http.://railml.org]).


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 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 pages on the railML<sup>®</sup> ([http://railml.org http://railml.org]), please use [[Semplate:Site]].
For Links to other websites, please use [[Template:External]].
===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. Always use the complete URL, although the template is used exclusively for pages on [http://railml.org http://railml.org].
* 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 http://railml.org].
* 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>{{site|http://railml.org}}</nowiki>
<nowiki>{{site|http://railml.org}}</nowiki>

Revision as of 16:30, 14 February 2016

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

{{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