Template:Team: Difference between revisions
Jump to navigation
Jump to search
add second parameter for resources snack team bodge |
Remove unused attributes; I believe I've removed them from all templates. |
||
| (11 intermediate revisions by 4 users not shown) | |||
| Line 7: | Line 7: | ||
! Email | ! Email | ||
| [mailto:{{{email}}} {{{email}}}] | | [mailto:{{{email}}} {{{email}}}] | ||
|- {{#if:{{{ | |- {{#if:{{{discord|}}}| | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! | ! Discord | ||
| [{{{ | | [{{{discord}}} {{SUBPAGENAME}} channel] | ||
|- | |- | ||
! Members | ! 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 | ||
| [{{{hms}}} {{SUBPAGENAME}} Team on HMS] | | [{{{hms}}} {{SUBPAGENAME}} Team on HMS] | ||
|-{{#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 34: | Line 22: | ||
| colspan="2" style="text-align: center; border: 1px solid indigo; "|<small> '''Teams:''' [[Teams|About]] • [[:Category:Teams|all pages]] [[Template:Team |{{}}]]<br /><hr />{{Active teams}}</small> | | colspan="2" style="text-align: center; border: 1px solid indigo; "|<small> '''Teams:''' [[Teams|About]] • [[:Category:Teams|all pages]] [[Template:Team |{{}}]]<br /><hr />{{Active teams}}</small> | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
== 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. | ||
<pre> | <pre> | ||
| Line 44: | Line 31: | ||
|started= | |started= | ||
|email= | |email= | ||
| | |discord= | ||
|hms= | |hms= | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 60: | Line 43: | ||
;email | ;email | ||
:Will display email as Team email. | :Will display email as Team email. | ||
; | ;discord | ||
:Use | :Use URL link to team's Discord channel (find on Discord by right-clicking and "Copy link") | ||
;hms | ;hms | ||
:hms=url url should be link to specific Team page on HMS <nowiki>hms=https://hms.nottinghack.org.uk/teams/67</nowiki> | :hms=url url should be link to specific Team page on HMS <nowiki>hms=https://hms.nottinghack.org.uk/teams/67</nowiki> | ||
;dissolved | ;dissolved | ||
:If team is dissolved use dissolved=yes | :If team is dissolved use dissolved=yes | ||
;dissolveddate | ;dissolveddate | ||
:Date dissolved use format DD/MM/YYYY. If day or month is unknown use 01. | :Date dissolved use format DD/MM/YYYY. If day or month is unknown use 01. | ||
===Sub templates used=== | ===Sub templates used=== | ||
Latest revision as of 18:47, 16 July 2025
| Team team | |
|---|---|
| Members | Team members listed on HMS. |
| Teams: About • all pages {{}} 3D Printing • Bike • Comms • Craft • Electronics • Infrastructure • Laser • Membership • Metalworking • Network • Safety • Snackspace • 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.
{{Team
|started=
|email=
|discord=
|hms=
}}
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.
- discord
- Use URL link to team's Discord channel (find on Discord by right-clicking and "Copy link")
- hms
- hms=url url should be link to specific Team page on HMS hms=https://hms.nottinghack.org.uk/teams/67
- dissolved
- If team is dissolved use dissolved=yes
- dissolveddate
- Date dissolved use format DD/MM/YYYY. If day or month is unknown use 01.