Template:Quazaa Wiki: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Examples not yet functional...)
 
m (Icon change...)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Template ==
== Template ==
<onlyinclude>[[Image:Quazaa Icon.PNG]]&nbsp;[http://quazaa.sourceforge.net/wiki/{{{destination|{{anchorencode:{{{1|}}}}}}}} {{{2|{{{destination|{{{1|Quazaa Wiki}}}}}}}}}][[Category:External Links]]</onlyinclude>
<onlyinclude>[[Image:Quazaa16.png]]&nbsp;[http://quazaa.sourceforge.net/wiki/{{{destination|{{anchorencode:{{{1|}}}}}}}} {{{2|{{{destination|{{{1|Quazaa Wiki}}}}}}}}}][[Category:External Links]]</onlyinclude>


== Motivation ==
== Motivation ==
Line 33: Line 33:
== See also ==
== See also ==
* [[Template:G2]] - used for links to the {{g2}}.
* [[Template:G2]] - used for links to the {{g2}}.
* [[Template:Trac]] - used for links to the {{trac}}.
* [[Template:Trac]] - used for links to the {{Trac}}.


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 13:08, 22 October 2010

Template

 Quazaa Wiki

Motivation

This template is thought to replace all links to the Quazaa Wiki. This makes it more easy to control and manage external links in our Wiki.

See WikiProjects.Links.

Syntax

{{Quazaa Wiki|page name in the Quazaa Wiki|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 are missing, the template creates a link to the Wiki  Main Page. If only the first one misses, the second one can be used to precise a different name for the link to the  Quazaa Wiki Main Page.

Examples

{{Quazaa Wiki|Shareaza|Shareazas Wikipedia article}}
{{Quazaa Wiki|Shareaza}}
{{Quazaa Wiki|2=Wiki}}
{{Quazaa 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:

{{Quazaa Wiki|URI scheme}}

In the case the template breaks a link, use the parameter called destination in the following way:

{{Quazaa Wiki|destination = April_Fools'_Day}}
{{Quazaa Wiki|destination = April_Fools'_Day|2=hello}}

Note that in case this parameter is used, the parameter {{{1}}} is ignored when used.

See also