Cookies help us deliver our services. By using our services, you agree to our use of cookies.OK
m (added team lead)
(update doc)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right;width:300px;margin-left:10px;margin-bottom:10px;"
+
{| class="wikitable" {{#ifeq: {{{dissolved}}}|yes|style="float:right; width:300px; margin-left:10px; margin-bottom:10px; color: DarkSlateGray;"|style="float:right; width:300px; margin-left:10px; margin-bottom:10px;" }} <!-- make text grey if defunct -->
 +
! colspan="2"  {{#ifeq: {{{dissolved}}}|yes|style="background-color:DarkSlateGray; color:#ffffff; text-align: center; font-size:110%; border: 1px solid #244724;"|style="background-color:indigo; color:#ffffff; text-align: center; font-size:110%; border: 1px solid indigo;" }} | '''{{#if:{{{name|}}}|{{{name}}}|{{SUBPAGENAME}} team}}''' {{#ifeq: {{{dissolved}}}|yes|&nbsp;(dissolved) }} 
 +
  |- {{#if:{{{started|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Started
 +
  | {{{started}}}
 +
  |- {{#if:{{{email|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Email
 +
  | [mailto:{{{email}}} {{{email}}}]
 +
  |- {{#if:{{{slack|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Slack
 +
  | [{{{slack}}} {{SUBPAGENAME}} channel]
 +
  |- {{#if:{{{lead|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Lead
 +
  | {{{lead}}}
 +
  |-
 +
  ! Members
 +
  | Team members listed on [https://hms.nottinghack.org.uk/teams HMS].
 +
  |- {{#if:{{{hms|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! HMS page
 +
  | [{{{hms}}} {{SUBPAGENAME}} Team on HMS]
 +
  |- {{#if:{{{hms2|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! HMS page (2)
 +
  | [{{{hms2}}} {{SUBPAGENAME}} Team on HMS (2)]
 +
  |- {{#if:{{{budget|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Budget
 +
  | {{{budget}}} {{#if: {{{budgetyear|}}}|<small>'' ({{{budgetyear|}}})''</small> }}
 +
  |- {{#if:{{{trustee|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  |-{{#ifeq: {{{dissolved|}}}|yes| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  ! Status
 +
  | Dissolved {{#if: {{{dissolveddate|}}}|<small>'' ({{{dissolveddate|}}})''</small> }}
 
|-
 
|-
! colspan="2" style="text-align: center;" | {{{name|{{SUBPAGENAME}}}}} Team
+
| colspan="2" style="text-align: center; border: 1px solid indigo; "|<small> '''Teams:''' &nbsp; [[Teams|About]] • [[:Category:Teams|all pages]]&nbsp; &nbsp; &nbsp; &nbsp; [[Template:Team |{{}}]]<br /><hr />{{Active teams}}</small>
{{#if:{{{started|}}}|
+
|}<noinclude>{{clear}}
{{!}}-
 
! Started
 
{{!}} {{{started}}}
 
}}
 
{{#if:{{{email|}}}|
 
{{!}}-
 
! Team Contact
 
{{!}} [mailto:{{{email}}} {{{email}}}]|
 
{{#if:{{{contact|}}}|
 
{{!}}-
 
! Team Contact
 
{{!}} {{{contact}}}
 
}}
 
}}
 
{{#if:{{{trustee|}}}|
 
{{!}}-
 
! Trustee Contact
 
{{!}} {{{trustee}}}
 
}}
 
{{#if:{{{lead|}}}|
 
{{!}}-
 
! Team Lead
 
{{!}} {{{lead}}}
 
}}
 
{{#if:{{{members|}}}|
 
{{!}}-
 
! Members
 
{{!}} {{{members}}}
 
}}
 
{{#if:{{{budget|}}}|
 
{{!}}-
 
! Annual Budget
 
{{!}} {{{budget}}}
 
}}
 
|}
 
<noinclude>
 
__NOEDITSECTION__
 
 
== Documentation ==
 
== Documentation ==
  
 
All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.
 
All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.
 +
 +
Abbreviated parameter list:
 +
 +
<pre>
 +
{{Team
 +
|started=
 +
|email=
 +
|slack=
 +
|lead=
 +
|hms=
 +
|budget=
 +
|budgetyear=
 +
}}
 +
</pre>
  
 
=== Arguments ===
 
=== Arguments ===
 
 
;name
 
;name
:Team name override (default: the page name without the '''Team:''' prefix)
+
:Team name override (default: the page name without the 'Team:' prefix and with 'team' suffix)
 +
;started
 +
:Date team started up, format Month YYYY. For example, 'started=February 2019'.
 
;email
 
;email
:Will display an email. If set, "contact" will not be shown
+
:Will display email as Team email.
;contact
+
;slack
:If email is not set, this will be shown as the contact details
+
:Use url link to team's Slack channel (find on Slack by right-clicking and copy link address from the left column over #channel name)
;started
+
;lead
:Date team started up
+
:Name of team lead. Ideally, use <nowiki>[[User:username|username]]</nowiki> format, or if no wiki userpage use lead name without wikilink.
 +
;hms
 +
:hms=url url should be link to specific Team page on HMS <nowiki>hms=https://hms.nottinghack.org.uk/teams/67</nowiki>
 +
;budget
 +
:Annual budget that the team has access to, format £X
 +
;budgetyear
 +
:Year for budget, format is YYYY. For example, 'budgetyear=2019'
 +
;dissolved
 +
:If team is dissolved use dissolved=yes
 +
;dissolveddate
 +
:Date dissolved use format DD/MM/YYYY. If day or month is unknown use 01.
 +
 
 +
====Deprecated====
 +
;members
 +
:Members now listed in HMS - always show link
 +
 
 
;trusteeContact
 
;trusteeContact
:Trustee contact for the team
+
:Trustee contact for the team (not maintained on Wiki so best to remove)
;members
+
 
:List of members involved. Ideally, use <nowiki>[[User:username|username]]</nowiki> format.
+
===Sub templates used===
;budget
+
* [[Template:Active teams]]
:Annual budget that the team has access to
+
 
 +
[[Category:Templates infoboxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:11, 28 January 2022

Team team
Started {{{started}}}
Email {{{email}}}
Slack [{{{slack}}} Team channel]
Lead {{{lead}}}
Members Team members listed on HMS.
HMS page [{{{hms}}} Team Team on HMS]
HMS page (2) [{{{hms2}}} Team Team on HMS (2)]
Budget {{{budget}}}
Status Dissolved
Teams:   Aboutall pages        {{}}

3D PrintingCommsCraftElectronicsInfrastructureLaserMembershipMetalworkingNetworkResources and SnackspaceSafetySoftwareToolsWoodworking

Documentation

All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.

Abbreviated parameter list:

{{Team
|started=
|email=
|slack=
|lead=
|hms=
|budget=
|budgetyear=
}}

Arguments

name
Team name override (default: the page name without the 'Team:' prefix and with 'team' suffix)
started
Date team started up, format Month YYYY. For example, 'started=February 2019'.
email
Will display email as Team email.
slack
Use url link to team's Slack channel (find on Slack by right-clicking and copy link address from the left column over #channel name)
lead
Name of team lead. Ideally, use [[User:username|username]] format, or if no wiki userpage use lead name without wikilink.
hms
hms=url url should be link to specific Team page on HMS hms=https://hms.nottinghack.org.uk/teams/67
budget
Annual budget that the team has access to, format £X
budgetyear
Year for budget, format is YYYY. For example, 'budgetyear=2019'
dissolved
If team is dissolved use dissolved=yes
dissolveddate
Date dissolved use format DD/MM/YYYY. If day or month is unknown use 01.

Deprecated

members
Members now listed in HMS - always show link
trusteeContact
Trustee contact for the team (not maintained on Wiki so best to remove)

Sub templates used