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 3: Line 3:
! colspan="2" style="text-align: center;" | {{{name|{{SUBPAGENAME}}}}}
! colspan="2" style="text-align: center;" | {{{name|{{SUBPAGENAME}}}}}
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}}-
{{!}}
{{!}} 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 04:00, 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.
manufacturer
The name of the maker of the tool
model
The model number of the tool. Please be as exact as possible.