Difference between revisions of "Template:Tool"

From Nottinghack Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
{{#if: {{{image|}}}|
 
{{#if: {{{image|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{!}} {{#if: {{{image|}}}|
+
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if: {{{image|}}}|
 
[[{{{image}}} |{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|link={{{image}}}|thumb|center]]{{#if: {{{caption|}}}|''{{{caption}}}''}}}}
 
[[{{{image}}} |{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|link={{{image}}}|thumb|center]]{{#if: {{{caption|}}}|''{{{caption}}}''}}}}
 
|
 
|

Revision as of 03:28, 8 March 2018

Tool




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

image
An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
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