Template:Tool: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Alexmann (talk | contribs)
No edit summary
Alexmann (talk | contribs)
No edit summary
Line 4: Line 4:
{{#if: {{{image|}}}| <!--If the image variable is set-->
{{#if: {{{image|}}}| <!--If the image variable is set-->
|- <!--On a new row-->
|- <!--On a new row-->
| colspan="2" style="text-align:center;" {{#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:44, 8 March 2018

Tool

- -

Manufacturer

-

Trustee Contact

-

Team Lead

-

Members


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