Template:SourceForge/doc: Difference between revisions
Appearance
Content deleted Content added
Waldyrious (talk | contribs) m add spacing around parameters for readability |
Waldyrious (talk | contribs) m →Usage: format examples as code |
||
Line 7: | Line 7: | ||
To link to a project page, give the registered project name as the first parameter (note: the project name is case-sensitive, and should be all lowercase), and an optional project name as the second parameter. If no name is provided for the second parameter, the template will use the name of the page. |
To link to a project page, give the registered project name as the first parameter (note: the project name is case-sensitive, and should be all lowercase), and an optional project name as the second parameter. If no name is provided for the second parameter, the template will use the name of the page. |
||
<nowiki>{{SourceForge | registered project name | project name}}</nowiki> |
<code><nowiki>{{SourceForge | registered project name | project name}}</nowiki></code> |
||
Example: |
Example: |
||
<nowiki>{{SourceForge | tidy | HTML Tidy}}</nowiki> |
<code><nowiki>{{SourceForge | tidy | HTML Tidy}}</nowiki></code> |
||
Appears as: |
Appears as: |
Revision as of 09:12, 14 August 2016
This is a documentation subpage for Template:SourceForge. It may contain usage information, categories and other content that is not part of the original template page. |
Function
This template can be used to link to SourceForge.net project pages.
Usage
To link to a project page, give the registered project name as the first parameter (note: the project name is case-sensitive, and should be all lowercase), and an optional project name as the second parameter. If no name is provided for the second parameter, the template will use the name of the page.
{{SourceForge | registered project name | project name}}
Example:
{{SourceForge | tidy | HTML Tidy}}
Appears as: