Template:Tool: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
   {{!}}-
   {{!}}-
   {{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|border|frameless|{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|center]] {{#if: {{{caption|}}}|''{{{caption}}}''}}
   {{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|border|frameless|{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|center]] {{#if: {{{caption|}}}|''{{{caption}}}''}}
|
}}<!--
}}<!--
-->{{#if:{{{manufacturer|}}}|<br /><!-- conditional row -->
-->{{#if:{{{manufacturer|}}}|<br /><!-- conditional row -->

Revision as of 16:05, 8 February 2019

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.

Usage

Inserting the following text at the top of the tool page will produce an information box on your page that gives an overview of the tool. Arguments can be written in any order.

Images look great with this template, include one if you can!


{{Tool
|image=
|manufacturer=
|model=
|obtained=
|location=
|induction=
}}


Arguments

image
An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
manufacturer
The name of the maker of the tool
model
The model number of the tool. Please be as exact as possible.
obtained
When and how the tool was obtained (i.e. pledge drive, donation, etc)
location
Where the tool is located in the space
induction
Whether or not an induction is required to use the tool