Jump to content

Template:SourceForge/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m add spacing around parameters for readability
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

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:

HTML Tidy on SourceForge