Template:Team: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
always link to HMS for members, remove trustee parameter |
||
Line 13: | Line 13: | ||
! Lead | ! Lead | ||
| {{{lead}}} | | {{{lead}}} | ||
|- | |- | ||
! Members | ! Members | ||
| Team members | | Team members listed on [https://hms.nottinghack.org.uk/teams HMS]. | ||
|- {{#if:{{{hms|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | |- {{#if:{{{hms|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! HMS page | ! HMS page | ||
Line 26: | Line 26: | ||
| {{{budget}}} {{#if: {{{budgetyear|}}}|<small>'' ({{{budgetyear|}}})''</small> }} | | {{{budget}}} {{#if: {{{budgetyear|}}}|<small>'' ({{{budgetyear|}}})''</small> }} | ||
|- {{#if:{{{trustee|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | |- {{#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 --> }} | |-{{#ifeq: {{{dissolved|}}}|yes| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! Status | ! Status | ||
Line 70: | Line 68: | ||
;budgetyear | ;budgetyear | ||
:Year for budget, format is YYYY. For example, 'budgetyear=2019' | :Year for budget, format is YYYY. For example, 'budgetyear=2019' | ||
;dissolved | ;dissolved | ||
:If team is dissolved use dissolved=yes | :If team is dissolved use dissolved=yes | ||
Line 79: | Line 75: | ||
====Deprecated==== | ====Deprecated==== | ||
;members | ;members | ||
:Members now listed in HMS | :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=== | ===Sub templates used=== |
Revision as of 23:04, 28 January 2022
Team team | |
---|---|
Members | Team members listed on HMS. |
Teams: About • all pages {{}} 3D Printing • Bike • Comms • Craft • Electronics • Infrastructure • Laser • Membership • Metalworking • Network • Resources and Snackspace • Safety • Software • Tools • Woodworking |
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'.
- 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)