Template:Wikipedia: Difference between revisions

From Hydrogenaudio Knowledgebase
(Basic template for creating Wikipedia links in a reference list)
 
m (Minor updated to template function.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[wikipedia:{{{1}}}|{{{1}}}]] on Wikipedia
[[wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]] on Wikipedia<noinclude>
==Usage==
<pre>{{wikipedia|1|2}}</pre>
===Fields===
; 1
: <nowiki>[Optional]</nowiki> The name of the page as it appears on Wikipedia, which will generate the working link. If this is not supplied, the template will assume that the target Wikipedia page has the same title as the page it is used on.
; 2
: <nowiki>[Optional]</nowiki> Alternate page title, should the name of the Wikipedia page be overly long.</noinclude>

Latest revision as of 19:17, 29 November 2019

Wikipedia on Wikipedia

Usage

{{wikipedia|1|2}}

Fields

1
[Optional] The name of the page as it appears on Wikipedia, which will generate the working link. If this is not supplied, the template will assume that the target Wikipedia page has the same title as the page it is used on.
2
[Optional] Alternate page title, should the name of the Wikipedia page be overly long.