Template:G2: Difference between revisions
Jump to navigation
Jump to search
(Created page with '== Template == <onlyinclude>15px [http://g2.trillinux.org/index.php?title={{{1}}} {{{2}}}]Category:External Links</onlyinclude> == Motivation == This temp…') |
m (→See also: Added 1 more template to the see also section...) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Template == | == Template == | ||
<onlyinclude>[[Image:g2dn.jpg|15px]] [http://g2.trillinux.org/index.php?title={{{1}}} {{{2}}}][[Category:External Links]]</onlyinclude> | <onlyinclude>[[Image:g2dn.jpg|15px|link=http://g2.trillinux.org/index.php?title={{anchorencode:{{{1|Main_Page}}}}}]] [http://g2.trillinux.org/index.php?title={{anchorencode:{{{1|Main_Page}}}}} {{{2|{{{1|G2 Developer Network}}}}}}][[Category:External Links]]</onlyinclude> | ||
== Motivation == | == 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. | 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 == | ||
<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 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 == | ||
* {{g2|Gnutella2|What is Gnutella2?}} | |||
<nowiki>{{g2|Gnutella2|What is Gnutella2?}}</nowiki> | <nowiki>{{g2|Gnutella2|What is Gnutella2?}}</nowiki> | ||
{{ | |||
== See also == | |||
* [[Template:en]] - used for links to the English part of this Wiki. | |||
* [[Template:Trac]] - used to link to pages in the {{trac}}. | |||
* [[Template:W]] - used to link to {{w}} pages. | |||
{{InSynkPage|{{Quazaa Wiki|Template:G2}}|{{Quazaa Wiki}}}} | |||
[[Category:Templates]] |
Latest revision as of 15:51, 21 January 2011
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 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
- Template:en - used for links to the English part of this Wiki.
- Template:Trac - used to link to pages in the Trac Wiki.
- Template:W - used to link to Wikipedia pages.
Wiki Synk |
This page is kept in synchronization with the Template:G2 page of the Quazaa Wiki. | e |