Template:Wikipedia: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template can be used to easily link to [http://en.wikipedia.org Wikipedia] without having to use hard-coded URLs.
This template can be used to easily link to [http://en.wikipedia.org the English Wikipedia] without having to use hard-coded URLs.


== Parameters ==
== Parameters ==


* Parameter 1 (mandatory): the name of the (English) Wikipedia article you want to link to
* Parameter 1 (mandatory): the name of the English Wikipedia article you want to link to
* Parameter 2 (optional):  custom link text
* Parameter 2 (optional):  custom link text


Line 16: Line 16:


[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly>[http://en.wikipedia.org/wiki/{{#replace:{{{1|}}}| |_}} {{{2|Wikipedia: {{#replace:{{{1|}}}|_| }}}}}]</includeonly>
</noinclude><includeonly>[http://en.wikipedia.org/wiki/{{#replace:{{{1|}}}| |_}} {{{2|Wikipedia: {{#replace:{{{1|}}}|_|&nbsp;}}}}}]</includeonly>

Latest revision as of 20:52, 5 April 2018

This template can be used to easily link to the English Wikipedia without having to use hard-coded URLs.

Parameters

  • Parameter 1 (mandatory): the name of the English Wikipedia article you want to link to
  • Parameter 2 (optional): custom link text

Example

Writing {{Wikipedia|LDRAW}} will produce this: Wikipedia: LDRAW

Usage

To see which pages use this template, click "What links here" in the left menu.