Template:LinkWikipedia: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
* ''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);
** '''Note''' that for technical reasons, this may not contain spaces; use underscores instead.
** '''Note''' that for technical reasons, this may not contain spaces; use underscores instead.
* ''rulename'', which specifies the name of the entry as it will appear in the link text (default: name of the current article);
* ''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'').
* ''lang'', which specifies the language code of the Wikipedia edition to link to (default: ''en'').



Revision as of 13:38, 13 July 2016

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:

See also