Template:W: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
This template is thought to replace all links to the English Wikipedia. This makes it more easy to control external links in our Wiki.
This template is thought to replace all links to the English Wikipedia. This makes it more easy to control external links in our Wiki.


'''See [[WikiProjects.Links]].'''
: '''See [[WikiProjects.Links]].'''


== Syntax ==
== Syntax ==

Revision as of 23:30, 5 August 2010

Template

 Wikipedia

Motivation

This template is thought to replace all links to the English Wikipedia. This makes it more easy to control external links in our Wiki.

See WikiProjects.Links.

Syntax

{{wiki|*page name in the English Wikipedia*|*link text*}}

Note that neither parameter is necessary. If the second one misses, the linked to page title is used as link name, if both miss however, the template creates a link to the English Wikipedia. If only the first one misses, the second one can be used to precise a different name for the link to the English Wikipedia.

Examples

{{wiki|Shareaza|Shareazas Wikipedia article}}
{{wiki|Shareaza}}
{{wiki|2=Wiki}}
{{wiki}}

Note that the template corrects the text for use in URLs, which means that for example, URI scheme will become URI_scheme. However, this beaks some links, for example if a '/' is included, it will be transformed into /. Example:

{{wiki|URI scheme}}

See also