Template:W: Difference between revisions

WikiAdmin (talk | contribs)
m added alternate wikify style
WikiAdmin (talk | contribs)
corrected formatting
 
(2 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}}


{{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 ==
== Wikifying to the Wikipedia ==