Difference between revisions of "Template:Wikipedia link"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Kicoax
imported>Qazaaq
(Added categories.)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
Makes a link to a Wikipedia page. This exists only because the "wikipedia" [[Special:Interwiki|interwiki]] prefix is missing.
Makes a link to a Wikipedia page. This exists only because the "wikipedia" [[Special:Interwiki|interwiki]] prefix is missing.


=Parameters=
==Parameters==
#The Wikipedia page name (default: current page name)
#The Wikipedia page name (default: current page name)
#The link text (default: first parameter if specified, otherwise the current page name)
#The link text (default: first parameter if specified, otherwise the current page name)


=Examples=
==Examples==
{|
{| class="wikitable"
! Source || Output
! Source || Output
|-
|-
Line 17: Line 17:
| <code><nowiki>{{Wikipedia link|The Hitchhiker's Guide to the Galaxy|More information}}</nowiki></code> || {{Wikipedia link|The Hitchhiker's Guide to the Galaxy|More information}}
| <code><nowiki>{{Wikipedia link|The Hitchhiker's Guide to the Galaxy|More information}}</nowiki></code> || {{Wikipedia link|The Hitchhiker's Guide to the Galaxy|More information}}
|}
|}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:55, 3 September 2019

Template:Wikipedia link

Makes a link to a Wikipedia page. This exists only because the "wikipedia" interwiki prefix is missing.

Parameters[edit source]

  1. The Wikipedia page name (default: current page name)
  2. The link text (default: first parameter if specified, otherwise the current page name)

Examples[edit source]

Source Output
{{Wikipedia link}} Template:Wikipedia link
{{Wikipedia link|The Hitchhiker's Guide to the Galaxy}} The Hitchhiker's Guide to the Galaxy
{{Wikipedia link|The Hitchhiker's Guide to the Galaxy|More information}} More information