Template:External/doc: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
{{External|rs|rsc}} |
{{External|rs|rsc}} |
||
{{Documentation}} |
{{Documentation}} |
||
The '''External''' template adds links to |
The '''External''' template adds links to the [[rsw:|RuneScape Wiki]], the [[classicrsw:|RuneScape Classic Wiki]], [[meta:|Meta Weird Gloop Wiki]], and [[wikipedia:|Wikipedia]] beside the "Discussion" tab above an article's title. The links are not added to the mobile skin. |
||
==Usage== |
==Usage== |
||
Line 16: | Line 16: | ||
* <code>meta</code> creates a link to Meta Weird Gloop Wiki |
* <code>meta</code> creates a link to Meta Weird Gloop Wiki |
||
* <code>wp</code> creates a link to Wikipedia |
* <code>wp</code> creates a link to Wikipedia |
||
** Note that the Wikipedia link should not be used for content pages such as the [[cat]] or [[duck]] page, but for pages specifically about real-world subjects, such as [[Jagex]] or [[The Carlyle Group]]. |
** Note that the Wikipedia link should not be used for content mw.pages such as the [[cat]] or [[duck]] page, but for mw.pages specifically about real-world subjects, such as [[Jagex]] or [[The Carlyle Group]]. |
||
If the page title on the other wiki is not the same, use the above as named parameters, with the value being the correct name. |
If the page title on the other wiki is not the same, use the above as named parameters, with the value being the correct name. |
||
Line 27: | Line 27: | ||
<pre>{{External|rs|rsc}}</pre> |
<pre>{{External|rs|rsc}}</pre> |
||
To link to specific pages on RuneScape Classic and Wikipedia, but not on Meta Weird Gloop: |
To link to specific mw.pages on RuneScape Classic and Wikipedia, but not on Meta Weird Gloop: |
||
<pre>{{External|rsc=Draynor Village|meta|wp=Barack Obama}}</pre> |
<pre>{{External|rsc=Draynor Village|meta|wp=Barack Obama}}</pre> |
Revision as of 00:26, 17 October 2024
The External template adds links to the RuneScape Wiki, the RuneScape Classic Wiki, Meta Weird Gloop Wiki, and Wikipedia beside the "Discussion" tab above an article's title. The links are not added to the mobile skin.
Usage
External can be used with either unnamed parameters or named parameters. Parameter order does not matter - the order the buttons are shown in will always be RuneScape, then RuneScape Classic, then Meta Weird Gloop, then Wikipedia.
If linking to another wiki with an identical page title, specify the wiki's shorthand name in unnamed parameters:
{{External|rs|rsc|meta|wp}}
where
rs
creates a link to the RuneScape Wikirsc
creates a link to the RuneScape Classic Wikimeta
creates a link to Meta Weird Gloop Wikiwp
creates a link to Wikipedia- Note that the Wikipedia link should not be used for content mw.pages such as the cat or duck page, but for mw.pages specifically about real-world subjects, such as Jagex or The Carlyle Group.
If the page title on the other wiki is not the same, use the above as named parameters, with the value being the correct name.
{{External|rs=Page title|rsc=Page title|meta=Page title|wp=Page title}}
Examples
An example of this template in use can be found at the top of the page, where the buttons link to Template:External/doc on RuneScape and RuneScape Classic. It is produced by the following:
{{External|rs|rsc}}
To link to specific mw.pages on RuneScape Classic and Wikipedia, but not on Meta Weird Gloop:
{{External|rsc=Draynor Village|meta|wp=Barack Obama}}
See also