Template:Team: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
add second parameter for resources snack team bodge
add second parameter for resources snack team bodge
Line 19: Line 19:
   ! HMS page
   ! HMS page
   | [{{{hms}}} {{SUBPAGENAME}} Team on HMS]
   | [{{{hms}}} {{SUBPAGENAME}} Team on HMS]
   |-
   |- {{#if:{{{hms2|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! HMS page (2)
   ! HMS page (2)
   | [{{{hms2}}} {{SUBPAGENAME}} Team on HMS (2)]
   | [{{{hms}}} {{SUBPAGENAME}} Team on HMS (2)]
   |- {{#if:{{{budget|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   |- {{#if:{{{budget|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Budget
   ! Budget

Revision as of 11:36, 15 December 2019

Team team
Started {{{started}}}
Email {{{email}}}
Slack [{{{slack}}} Team channel]
Lead {{{lead}}}
Members Parameter deprecated, Team members now found on HMS.
HMS page [{{{hms}}} Team Team on HMS]
HMS page (2) [{{{hms}}} Team Team on HMS (2)]
Budget {{{budget}}}
Trustee {{{trustee}}}
Status Dissolved
Teams:   Aboutall pages        {{}}

3D PrintingBikeCommsCraftElectronicsInfrastructureLaserMembershipMetalworkingNetworkResources 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=
|trustee=
}}

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'
trusteeContact
Trustee contact for the team
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.

Sub templates used