Template:Wp: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
(Created page with "[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> This template provides a shorthand for linking to Wikipedia articles, instead of IIwiki articles. To use it, simply use the following syntax: <nowiki>{{wpl|article name}}</nowiki> You may also want to link to an article on Wikipedia, but may not want to have that as the link displayed (examples include abbreviations and bypassing disambiguation pages). You would thus use this syntax: <nowiki>{{wpl|article name|display...")
 
m (Move documentation to a subpage)
 
Line 1: Line 1:
[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>
<includeonly>[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>{{doc}}
 
This template provides a shorthand for linking to Wikipedia articles, instead of IIwiki articles.
 
To use it, simply use the following syntax:
<nowiki>{{wpl|article name}}</nowiki>
 
You may also want to link to an article on Wikipedia, but may not want to have that as the link displayed (examples include abbreviations and bypassing disambiguation pages). You would thus use this syntax:
<nowiki>{{wpl|article name|display name}}</nowiki>
 
[[Category:External link templates]]</noinclude>
[[Category:External link templates]]</noinclude>

Latest revision as of 05:00, 6 December 2024

Template documentation

The {{wp}} template provides a shorthand for linking to English Wikipedia articles so they appear the same as links to articles within the Gotha wiki.

Usage

To use the template, copy and paste the following in the article where the link to the Wikipedia article is supposed to appear:

{{wp|1|2}}

Parameters

Parameter Description Type Status Notes
1 Wikipedia article name String Required
2 Text to display String Optional Defaults to the Wikipedia article name

Examples

Wiki markup Displays Notes
{{wp|Sonangol Group}} Sonangol Group
{{wp|Sonangol Group|''Grupo Sonangol''}} Grupo Sonangol The display parameter can accept standard wiki text markup such as '' for italics