Template:External/doc
< Template:External
Revision as of 22:53, 2 October 2022 by Jacmob (talk | contribs) (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...")
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 RuneScape Classic Wiki, RuneScape Wiki, Meta and Wikipedia in the top right corner of an article.
Usage
{{External|rs|rsc|meta|wp}} {{External|rs=RSW page|rsc=RSCW page|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 the RuneScape Wiki, use
rs
- To add a link to the RuneScape Classic Wiki, use
rsc
- To add a link to Meta Weird Gloop, use
meta
- 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 RS-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: