(Created page with "{{Template|wp}} creates links to wikipedia articles without the standard cross-site linking format. ==Usage== It accepts one {{parameter|mandatory|string}}, the name of a [https://www.wikipedia.org/ Wikipedia] article. ==Return== A normal cross-site article using {{code|<nowiki>wp:hyperlink</nowiki>}} includes the "wp" as part of the return: {{return| wp:hyperlink }} {{code|<nowiki>{{wp|hyperlink}}</nowiki>}} returns: {{return|{{wp|hyperlink}}}}") |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[[Category:Formatting Template]]</includeonly> | |||
{{Template|wp}} creates links to wikipedia articles without the standard cross-site linking format. | {{Template|wp}} creates links to wikipedia articles without the standard cross-site linking format. | ||
==Usage== | ==Usage== | ||
It accepts one {{parameter|mandatory|string}}, the name of a [https://www.wikipedia.org/ Wikipedia] article. | It accepts one {{parameter|mandatory|string}}, the name of a [https://www.wikipedia.org/ Wikipedia] article. | ||
==Return== | ==Return== | ||
A normal | A normal [[Special:Interwiki|interwiki]] link, such as {{code|<nowiki>[[wp:hyperlink]]</nowiki>}} includes the "wp" as part of the return: {{return| [[wp:hyperlink]] }} | ||
{{code|<nowiki>{{wp|hyperlink}}</nowiki>}} returns: {{return|{{wp|hyperlink}}}} | {{code|<nowiki>{{wp|hyperlink}}</nowiki>}} returns: {{return|{{wp|hyperlink}}}} | ||
Latest revision as of 14:50, 24 January 2023
Template:wp creates links to wikipedia articles without the standard cross-site linking format.
Usage
It accepts one mandatory string parameter, the name of a Wikipedia article.
Return
A normal interwiki link, such as [[wp:hyperlink]] includes the "wp" as part of the return:
{{wp|hyperlink}} returns:
