Template:Wp/doc: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
(Created page with "<noinclude>{{docsub}}</noinclude> The <nowiki>{{</nowiki>wp}} template provides a shorthand for linking to English {{wp|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:<br /> :<code><nowiki>{{</nowiki>wp|'''1'''|'''2'''}}</code> ==Parameters== {| class="wikitable" ! Paramete...")
 
m (Fix typo)
 
Line 4: Line 4:
==Usage==
==Usage==
To use the template, copy and paste the following in the article where the link to the Wikipedia article is supposed to appear:<br />
To use the template, copy and paste the following in the article where the link to the Wikipedia article is supposed to appear:<br />
:<code><nowiki>{{</nowiki>wp|'''1'''|'''2'''}}</code>
:<code><nowiki>{{</nowiki>wp|''1''|''2''}}</code>


==Parameters==
==Parameters==

Latest revision as of 05:00, 6 December 2024

This is a documentation subpage for Template:Wp.
It may contain usage information, categories and other content that is not part of the original template page.

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