FANDOM


m (Timrock moved page Wikipedia-short link to Template:Wikipedia-short link: correcting error denoting page as a template page.)
 
Line 1: Line 1:
*[[Wikipedia:Wikipedia-short link|{{PAGENAME}}]] article at [http://en.wikipedia.org ''Wikipedia''] [[File:Wikipedia logo 1024x684.svg|25px]]
+
*[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]] article at ''[http://www.wikipedia.org Wikipedia]'' [[File:Wikipedia logo 1024x684.svg|25px]] <noinclude>
<noinclude>
+
==Usage==
;Description
+
<pre>
:Use this on pages which directly use [[wikipedia:|Wikipedia]] content.
+
<nowiki>{{WP|url|text (optional)}}</nowiki>
;Syntax
+
</pre>
:Type <code><nowiki>{{wikipedia-short link}}</nowiki></code> as the last item of the page text.
+
;'''Or, as the "Wikipedia-short link is actually placed in an article:'''
:Note that "<code>page name</code>" should be the title of the page ''on Wikipedia''.
+
<pre>
</noinclude>
+
<nowiki>{{Wikipedia-short link|text (optional)}}</nowiki>
+
</pre>
+
Where "url" is the name of the article on Wikipedia (the part of the URL right after /wiki/), and "text" is what you wish to be the link text (this is to remove unnecessary things such as "(actor)" which may be a part of the Wikipedia article's name).
[[Category:Templates]]
+
[[Category:Interwiki link templates|WP]]</noinclude>

Latest revision as of 00:23, January 2, 2018

UsageEdit

{{WP|url|text (optional)}}
Or, as the "Wikipedia-short link is actually placed in an article:
{{Wikipedia-short link|text (optional)}}

Where "url" is the name of the article on Wikipedia (the part of the URL right after /wiki/), and "text" is what you wish to be the link text (this is to remove unnecessary things such as "(actor)" which may be a part of the Wikipedia article's name).

Community content is available under CC-BY-SA unless otherwise noted.