Template:Shareaza Forums: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
No edit summary
(I changed the order of the paramethers and made them both optional.)
Line 1: Line 1:
== Template ==
== Template ==
<onlyinclude>[https://sourceforge.net/apps/phpbb/shareaza/{{{1}}} {{{2}}}][[Category:External Links]]</onlyinclude>
<onlyinclude>[https://sourceforge.net/apps/phpbb/shareaza/{{{2|}}} {{{1|Shareaza Forums}}}][[Category:External Links]]</onlyinclude>


== Motivation ==
== Motivation ==
Line 6: Line 6:


== Syntax ==
== Syntax ==
  <nowiki>{{Shareaza Forums|internal link|link name}}</nowiki>
  <nowiki>{{Shareaza Forums|link name|internal link}}</nowiki>
Both parameters are optional, however, in order to change the second, you must specify the first.


== Example ==
== Examples ==
Note that all '=' signs must be replaced by the [[Template:eq|eq template]] for the template to work correctly.
Note that all '=' signs must be replaced by the [[Template:eq|eq template]] for the template to work correctly.


  <nowiki>{{Shareaza Forums|viewforum.php?f{{eq}}2|Shareaza Forums - General Discussion}}</nowiki>
  <nowiki>{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}</nowiki>
{{Shareaza Forums|viewforum.php?f{{eq}}2|Shareaza Forums - General Discussion}}
{{Shareaza Forums|viewforum.php?f{{eq}}2|Shareaza Forums - General Discussion}}
<nowiki>{{Shareaza Forums}}</nowiki>
{{Shareaza Forums}}

Revision as of 00:22, 20 July 2010

Template

Shareaza Forums

Motivation

This template is thought to replace all links to the forums in the Wiki. This makes it more easy to replace all links in case this should be necessary in future. See WikiProjects.Links.

Syntax

{{Shareaza Forums|link name|internal link}}

Both parameters are optional, however, in order to change the second, you must specify the first.

Examples

Note that all '=' signs must be replaced by the eq template for the template to work correctly.

{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}

Forums - General Discussion viewforum.php?f=2

{{Shareaza Forums}}

Shareaza Forums