Template:Shareaza Forums: Difference between revisions
Jump to navigation
Jump to search
m (Fixed one of the examples.) |
(Updated template usage examples...) |
||
Line 3: | Line 3: | ||
== 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}} |
Revision as of 22:14, 3 August 2010
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}}