Template:Project infrastructure: Difference between revisions

Jump to navigation Jump to search
Major template redesign including more use of the {{project infrastructure option}} template and multi-language support (currently only with English translations).
(Removal of all <nowiki> tags as this blocks link creation in downstream templates.)
(Major template redesign including more use of the {{project infrastructure option}} template and multi-language support (currently only with English translations).)
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/{{{urn|}}} {{{text|SourceForge}}}]
          | [http://sourceforge.net/projects/flightgear{{#if: {{{urn|}}}|/{{{urn}}}}} {{{text|SourceForge}}}]
  | SourceForge
          | SourceForge
  }}
        }}
| abbrev = sf
| abbrev = sf
| buildserver = {{Project Infrastructure Option|link={{{link|yes}}}|url=http://build.flightgear.org:8080|desc=FlightGear Build Server}}
| buildserver =  
| nightlies = {{Project Infrastructure Option|link={{{link|yes}}}|url=https://sourceforge.net/projects/flightgear/files/unstable|desc=Nightly builds}}
    {{project infrastructure option
| mapserver = {{Project Infrastructure Option|link={{{link}}}|url=http://mapserver.flightgear.org|desc=FlightGear mapserver}}
      | link = {{{link|yes}}}
| forum = {{#ifeq: {{{link|yes}}} | yes
      | url = http://build.flightgear.org:8080
  | [https://forum.flightgear.org/{{{urn|}}} {{{text|FlightGear Forum}}}]
      | desc = {{LangSwitch
  | https://forum.flightgear.org/{{{urn|}}}
              | en = FlightGear Build Server
  }}
            }}
| mailing lists = {{#ifeq: {{{link|yes}}} | yes
    }}
  | [https://sourceforge.net/p/flightgear/mailman/{{{urn|}}} {{{text|FlightGear Mailing Lists}}}]
| nightlies =  
  | https://sourceforge.net/p/flightgear/mailman/{{{urn|}}}
    {{project infrastructure option
  }}
      | link = {{{link|yes}}}
| website = {{#ifeq: {{{link|yes}}} | yes
      | url = https://sourceforge.net/projects/flightgear/files/unstable
  | [http://flightgear.org/ FlightGear{{{urn|}}} {{{text|website}}}]
      | desc = {{LangSwitch
  | http://flightgear.org/{{{urn|}}}
                | en = Nightly builds
  }}
              }}
| wiki = {{#ifeq: {{{link|yes}}} | yes
    }}
  | [http://wiki.flightgear.org/{{{urn|}}} {{{text|FlightGear wiki}}}]
| mapserver =
  | http://wiki.flightgear.org/{{{urn|}}}
    {{project infrastructure option
  }}
      | link{{#if:{{{link|}}}||NULL}} = {{{link}}}
      | link = {{{link}}}
      | url = http://mapserver.flightgear.org
      | desc = {{LangSwitch
                | en = FlightGear mapserver
              }}
    }}
| forum =  
    {{project infrastructure option
      | link{{#if:{{{link|}}}||NULL}} = {{{link}}}
      | url = https://forum.flightgear.org
      | urn{{#if:{{{urn|}}}||NULL}} = {{{urn}}}
      | desc = {{LangSwitch
                | en = FlightGear Forum
              }}
    }}
| mailing lists =  
    {{project infrastructure option
      | link{{#if:{{{link|}}}||NULL}} = {{{link}}}
      | url = https://sourceforge.net/p/flightgear/mailman
      | urn{{#if:{{{urn|}}}||NULL}} = {{{urn}}}
      | desc = {{LangSwitch
                | en = FlightGear Mailing Lists
              }}
    }}
| website =  
    {{project infrastructure option
      | link{{#if:{{{link|}}}||NULL}} = {{{link}}}
      | url = http://flightgear.org
      | urn{{#if:{{{urn|}}}||NULL}} = {{{urn}}}
      | desc = {{LangSwitch
                | en = website
              }}
    }}
| wiki =  
    {{project infrastructure option
      | link{{#if:{{{link|}}}||NULL}} = {{{link}}}
      | url = http://wiki.flightgear.org
      | urn{{#if:{{{urn|}}}||NULL}} = {{{urn}}}
      | desc = {{LangSwitch
                | en = FlightGear wiki
              }}
    }}
}}<noinclude>
}}<noinclude>


{{Informative template|1=
{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
To be a universal template for referencing the current open source infrastructure used by the FlightGear project. Currently all our code and data lives on SourceForge. Collecting everything from gitorious, googlecode and private servers, getting our build server work with the new locations was not a trivial task, tooks months to complete and was everything but a nice job.<ref>{{cite web
To be a universal template for referencing the current open source infrastructure used by the FlightGear project. Currently all our code and data lives on SourceForge. Collecting everything from gitorious, googlecode and private servers, getting our build server work with the new locations was not a trivial task, took months to complete and was everything but a nice job.<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35083587/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35083587/  
   |title  =  <nowiki> Re: [Flightgear-devel] Shall we migrate code from SourceForge to
   |title  =  <nowiki> Re: [Flightgear-devel] Shall we migrate code from SourceForge to
Line 42: Line 83:
The wiki admins back then realized that the workload due to having to update dozens, if not even hundreds, of articles could be greatly reduced if a common set of templates were to be used for "encapsulating" (hiding) such details.
The wiki admins back then realized that the workload due to having to update dozens, if not even hundreds, of articles could be greatly reduced if a common set of templates were to be used for "encapsulating" (hiding) such details.
In particular, the creation of the repo link (respectively git/svn link) templates (started by {{usr|Red Leader}} and {{usr|Johan G}}) will greatly help reduce the amount of work needed to maintain our wiki articles up to date.
In particular, the creation of the repo link (respectively git/svn link) templates (started by {{usr|Red Leader}} and {{usr|Johan G}}) will greatly help reduce the amount of work needed to maintain our wiki articles up to date.
__TOC__


== Usage ==
== Usage ==
  {{obr}}'''project infrastucture
  {{obr}}'''project infrastructure
  {{!}} ''mode''
  {{!}} ''mode''
  {{!}} ''urn''  =
  {{!}} ''urn''  =
Line 121: Line 164:


{{project infrastructure|wiki|link=no}}
{{project infrastructure|wiki|link=no}}
== Related templates ==
{{tl|project infrastructure option}}


}}
}}
{{Appendix}}
{{Appendix}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Link templates]]
</noinclude>
</noinclude>

Navigation menu