Template:G2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Updated template to have more power/Added ''See also'' section.) |
||
Line 14: | Line 14: | ||
* {{g2|Gnutella2|What is Gnutella2?}} | * {{g2|Gnutella2|What is Gnutella2?}} | ||
<nowiki>{{g2|Gnutella2|What is Gnutella2?}}</nowiki> | <nowiki>{{g2|Gnutella2|What is Gnutella2?}}</nowiki> | ||
== See also == | |||
* [[Template:Trac]] - used to link to pages in the {{trac}}. | |||
* [[Template:W]] - used to link to {{w}} pages. |
Revision as of 20:53, 3 August 2010
Template
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
- Template:Trac - used to link to pages in the Trac Wiki.
- Template:W - used to link to Wikipedia pages.