Difference between revisions of "Template:W"
Jump to navigation
Jump to search
m (add description) |
(added 2nd parameter for multi-words WP links) |
||
(One intermediate revision 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}}}]|[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. |
− | == | + | == 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: | ||
− | {{ | + | <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 13:37, 3 September 2022
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]]
Note: In both cases, the links will point to a Wikipedia of the same language instance that is used by the IntactiWiki.