Difference between revisions of "Template:Team"

From Nottinghack Wiki
Jump to navigation Jump to search
(add cat)
(add code for documented budget parameter, add budgetyear)
Line 21: Line 21:
 
! Team Lead
 
! Team Lead
 
{{!}} {{{lead}}}
 
{{!}} {{{lead}}}
}}
+
}}<!--
{{#if:{{{members|}}}|
+
-->{{#if:{{{members|}}}|<br />
 
{{!}}-
 
{{!}}-
 
! Members
 
! Members
 
{{!}} {{{members}}}
 
{{!}} {{{members}}}
 +
}}<!--
 +
-->{{#if:{{{budget|}}}|<br />
 +
{{!}}-
 +
! Budget
 +
{{!}} {{{budget}}} {{#if: {{{budgetyear|}}}|<small>'' ({{{budgetyear|}}})''</small> }}
 
}}
 
}}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
__NOEDITSECTION__
 
 
== Documentation ==
 
== Documentation ==
  
Line 48: Line 52:
 
;budget
 
;budget
 
:Annual budget that the team has access to
 
:Annual budget that the team has access to
 +
;budgetyear
 +
:Year for budget, format is YYYY. For example, 'budgetyear=2019'
 
[[Category:Templates infoboxes]]
 
[[Category:Templates infoboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 11:27, 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.

Arguments

name
Team name override (default: the page name without the Team: prefix)
email
Will display an email. If set, "contact" will not be shown
started
Date team started up
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
budgetyear
Year for budget, format is YYYY. For example, 'budgetyear=2019'