Template:G2: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
No edit summary
m (→‎Syntax: spelling fix)
Line 9: Line 9:
== Syntax ==
== Syntax ==
  <nowiki>{{g2|*page name on g2dn*|*link text*}}</nowiki>
  <nowiki>{{g2|*page name on g2dn*|*link text*}}</nowiki>
Note that the second parameter is not necessary. If it is misses, the page name is used as a link text. If both parameters are missing, this template generates a link to the main page of the {{g2}}. Note also that the automatic URL encoding used to replace spaces with underscores, can break the link in some cases (if certain special characters are used).
Note that the second parameter is not necessary. If it is missing, the page name is used as a link text. If both parameters are missing, this template generates a link to the main page of the {{g2}}. Note also that the automatic URL encoding used to replace spaces with underscores, can break the link in some cases (if certain special characters are used).


== Example ==
== Example ==

Revision as of 13:19, 18 August 2010

Template

G2 Developer Network

Motivation

This template is thought to replace all links to the G2DN page. This makes it more easy to control - and maybe change in future - external links in our Wiki.

See WikiProjects.Links.

Syntax

{{g2|*page name on g2dn*|*link text*}}

Note that the second parameter is not necessary. If it is missing, the page name is used as a link text. If both parameters are missing, this template generates a link to the main page of the G2 Developer Network. Note also that the automatic URL encoding used to replace spaces with underscores, can break the link in some cases (if certain special characters are used).

Example

{{g2|Gnutella2|What is Gnutella2?}}

See also