Template:Shareaza Forums: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Gave the template more power...)
(Forum link update)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Template ==
== Template ==
<onlyinclude>[{{{1}}}://sourceforge.net/apps/phpbb/shareaza/{{{2}}} {{{3}}}]</onlyinclude>
<onlyinclude>[http://shareaza.sourceforge.net/phpbb/{{{2|}}} {{{1|Shareaza Forums}}}][[Category:External Links]]</onlyinclude>


== 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.
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 ==
== Syntax ==
  <nowiki>{{Shareaza Forums|http/https|internal link|link name}}</nowiki>
  <nowiki>{{Shareaza Forums|link name|internal link}}</nowiki>
Both parameters are optional. If you want to change the second without specifying the first, it must be done like this:
<nowiki>{{Shareaza Forums|2 = internal link}}</nowiki>


== Example ==
== Examples ==
{{Shareaza Forums|https||Shareaza Forums}}
Note that all '=' signs must be replaced by the [[Template:eq|eq template]] for the template to work correctly:
<nowiki>{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}</nowiki>
{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}
 
An other possibility is to start the second parameter with <code>2 = </code>:
<nowiki>{{Shareaza Forums|Shareaza Forums - General Discussion|2 = viewforum.php?f=2}}</nowiki>
{{Shareaza Forums|Shareaza Forums - General Discussion|2 = viewforum.php?f=2}}
 
If used without parameters, the result is shown below:
<nowiki>{{Shareaza Forums}}</nowiki>
{{Shareaza Forums}}

Latest revision as of 18:22, 13 February 2014

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. If you want to change the second without specifying the first, it must be done like this:

{{Shareaza Forums|2 = internal link}}

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}}

Shareaza Forums - General Discussion

An other possibility is to start the second parameter with 2 = :

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

Shareaza Forums - General Discussion

If used without parameters, the result is shown below:

{{Shareaza Forums}}

Shareaza Forums