Template:Wikipedia: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


* 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


== Example ==
== Example ==
Line 15: Line 16:


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

Revision as of 21:53, 4 April 2018

This template can be used to easily link to 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 Article: LDRAW

Usage

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