Template:Wp/doc

From The World of Gotha
Revision as of 04:57, 6 December 2024 by Jph2 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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