Template:Team: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
update doc
Shane (talk | contribs)
Remove trustee config (this I don't believe did anything anyway)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
   ! Email
   ! Email
   | [mailto:{{{email}}} {{{email}}}]
   | [mailto:{{{email}}} {{{email}}}]
  |- {{#if:{{{discord|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
  ! Discord
  | [{{{discord}}} {{SUBPAGENAME}} channel]
   |- {{#if:{{{slack|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   |- {{#if:{{{slack|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Slack
   ! Slack
   | [{{{slack}}} {{SUBPAGENAME}} channel]
   | [{{{slack}}} {{SUBPAGENAME}} channel] (deprecated)
   |- {{#if:{{{lead|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   |- {{#if:{{{lead|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Lead
   ! Lead
Line 25: Line 28:
   ! Budget
   ! Budget
   | {{{budget}}} {{#if: {{{budgetyear|}}}|<small>'' ({{{budgetyear|}}})''</small> }}
   | {{{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 --> }}
   |-{{#ifeq: {{{dissolved|}}}|yes| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Status
   ! Status
Line 32: Line 34:
| 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>
| 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>
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
== Documentation ==
== Documentation ==


Line 42: Line 45:
|started=
|started=
|email=
|email=
|discord=
|slack=
|slack=
|lead=
|lead=
Line 77: Line 81:


;trusteeContact
;trusteeContact
:Trustee contact for the team (not maintained on Wiki so best to remove)
;trustee
:Trustee contact for the team (not maintained on Wiki so best to remove)
:Trustee contact for the team (not maintained on Wiki so best to remove)



Latest revision as of 21:56, 6 May 2024

Team team
Started {{{started}}}
Email {{{email}}}
Discord [{{{discord}}} Team channel]
Slack [{{{slack}}} Team channel] (deprecated)
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 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=
|discord=
|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)
trustee
Trustee contact for the team (not maintained on Wiki so best to remove)

Sub templates used