Template:G2: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Updated template to have more power/Added ''See also'' section.)
No edit summary
Line 5: Line 5:
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.
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]].'''
: '''See [[WikiProjects.Links]].'''


== Syntax ==
== Syntax ==

Revision as of 23:32, 5 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 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 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