Difference between revisions of "Template:See Wikipedia"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Kicoax
imported>Qazaaq
(Added categories.)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
See [https://{{CONTENTLANG}}.wikipedia.org/wiki/{{#if:{{{2|}}}|{{urlencode:{{{2}}}|WIKI}}|{{FULLPAGENAMEE}}}} Wikipedia's {{#if:{{{1|}}}|{{{1}}}|{{lc:{{NAMESPACE}}}} page}}] for more information.<noinclude>
<includeonly>See {{Wikipedia link|{{{1|}}}|Wikipedia's {{{2|{{#if:{{{1|}}}||{{lc:{{NAMESPACE}}}}}}}}} page}} for more information.</includeonly><noinclude>
Outputs a "See Wikipedia's ____ page for more information." link.


Adds a link to the current page on Wikipedia.
==Parameters==
#The Wikipedia page name (default: current page)
#The type of page (default: current namespace if first parameter isn't specified, or blank)
 
==Examples==
{| class="wikitable"
! Code || Output
|-
| <code><nowiki>{{See Wikipedia}}</nowiki></code> || {{See Wikipedia}}
|-
| <code><nowiki>{{See Wikipedia|The Hitchhiker's Guide to the Galaxy}}</nowiki></code> || {{See Wikipedia|The Hitchhiker's Guide to the Galaxy}}
|-
| <code><nowiki>{{See Wikipedia||crazy}}</nowiki></code> || {{See Wikipedia||crazy}}
|-
| <code><nowiki>{{See Wikipedia|Special:Random|random}}</nowiki></code> || {{See Wikipedia|Special:Random|random}}
|}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:55, 3 September 2019

Outputs a "See Wikipedia's ____ page for more information." link.

Parameters[edit source]

  1. The Wikipedia page name (default: current page)
  2. The type of page (default: current namespace if first parameter isn't specified, or blank)

Examples[edit source]

Code Output
{{See Wikipedia}} See Wikipedia's template page for more information.
{{See Wikipedia|The Hitchhiker's Guide to the Galaxy}} See Wikipedia's page for more information.
{{See Wikipedia||crazy}} See Wikipedia's crazy page for more information.
{{See Wikipedia|Special:Random|random}} See Wikipedia's random page for more information.