Template:W: Difference between revisions

From IntactiWiki
Jump to navigation Jump to search
WikiAdmin (talk | contribs)
m add description
WikiAdmin (talk | contribs)
corrected formatting
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://en.wikipedia.org/wiki/{{{1}}} {{{1}}}]<sup><small>[WP]</small></sup></includeonly><noinclude>This template links a term to a Wikipedia article about the same term, indicating the WP link by a superscripted <sup><small>[WP]</small></sup> mark.
<includeonly>{{#if:{{{2|}}}|[https://en.wikipedia.org/wiki/{{{1}}} {{{2}}}<sup><small> (WP)</small></sup>]|[https://en.wikipedia.org/wiki/{{{1}}} {{{1}}}<sup><small> (WP)</small></sup>]}}</includeonly><noinclude>This template links a term to a Wikipedia article about the same term, indicating the WP link by a superscripted <sup><small>[WP]</small></sup> mark.


== Example ==
== Examples ==
<pre>{{W|Circumcision}}</pre>
<pre>{{W|Circumcision}}</pre>
{{W|Circumcision}}
<pre>{{W|College_of_Physicians_and_Surgeons_of_Ontario|College of Physicians and Surgeons of Ontario}}</pre>
{{W|College_of_Physicians_and_Surgeons_of_Ontario|College of Physicians and Surgeons of Ontario}}
== Wikifying to the Wikipedia ==
If you want to link to a Wikipedia article without the [WP] mark, you can even wikify the term using a special prefix:


{{W|Circumcision}}
<pre>[[wikipedia:Hashtag|hashtag]]</pre>
 
[[wikipedia:Hashtag|hashtag]]
 
{{NOTE}} In both cases, the links will point to a Wikipedia of the same language instance that is used by the IntactiWiki.
 
[[Category:Wikipedia reference]]


[[de:Vorlage:W]]</noinclude>
[[de:Vorlage:W]]</noinclude>

Latest revision as of 11:50, 21 August 2025

This template links a term to a Wikipedia article about the same term, indicating the WP link by a superscripted [WP] mark.

Examples

{{W|Circumcision}}

Circumcision (WP)

{{W|College_of_Physicians_and_Surgeons_of_Ontario|College of Physicians and Surgeons of Ontario}}

College of Physicians and Surgeons of Ontario (WP)

Wikifying to the Wikipedia

If you want to link to a Wikipedia article without the [WP] mark, you can even wikify the term using a special prefix:

[[wikipedia:Hashtag|hashtag]]

hashtag

Note: In both cases, the links will point to a Wikipedia of the same language instance that is used by the IntactiWiki.