Template:External/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{External|rsc|rs}} {{Documentation}} {{Invokes|Top icons}} The '''External''' template adds links to RuneScape Classic Wiki, RuneScape Wiki, Meta and Wikipedia in the top right corner of an article. ==Usage== <pre>{{External|rs|rsc|meta|wp}} {{External|rs=RSW page|rsc=RSCW page|wp=Wikipedia page|meta}}</pre> If the page name on the other wiki is the same as on this wiki, use these as unnamed parameters: * To add a li...") |
No edit summary |
||
Line 3: | Line 3: | ||
{{Invokes|Top icons}} | {{Invokes|Top icons}} | ||
The '''External''' template adds links to | The '''External''' template adds links to [[wikipedia:|Wikipedia]] in the top right corner of an article. | ||
==Usage== | ==Usage== | ||
<pre>{{External | <pre>{{External|wp}} | ||
{{External | {{External|wp=Wikipedia page|meta}}</pre> | ||
If the page name on the other wiki is the same as on this wiki, use these as unnamed parameters: | If the page name on the other wiki is the same as on this wiki, use these as unnamed parameters: | ||
* To add a link to Wikipedia, use <code>wp</code> | * To add a link to Wikipedia, use <code>wp</code> | ||
If the page name on the other wiki is not the same as the page name on this wiki, use the above as named parameters, with the value being the correct name. These methods can be mixed. The order does not matter - the output order is always | If the page name on the other wiki is not the same as the page name on this wiki, use the above as named parameters, with the value being the correct name. These methods can be mixed. The order does not matter - the output order is always NR-WP. | ||
===Examples=== | ===Examples=== |
Latest revision as of 22:54, 2 October 2022
Template:External invokes function main in Module:Top icons using Lua.
Template:External invokes Module:Top icons using Lua.
The External template adds links to Wikipedia in the top right corner of an article.
Usage
{{External|wp}} {{External|wp=Wikipedia page|meta}}
If the page name on the other wiki is the same as on this wiki, use these as unnamed parameters:
- To add a link to Wikipedia, use
wp
If the page name on the other wiki is not the same as the page name on this wiki, use the above as named parameters, with the value being the correct name. These methods can be mixed. The order does not matter - the output order is always NR-WP.
Examples
On the Abyssal whip article, {{External|rs}}
produces:
On the Cabbage article, {{External|rsc|wp|rs}}
produces:
On the Bronze med helm article, {{External|rsc=Medium Bronze Helmet|rs=Bronze helm}}
produces: