https://wiki.secondlife.com/w/index.php?title=Template:Wiki/doc&feed=atom&action=historyTemplate:Wiki/doc - Revision history2024-03-29T09:20:00ZRevision history for this page on the wikiMediaWiki 1.36.1https://wiki.secondlife.com/w/index.php?title=Template:Wiki/doc&diff=1212083&oldid=prevGwyneth Llewelyn: Shamelessly copied from wiki.openstreetmap.org2022-09-19T01:37:50Z<p>Shamelessly copied from wiki.openstreetmap.org</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
== Use ==<br />
The {{Tl|Wiki}} or {{Tl|Wp}} template is used for creation of a link to Wikipedia :<br />
* {{Tl|Wiki|''Page name''}} ‒ Single parameter; use title of Wikipedia article.<br />
* {{Tl|Wiki|''Page name''|''lang''}} ‒ Optionally, specify an alternate language code.<br />
<br />
== Non-English Wikipedias ==<br />
Using only the bare Wikipedia article title defaults to linking to the English Wikipedia; if a language prefix is used, the link leads to the language-specific Wikipedia.<br />
<br />
For instance, {{Tl|Wiki|de:Bahnstrom}} and {{Tl|Wiki|Railway electrification system}} lead to the German-language and English-language versions of articles on "Railway electrification system".<br />
<br />
Alternatively you can use an optional 2nd parameter to specify the Wikipedia language code that will not be displayed but will link to the same Wikipedia article.<br />
<br />
For instance, {{Tl|Wiki|de:Bahnstrom}} renders as {{Wiki|de:Bahnstrom}}, while {{Tl|Wiki|Bahnstrom|de}} renders as {{Wiki|Bahnstrom|de}}, but both will link to the same German-language article.<br />
<br />
== See also ==<br />
* [[Template:WikiIcon]] draws an icon.<br />
* [[Template:Wikipedia]] adds extra text ("on Wikipedia").<br />
* Instead, you could also just use a direct wiki link: <code><nowiki>[[wikipedia:xx:pagename|display text]]</nowiki></code> (<code><nowiki>xx</nowiki></code> being the language code; "<code><nowiki>|display text</nowiki></code>" is optional).<br />
{{Languages|Template:Wikipedia}}<br />
<br />
<includeonly><br />
[[Category:Link to Wikimedia templates]]<br />
[[Category:Template with translation strings]]<br />
[[Category:Wikipedia|~Template]]<br />
</includeonly></div>Gwyneth Llewelyn