Template:Project infrastructure: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
   }}
   }}
| abbrev = sf
| abbrev = sf
| forum = {{Project Infrastructure Option|url=http://build.flightgear.org:8080/|desc=FlightGear Build Server}}
| buildserver = {{Project Infrastructure Option|url=http://build.flightgear.org:8080/|desc=FlightGear Build Server}}
| forum = {{#ifeq: {{{link|yes}}} | yes
| forum = {{#ifeq: {{{link|yes}}} | yes
   | [http://forum.flightgear.org/ FlightGear Forum]
   | [http://forum.flightgear.org/ FlightGear Forum]
Line 35: Line 35:
::* name: The name of the hosting infrastructure.
::* name: The name of the hosting infrastructure.
::* abbrev:  An abbreviation for the hosting infrastructure, mainly for use in other templates (no link, and current returns '''sf''').
::* abbrev:  An abbreviation for the hosting infrastructure, mainly for use in other templates (no link, and current returns '''sf''').
::* buildserver the FlightGear build server
::* forum: The FlightGear forum.
::* forum: The FlightGear forum.
::* website:  The FlightGear website.
::* website:  The FlightGear website.

Revision as of 11:34, 26 February 2016

SourceForge


The following template description is not displayed when the template is inserted in an article.

Goal

To be a universal template for referencing the current open source infrastructure used by the FlightGear project. Should the project ever need to be moved again, this template will help isolate required changes.

Usage

{{project infrastucture
| mode
| link  =
}}
mode
The type of infrastructure. This defaults to name, but can be one of:
  • name: The name of the hosting infrastructure.
  • abbrev: An abbreviation for the hosting infrastructure, mainly for use in other templates (no link, and current returns sf).
  • buildserver the FlightGear build server
  • forum: The FlightGear forum.
  • website: The FlightGear website.
  • wiki: The FlightGear wiki.
  • mailing lists: The FlightGear mailing lists.
link
If set to yes, then a Mediawiki link will be created, when appropriate. The value of no will cause plain text to be returned. This defaults to yes.

Examples

Name

{{project infrastructure|name}}

SourceForge

{{project infrastructure|name|link=no}}

SourceForge

Abbreviation

{{project infrastructure|abbrev}}

sf

Forum

{{project infrastructure|forum}}

FlightGear Forum

{{project infrastructure|forum|link=no}}

http://forum.flightgear.org/

Website

{{project infrastructure|website}}

FlightGear website

{{project infrastructure|website|link=no}}

http://flightgear.org/

Wiki

{{project infrastructure|wiki}}

FlightGear wiki

{{project infrastructure|wiki|link=no}}

http://wiki.flightgear.org/