Template:External/doc

From Old School Near-Reality Wiki
< Template:External
Revision as of 22:54, 2 October 2022 by Jacmob (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Information icon-grey.png
This is a documentation subpage for Template:External.
It contains usage information, categories, and other content that is not part of the original template page.
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: