6,609
edits
No edit summary |
(Added 'urn' and 'text' parameters for more template flexibility.) |
||
| Line 1: | Line 1: | ||
{{#switch: {{{1|name}}} | {{#switch: {{{1|name}}} | ||
| name = {{#ifeq: {{{link|yes}}} | yes | | name = {{#ifeq: {{{link|yes}}} | yes | ||
| [http://sourceforge.net/projects/flightgear/ SourceForge] | | [http://sourceforge.net/projects/flightgear/{{{urn|}}} {{{text|SourceForge}}}] | ||
| SourceForge | | SourceForge | ||
}} | }} | ||
| Line 7: | Line 7: | ||
| buildserver = {{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}} | ||
| mapserver = {{Project Infrastructure Option|url=http://mapserver.flightgear.org|desc=FlightGear mapserver}} | | mapserver = {{Project Infrastructure Option|url=http://mapserver.flightgear.org|desc=FlightGear mapserver}} | ||
| forum = {{#ifeq: {{{link|yes}}} | yes | | forum = {{#ifeq: {{{link|yes}}} | yes | ||
| [http://forum.flightgear.org/ FlightGear Forum] | | [http://forum.flightgear.org/{{{urn|}}} {{{text|FlightGear Forum}}}] | ||
| <nowiki>http://forum.flightgear.org/</nowiki> | | <nowiki>http://forum.flightgear.org/</nowiki>{{{urn|}}} | ||
}} | }} | ||
| website = {{#ifeq: {{{link|yes}}} | yes | | website = {{#ifeq: {{{link|yes}}} | yes | ||
| [http://flightgear.org/ FlightGear website] | | [http://flightgear.org/ FlightGear{{{urn|}}} {{{text|website}}}] | ||
| <nowiki>http://flightgear.org/</nowiki> | | <nowiki>http://flightgear.org/</nowiki>{{{urn|}}} | ||
}} | }} | ||
| wiki = {{#ifeq: {{{link|yes}}} | yes | | wiki = {{#ifeq: {{{link|yes}}} | yes | ||
| [http://wiki.flightgear.org/ FlightGear wiki] | | [http://wiki.flightgear.org/{{{urn|}}} {{{text|FlightGear wiki}}}] | ||
| <nowiki>http://wiki.flightgear.org/</nowiki> | | <nowiki>http://wiki.flightgear.org/</nowiki>{{{urn|}}} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
| Line 30: | Line 29: | ||
{{obr}}'''project infrastucture | {{obr}}'''project infrastucture | ||
{{!}} ''mode'' | {{!}} ''mode'' | ||
{{!}} ''link'' = | {{!}} ''urn'' = | ||
{{!}} ''link'' = | |||
{{!}} ''text'' = | |||
{{cbr}} | {{cbr}} | ||
| Line 42: | Line 43: | ||
::* wiki: The FlightGear wiki. | ::* wiki: The FlightGear wiki. | ||
::* mailing lists: The FlightGear mailing lists. | ::* mailing lists: The FlightGear mailing lists. | ||
; urn: The optional [https://en.wikipedia.org/wiki/Uniform_Resource_Name uniform resource name], the part of the [https://en.wikipedia.org/wiki/Uniform_Resource_Locator URL] after the domain name. | |||
; 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'''. | ; 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'''. | ||
; text: The optional custom text to use for the link. | |||
== Examples == | == Examples == | ||