Template:Shareaza Forums: Difference between revisions
Jump to navigation
Jump to search
m (Fixed one of the examples.) |
(Forum link update) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Template == | == Template == | ||
<onlyinclude>[ | <onlyinclude>[http://shareaza.sourceforge.net/phpbb/{{{2|}}} {{{1|Shareaza Forums}}}][[Category:External Links]]</onlyinclude> | ||
== Motivation == | == 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]].''' | 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|link name|internal link}}</nowiki> | <nowiki>{{Shareaza Forums|link name|internal link}}</nowiki> | ||
Both parameters are optional | 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> | |||
== Examples == | == 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|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}</nowiki> | <nowiki>{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}}</nowiki> | ||
{{Shareaza Forums|Shareaza Forums - General Discussion|viewforum.php?f{{eq}}2}} | {{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> | <nowiki>{{Shareaza Forums}}</nowiki> | ||
{{Shareaza Forums}} | {{Shareaza Forums}} |
Latest revision as of 18:22, 13 February 2014
Template
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}}