13,212
edits
(Created page with "<noinclude>{{draft|template suggestion|I will be back to this shortly. Feel free to have a peek. I notice that there is a lot of repetition and thus room for a subtemplate.}...") |
(+ Examples) |
||
Line 2: | Line 2: | ||
I notice that there is a lot of repetition and thus room for a subtemplate.}}</noinclude>{{#switch: {{{1|main}}} | I notice that there is a lot of repetition and thus room for a subtemplate.}}</noinclude>{{#switch: {{{1|main}}} | ||
| | | buildserver = {{#switch: {{{2|link}}} | ||
| name = FlightGear | | name = FlightGear build server | ||
| url = http:// | | url = http://build.flightgear.org:8080/{{{urn|}}} | ||
| link = [http:// | | link = [http://build.flightgear.org:8080/{{{urn|}}} {{{label|FlightGear build server}}}] | ||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure ''' | | #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''buildserver'''|project infrastructure}} | ||
}} | |||
| forum = {{#switch: {{{2|link}}} | |||
| name = FlightGear forum | |||
| url = http://forum.flightgear.org/{{{urn|}}} | |||
| link = [http://forum.flightgear.org/{{{urn|}}} {{{label|FlightGear forum}}}] | |||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''forum'''|project infrastructure}} | |||
}} | }} | ||
| main = {{#switch: {{{2|link}}} | | main = {{#switch: {{{2|link}}} | ||
Line 14: | Line 20: | ||
| link = [http://sourceforge.net/projects/flightgear/{{{urn|}}} {{{label|Main FlightGear repository}}}] | | link = [http://sourceforge.net/projects/flightgear/{{{urn|}}} {{{label|Main FlightGear repository}}}] | ||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''main'''|project infrastructure}} | | #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''main'''|project infrastructure}} | ||
}} | }} | ||
| mapserver = {{#switch: {{{2|link}}} | | mapserver = {{#switch: {{{2|link}}} | ||
Line 26: | Line 26: | ||
| link = [http://mapserver.flightgear.org/{{{urn|}}} {{{label|FlightGear mapserver}}}] | | link = [http://mapserver.flightgear.org/{{{urn|}}} {{{label|FlightGear mapserver}}}] | ||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''mapserver'''|project infrastructure}} | | #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''mapserver'''|project infrastructure}} | ||
}} | }} | ||
| website = {{#switch: {{{2|link}}} | | website = {{#switch: {{{2|link}}} | ||
Line 38: | Line 32: | ||
| link = [http://flightgear.org/{{{urn|}}} {{{label|website}}}] | | link = [http://flightgear.org/{{{urn|}}} {{{label|website}}}] | ||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''website'''|project infrastructure}} | | #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''website'''|project infrastructure}} | ||
}} | |||
| wiki = {{#switch: {{{2|link}}} | |||
| name = FlightGear wiki | |||
| url = http://wiki.flightgear.org/{{{urn|}}} | |||
| link = [http://wiki.flightgear.org/{{{urn|}}} {{{label|FlightGear wiki}}}] | |||
| #default = {{error|Attribute '''{{{2}}}''' invalid for infrastructure '''wiki'''|project infrastructure}} | |||
}} | }} | ||
<!-- | = {{#switch: {{{2|link}}} | <!-- | = {{#switch: {{{2|link}}} | ||
Line 68: | Line 68: | ||
; label: Optional label to use with the '''link''' attribute. | ; label: Optional label to use with the '''link''' attribute. | ||
Available parameters: | |||
{{{!}} class="wikitable" | {{{!}} class="wikitable" | ||
! rowspan="2" valign="top" {{!}} Infrastructure | ! rowspan="2" valign="top" {{!}} Infrastructure | ||
Line 76: | Line 77: | ||
{{!}} name {{!!}} url {{!!}} link | {{!}} name {{!!}} url {{!!}} link | ||
{{!-}} | {{!-}} | ||
{{!}} | {{!}} buildserver {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | ||
{{!-}} | |||
{{!}} forum {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | |||
{{!-}} | |||
{{!}} main {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | |||
{{!-}} | |||
{{!}} mapserver {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | |||
{{!-}} | |||
{{!}} website {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | |||
{{!-}} | |||
{{!}} wiki {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} {{!!}} {{yes}} | |||
{{!}}} | {{!}}} | ||
== Examples == | == Examples == | ||
{{obr}}project infrastructure{{!}}forum{{cbr}} | |||
{{User:Johan G/project infrastructure|forum}} | |||
{{obr}}project infrastructure{{!}}forum{{!}}link{{cbr}} | |||
{{User:Johan G/project infrastructure|forum|link}} | |||
{{obr}}project infrastructure{{!}}forum{{!}}name{{cbr}} | |||
{{User:Johan G/project infrastructure|forum|name}} | |||
{{obr}}project infrastructure{{!}}forum{{!}}url{{cbr}} | |||
{{User:Johan G/project infrastructure|forum|url}} | |||
{{obr}}project infrastructure{{!}}forum{{!}}link{{!}}urn=viewtopic.php?f=8&t=28727{{!}}label=Forum Rules topic{{cbr}} | |||
{{User:Johan G/project infrastructure|forum|link|urn=viewtopic.php?f=8&t=28727|label=Forum Rules topic}} | |||
== Known issues == | == Known issues == |