Template:LinkWikipedia: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) Add tracking category |
Apple Bottom (talk | contribs) These templates all seem to use different parameter names, sigh. Best to support 'em all. |
||
| Line 1: | Line 1: | ||
<includeonly>* [https://{{{lang|en}}}.wikipedia.org/wiki/{{{entry|{{{1}}}}}} {{{name|{{PAGENAME}}}}}] at Wikipedia [[Category:Pages that link to Wikipedia]]</includeonly><noinclude>This is a template for including links to '''[https://en.wikipedia.org/wiki/Main_Page Wikipedia]''' in the "External Links" section of an article. It can take three parameters: | <includeonly>* [https://{{{lang|en}}}.wikipedia.org/wiki/{{{entry|{{{1}}}}}} {{{name|{{{pagename|{{{patternname|{{PAGENAME}}}}}}}}}}}] at Wikipedia [[Category:Pages that link to Wikipedia]]</includeonly><noinclude>This is a template for including links to '''[https://en.wikipedia.org/wiki/Main_Page Wikipedia]''' in the "External Links" section of an article. It can take three parameters: | ||
* ''entry'', which specifies the title of the entry linked to (parameter name may be omitted); | * ''entry'', which specifies the title of the entry linked to (parameter name may be omitted); | ||
Revision as of 10:05, 1 July 2017
This is a template for including links to Wikipedia in the "External Links" section of an article. It can take three parameters:
- entry, which specifies the title of the entry linked to (parameter name may be omitted);
- Note that for technical reasons, this may not contain spaces; use underscores instead.
- name, which specifies the name of the entry as it will appear in the link text (default: name of the current article);
- lang, which specifies the language code of the Wikipedia edition to link to (default: en).
Here is a simple example of its usage:
You type:
{{LinkWikipedia|Conway's_Game_of_Life|name=Life}}
You see:
- Life at Wikipedia
See also
- Pages that link to external sites (category)
External link templates
- Template:Cata
- Template:LinkCallahan
- Template:LinkCatagolue
- Template:LinkCatagolueRule
- Template:LinkEppstein
- Template:LinkEppsteinRule
- Template:LinkForumThread
- Template:LinkGoLDictionary
- Template:LinkGoLNews
- Template:LinkGollyHelp
- Template:LinkLexicon
- Template:LinkMathworld
- Template:LinkMirek
- Template:LinkNiemiec
- Template:LinkPentadecathlonObject
- Template:LinkWikipedia
- Template:LinkYouTube
- Template:MathGenealogy
- Template:OEIS