Template:Team: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
add code for documented budget parameter, add budgetyear
tidy
Line 37: Line 37:


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
|trustee=
|members=
|email=
|started=
|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)
;email
;email
:Will display an email. If set, "contact" will not be shown
:Will display email as Team Contact. If set, "contact" will not be shown
;started
;started
:Date team started up
:Date team started up, format Month YYYY. For example, 'started=February 2019'.
;trusteeContact
;trusteeContact
:Trustee contact for the team
:Trustee contact for the team
Line 51: Line 63:
:List of members involved. Ideally, use <nowiki>[[User:username|username]]</nowiki> format.
:List of members involved. Ideally, use <nowiki>[[User:username|username]]</nowiki> format.
;budget
;budget
:Annual budget that the team has access to
:Annual budget that the team has access to, format £X
;budgetyear
;budgetyear
:Year for budget, format is YYYY. For example, 'budgetyear=2019'
:Year for budget, format is YYYY. For example, 'budgetyear=2019'
[[Category:Templates infoboxes]]
[[Category:Templates infoboxes]]
</noinclude>
</noinclude>

Revision as of 11:41, 12 February 2019

Team Team



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
|trustee=
|members=
|email=
|started=
|budget=
|budgetyear=
|}

Arguments

name
Team name override (default: the page name without the Team: prefix)
email
Will display email as Team Contact. If set, "contact" will not be shown
started
Date team started up, format Month YYYY. For example, 'started=February 2019'.
trusteeContact
Trustee contact for the team
members
List of members involved. Ideally, use [[User:username|username]] format.
budget
Annual budget that the team has access to, format £X
budgetyear
Year for budget, format is YYYY. For example, 'budgetyear=2019'