Template:W: Difference between revisions
added 2nd parameter for multi-words WP links |
corrected formatting |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|[https://en.wikipedia.org/wiki/{{{1}}} {{{2}}}]|[https://en.wikipedia.org/wiki/{{{1}}} {{{1} | <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. | ||
== Examples == | == Examples == | ||