Template:Wikipedia: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template can be used to easily link to 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


== Example ==
== Example ==


Writing <code><nowiki>{{Wikipedia|LDRAW}}</nowiki></code> will produces {{Wikipedia|LDRAW}}
Writing <code><nowiki>{{Wikipedia|LDRAW}}</nowiki></code> will produce this: {{Wikipedia|LDRAW}}


== Usage ==
== Usage ==
Line 14: Line 15:
To see which pages use this template, click "What links here" in the left menu.
To see which pages use this template, click "What links here" in the left menu.


[[Category:LDRAW Wiki 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: {{#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.