Template:Equipment: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(Corrected link)
(Update to new infobox template)
Line 1: Line 1:
<includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 300px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
<includeonly>
|- style="text-align:center; background-color:#5f9fbc; color: white; font-size: 120%"
{{Infobox
! colspan=2| '''{{#if:{{{title|}}}|{{{title}}}|{{{name}}} }}'''
| name = Equipment
{{#if:{{{image|}}}|
| title = {{{title| {{{name}}} }}}
{{!}}-
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|290px}}}}}}}}}|sizedefault=290px|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
! colspan=2{{!}} [[File:{{{image}}}{{!}}290px]]
| data1 = {{{description|}}}
|}}
| header2 = Equipment Information
{{#if:{{{description|}}}|
| label3 = Status | data3 = {{{status|Probably Very Dead}}}
{{!}}-
| label4 = Manufacturer | data4 = {{{manufacturer|Unknown}}}
! colspan=2{{!}} {{{description}}}
| label5 = Model | data5 = {{{model|Unknown}}}
|}}
| label6 = Firmware | data+ = {{{firmware|}}}
{{#if:{{{status|}}}|
| header7 = Hackspace Information
{{TableRow | Status | {{{status}}} }}
| label8 = Induction Required | data8 = {{#if: {{{induction|}}}{{{inductionlink |}}} | Yes | No }}
|}}
| label9 = Induction Information | data9 = {{#if: {{{induction|}}} | [[{{{inductionlink|#Induction}}}|Here]]}}
{{#if:{{{manufacturer|}}}|
| label10 = Card RFID Enabled | data10 = {{{rfid|}}}
{{TableRow | Manufacturer | {{{manufacturer}}} }}
| label11 = Owner | data11 = {{{owner|}}}
|}}
| below = {{#if: {{{more_link|}}} | [[{{{more_link|}}} More Info]] }}
{{#if:{{{model|}}}|
{{TableRow | Model | {{{model}}} }}
|}}
{{#if:{{{owner|}}}|
{{TableRow | Owner | {{{owner}}} }}
|}}
{{#if:{{{induction|}}}|
{{#if:{{{inductionlink|}}}|
{{TableRow | Induction | [[{{{inductionlink}}}|More Info]]}}
|{{TableRow | Induction | [[#Induction|More Info]]}}
}}
}}
|}}
{{#if:{{{rfid|}}}|
{{TableRow | RFID Access Control | {{{rfid}}}}}
|}}
{{#if:{{{more_link|}}}|
{{TableRow | More Information |  [{{{more_link}}} Link]}}
|}}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 08:15, 18 August 2018


Equipment Name
Leeds hackspace logo.svg
This is a piece of equipment. Make sure you don't hurt yourself using it!
Equipment Information
Status Working
Manufacturer Unknown
Model Unknown
Hackspace Information
Induction Required Yes
Induction Information Here
Card RFID Enabled No
Owner Leeds Hackspace


This is the master copy of the Equipment template used by pretty much every peice of equipment on the wiki.

To develop this template, Please test on the sandbox first, to avoid large scale page malformation.