Template:Tool: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
add team, add obtained date and jig defunct
test template bottom bar
Line 1: Line 1:
{| class="wikitable" style="float:right; width:300px; margin-left:10px; margin-bottom:10px;"
{| class="wikitable" style="float:right; width:300px; margin-left:10px; margin-bottom:10px;"
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center;" | {{{name|{{SUBPAGENAME}}}}}<!--
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center; border: 1px solid #244724;" | {{{name|{{SUBPAGENAME}}}}}<!--
-->{{#if: {{{image|}}}|<br /><!-- conditional row -->
-->{{#if: {{{image|}}}|<br /><!-- conditional row -->
   {{!}}-
   {{!}}-
Line 44: Line 44:
   ! Defunct Date
   ! Defunct Date
   {{!}} {{{defunctdate}}}
   {{!}} {{{defunctdate}}}
}}
}}<!--
|}
-->
{{#switch:{{lc:{{{defunct|}}}}}|yes=[[Category:Tools and Equipment (Defunct)]]|#default=[[Category:Tools and Equipment]]}}
|-
<noinclude>
| colspan="2" style="text-align: center; border: 1px solid #244724; "|<small> Tools: [[Tools/We Have|list]] * [[:Category:Tools and Equipment|all pages]] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [[Template:Tool |{{}}]]</small>
__NOEDITSECTION__
|}{{#switch:{{lc:{{{defunct|}}}}}|yes=[[Category:Tools and Equipment (Defunct)]]|#default=[[Category:Tools and Equipment]]}}<noinclude>
 
{{clear}}
{{clear}}
== Documentation ==
== Documentation ==

Revision as of 11:49, 11 February 2019

Tool
Team Tools
Tools: list * all pages             {{}}

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!

Abbreviated parameter list:

{{Tool
|image=
|manufacturer=
|model=
|obtained=
|location=
|team=
|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