Difference between revisions of "Template:Infobox tool inventory"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(added ability to include various inventory type labels like DNH, RTFM, and QR code)
(added in talk to ambox)
 
(23 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
{{#if:{{{category|<noinclude>x</noinclude>}}}|
 
{{#if:{{{category|<noinclude>x</noinclude>}}}|
 
! Tool Category
 
! Tool Category
{{!}} {{Tool Category link|{{{category}}}}}<includeonly>[[Category:{{{category}}} tools]]</includeonly>
+
{{!}} {{Infobox tool inventory/category|{{{category}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 50: Line 50:
 
{{!}} {{#switch:{{{status|}}}
 
{{!}} {{#switch:{{{status|}}}
 
| available = Available
 
| available = Available
| signup = Sign up on scheduled to use
+
| signup = Sign up on schedule to use
 
| building = Assembly in progress
 
| building = Assembly in progress
 
| maintenance = Maintenance needed
 
| maintenance = Maintenance needed
Line 66: Line 66:
 
! Availability
 
! Availability
 
{{!}} {{#switch:{{{availability|}}}
 
{{!}} {{#switch:{{{availability|}}}
 +
| all
 +
| available
 
| anyone = Anyone may use
 
| anyone = Anyone may use
 +
| authorized
 
| training = Training required to use
 
| training = Training required to use
 
| unknown
 
| unknown
Line 73: Line 76:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{qr|<noinclude>x</noinclude>}}}{{{rtfm|<noinclude>x</noinclude>}}}{{{dnh|<noinclude>x</noinclude>}}}{{{other_labels|<noinclude>x</noinclude>}}}|
+
{{#if: {{{rtfm|<noinclude>x</noinclude>}}}{{{dnh|<noinclude>x</noinclude>}}}{{{other_labels|<noinclude>x</noinclude>}}}|
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Labels
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Labels
 
{{!}}-
 
{{!}}-
 
! colspan="2" style="text-align: center;"{{!}}
 
! colspan="2" style="text-align: center;"{{!}}
{{#if:{{{qr|<noinclude>x</noinclude>}}}|{{{qr|}}}}}{{#if:{{{rtfm|<noinclude>x</noinclude>}}}|[[Image:Read The Freaking Manual.svg|100px]]}}{{#if:{{{dnh|<noinclude>x</noinclude>}}}|[[Image:Do Not Hack.svg|100px]]}}{{#if:{{{qr|<noinclude>x</noinclude>}}}|{{{other_labels|}}}}}
+
{{#if:{{{rtfm|<noinclude>x</noinclude>}}}|[[Image:Read The Freaking Manual.svg|x50px]]}}{{#if:{{{dnh|<noinclude>x</noinclude>}}}|[[Image:Do Not Hack.svg|x50px]]}}{{#if:{{{qr|<noinclude>x</noinclude>}}}|{{{other_labels|}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{guides|<noinclude>x</noinclude>}}}{{{manuals|<noinclude>x</noinclude>}}}{{{flickr|<noinclude>x</noinclude>}}}{{{youtube|<noinclude>x</noinclude>}}}{{{schedule|<noinclude>x</noinclude>}}}|
+
{{#if: {{{guides|<noinclude>x</noinclude>}}}{{{manuals|<noinclude>x</noinclude>}}}{{{flickr|<noinclude>x</noinclude>}}}{{{youtube|<noinclude>x</noinclude>}}}{{{schedule|<noinclude>x</noinclude>}}}{{{twitter|<noinclude>x</noinclude>}}}|
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Media
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Media
 
{{!}}-
 
{{!}}-
 
! colspan="2" style="text-align: center;"{{!}}
 
! colspan="2" style="text-align: center;"{{!}}
{{#if:{{{guides|<noinclude>x</noinclude>}}}|[[Image:Ambox_warning_yellow.png|40px|link={{{guides}}}|alt=links to tool use guides ?NEEDED?]]}}{{#if:{{{manuals|<noinclude>x</noinclude>}}}|[[Image:Replacement_filing_cabinet.svg|40px|link={{{manual.pdf}}}|alt=Link to the pdf file location]]}}{{#if:{{{flickr|<noinclude>x</noinclude>}}}|[[Image:Flickr_Icon.png|30px|link={{{flickr}}}|alt=?tool images if needed-gallery]]}}{{#if:{{{youtube|<noinclude>x</noinclude>}}}|[[Image:Youtube_Icon.png|30px|link={{{youtube}}}|alt=YouTube guides, tutorials, etc]]}}{{#if:{{{schedule|<noinclude>x</noinclude>}}}|[[Image:Nuvola_apps_clock.svg|40px|link={{{tool_scheduling}}}|alt=links to tool use reservation schedule]]}}
+
{{#if:{{{guides|<noinclude>x</noinclude>}}}|[[Image:Ambox_warning_yellow.png|30px|link={{{guides}}}|alt=link to tool use guides ]]}}{{#if:{{{manuals|<noinclude>x</noinclude>}}}|[[Image:Replacement_filing_cabinet.svg|30px|link={{{manuals}}}|alt=Link to the manual location]]}}{{#if:{{{flickr|<noinclude>x</noinclude>}}}|[[Image:Flickr_Icon.png|30px|link={{{flickr}}}|alt=tool images if needed-gallery]]}}{{#if:{{{youtube|<noinclude>x</noinclude>}}}|[[Image:Youtube_Icon.png|30px|link={{{youtube}}}|alt=YouTube guides, tutorials, etc]]}}{{#if:{{{schedule|<noinclude>x</noinclude>}}}|[[Image:Nuvola_apps_clock.svg|30px|link={{{schedule}}}|alt=links to tool use reservation schedule]]}}{{#if:{{{twitter|<noinclude>x</noinclude>}}}|[[Image:Twitter_icon.svg|30px|link={{{twitter}}}|alt=Twitter account]]}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{ombox
+
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} QRCode
 +
|-
 +
! colspan="2" style="text-align: center;"{{!}}
 +
{{#qrcode: {{fullurl:{{FULLPAGENAMEE}}}}}}
 +
|}
 +
{{#if: {{{availability|<noinclude>x</noinclude>}}}|
 +
{{#switch: {{{availability}}}
 +
| authorized
 +
| training = {{Authorized only tool}}
 +
| #default =
 +
}}
 +
}}
 +
{{#if: {{{talk_to|<noinclude>x</noinclude>}}}|
 +
{{ambox
 
| type      = style
 
| type      = style
| image    = [[Image:Emblem-question-yellow.png|40px]]
+
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| style    = width: 400px;
+
| textstyle = font-style: italic;
| textstyle = color: red; font-weight: bold; font-style: italic;
+
| text      = Questions? Talk to '''{{{talk_to}}}''' for help or more information.
| text      = Questions? Talk to USER, USER or USER for help or more information.
+
}}
 
}}
 
}}
== Location ==
 
 
== Features ==
 
* Blah
 
* Blah
 
 
== Recommended Safety Equipment ==
 
* asdfasd
 
*asdafsdf
 
 
== Prior to each use ==
 
=== Verify ===
 
* asdasdf
 
* asdfasdf
 
 
== After each use ==
 
=== Clean ===
 
*
 
=== Replace ===
 
*
 
 
== Supplies/Consumables that will need to be replaced/purchased ==
 
=== Per Use information and/or rates===
 
* asdaf
 
 
=== Periodic Replacements ===
 
* asdafsd
 
* asdasd
 
 
 
|}
 
 
<noinclude>
 
<noinclude>
 
{{esoteric}}
 
{{esoteric}}

Latest revision as of 14:20, 25 October 2012

Infobox tool inventory
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]

{{{caption}}}

Information
Owner {{{owner}}}
Tool Category Tool
Model {{{model}}}
Serial {{{serial}}}
Purchased On {{{purchase_date}}}
Disposed On {{{disposal_date}}}
Cost {{{cost}}}
Status Unknown
Availability Unknown
Labels

Read The Freaking Manual.svgDo Not Hack.svg

Media

link to tool use guidesLink to the manual locationtool images if needed-galleryYouTube guides, tutorials, etclinks to tool use reservation scheduleTwitter account

QRCode

QR-83551323387409be41733607265ea39d.png

[edit] [purge] Template documentation

Usage

{{Infobox tool inventory
|tool_name = 
|image = 
|image_size = 
|alt = 
|caption = 
|owner = 
|category = 
|model = 
|serial = 
|status = 
|availability = 
|talk_to = 
|purchase_date = 
|disposal_date = 
|cost = 
|dnh = 
|rtfm = 
|guides = 
|manuals = 
|flickr = 
|youtube = 
|schedule = 
}}

Template preset options

Status options:

  • available = Available
  • signup = Sign up on scheduled to use
  • building = Assembly in progress
  • maintenance = Maintenance needed
  • upgrade = Upgrades needed
  • damaged
  • repair = Repairs needed
  • incomplete = Missing parts
  • checked-out = Checked out and removed from premises
  • unknown

Availability options:

  • anyone = Anyone may use
  • training = Training required to use
  • unknown