Template:Trac: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Created page with '14px[http://sourceforge.net/apps/trac/shareaza/wiki/{{{1}}} Trac Wiki/{{{1}}}]')
 
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Trac Logo 512x512.png|14px]][http://sourceforge.net/apps/trac/shareaza/wiki/{{{1}}} Trac Wiki/{{{1}}}]
== Template ==
<onlyinclude>[[Image:Trac Logo 512x512.png|14px]][http://sourceforge.net/apps/trac/shareaza/{{{1|}}} {{{2|{{{1|Trac Wiki}}}}}}][[Category:External Links]]</onlyinclude>
 
== Motivation ==
This template is thought to replace all links to the Dev Wiki (Trac Wiki) in the User Wiki (MediaWiki). This makes it more easy to replace all links in case this should be necessary in future.
: '''See [[WikiProjects.Links]].'''
 
== Syntax ==
<nowiki>{{Trac|internal link|link name}}</nowiki>
Note that neither parameter is necessary. If the second one misses, the linked to page title is used as link name, if both miss however, the template creates a link to our Dev Wiki's Main Page. If only the first one misses, the second one can be used to precise a different name for the link to the Dev Wiki's Main Page.
 
== Examples ==
* {{Trac|wiki|Trac Wiki}}
  <nowiki>{{Trac|wiki|Trac Wiki}}</nowiki>
* {{Trac|wiki}}
  <nowiki>{{Trac|wiki}}</nowiki>
* {{Trac|2=Trac Main Page}}
  <nowiki>{{Trac|2=Trac Main Page}}</nowiki>
* {{Trac}}
  <nowiki>{{Trac}}</nowiki>
Note that the internal link parameter is '''not''' automatically encoded as URL, due to limitations on this MediaWiki installation:
* {{Trac|wiki/FAQ/Starting Shareaza and Connecting}} (Does not work!)
  <nowiki>{{Trac|wiki/FAQ/Starting Shareaza and Connecting}}</nowiki>
* {{Trac|wiki/FAQ/Starting%20Shareaza%20and%20Connecting}} (This works!)
  <nowiki>{{Trac|wiki/FAQ/Starting%20Shareaza%20and%20Connecting}}</nowiki>
 
== See also ==
* [[Template:en]] - used for links to the English part of this Wiki.
* [[Template:G2]] - used for links to the {{g2}}.
* [[Template:w]] - used for links to the English {{w}}.
 
[[Category:Templates]]

Latest revision as of 15:52, 21 January 2011

Template

Trac Wiki

Motivation

This template is thought to replace all links to the Dev Wiki (Trac Wiki) in the User Wiki (MediaWiki). This makes it more easy to replace all links in case this should be necessary in future.

See WikiProjects.Links.

Syntax

{{Trac|internal link|link name}}

Note that neither parameter is necessary. If the second one misses, the linked to page title is used as link name, if both miss however, the template creates a link to our Dev Wiki's Main Page. If only the first one misses, the second one can be used to precise a different name for the link to the Dev Wiki's Main Page.

Examples

 {{Trac|wiki|Trac Wiki}}
 {{Trac|wiki}}
 {{Trac|2=Trac Main Page}}
 {{Trac}}

Note that the internal link parameter is not automatically encoded as URL, due to limitations on this MediaWiki installation:

 {{Trac|wiki/FAQ/Starting Shareaza and Connecting}}
 {{Trac|wiki/FAQ/Starting%20Shareaza%20and%20Connecting}}

See also