Template:Wikipedia: Difference between revisions

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


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.
<!--
we want to use this link syntax:
    [http://en.wikipedia.org/wiki/{{#replace:{{{1|}}}| |_}} {{{2|Wikipedia: {{#replace:{{{1|}}}|_| }}}}}]
, but that is impossible until the string functions (for #replace) are enabled in this Wiki
-->


[[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/{{{1|}}} {{{2|Wikipedia: {{{1|}}}}}}]</includeonly>

Revision as of 22:24, 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: LDRAW

Usage

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