Difference between revisions of "Template:EquipDisplay"

From London Hackspace Wiki
Jump to navigation Jump to search
(Created page with "Location if empty show ??? in red? {{#switch: status | Good working order = 3F0 | Faulty = FC0 | Out of order = C00 | Under construction = 00C | Out of consumables = 66C | Sc...")
 
(Add documentation)
 
(66 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Location if empty show ??? in red?
+
{| class="wikitable" width=90% style="margin: 1em auto 1em auto;"
 +
| width=20% | <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">[[{{{1}}}|{{{2}}}]]</div>
  
{{#switch: status | Good working order = 3F0 | Faulty = FC0 | Out of order = C00 | Under construction = 00C | Out of consumables = 66C | Scrapped = 600 | Unknown = CCC | CCC}}
+
| width=10% style="background: #{{#if: {{{3}}} |FFF |900}}"| {{#if: {{{3}}} |<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">'''Located in;'''<br>[[Floor_plans|{{{3}}}]]</div> |<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">'''Location unknown'''</div>}}
  
<includeonly>
+
| width=10% style="background: #{{#if: {{{4}}} |FFF |BBB}}"| {{#if: {{{4}}} |<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">'''Is maintained by;'''<br>{{{4}}}</div> |<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">'''No maintainer listed'''</div>}}
  
<div style="display: inline-block; width: 240px; text-align: center; vertical-align: top; margin-top: 10px; margin-bottom: 70px;">
+
| width=10% style="background: #{{#switch: {{{5}}} | Yes = F33 | No = 9F0 | BBB}}" | <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">{{#switch: {{{5}}} | Yes = Requires training | No = Doesn't require training | '''Training requirement unknown'''}}</div>
  
<div style="height: 5em; margin-bottom: 0px;">
+
| width=10% style="background: #{{#switch: {{{6}}} | Yes = F33 | No = 9F0 | BBB}}"| <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">{{#switch: {{{6}}} | Yes = ACnode restricted | No = Unrestricted | '''Unknown ACnode status'''}}</div>
  
<span style="font-size: 150%;">[[{{{1|FIXME}}}|{{{linktitle|{{{1|FIXME}}}}}}]]</span><br/>
+
| width=10% style="background: #{{#switch: {{{7}}} | Good working order = 9F0 | Faulty = FC0 | Out of order = C00 | Under construction = 36F | Out of consumables = 66C | Scrapped = 900 | Unknown = 900 | ACNode controlled = BBB | 900}}"| <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">{{#switch: {{{7}}} | ACNode controlled = [https://london.hackspace.org.uk/members/tools.php View tool status] | {{{7}}} }} </div>
  
{{{2|}}}
+
| width=20% | <div class="center" style="width: auto; margin-left: auto; margin-right: auto;">'''Last updated;'''<br>{{{8}}}<br> by [[{{{9}}}]]</div>
 
+
|}<noinclude>
</div>
+
{{Documentation}}
 
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<div style="width: 240px; height: 180px; display: table-cell; vertical-align: middle; margin-top: 0px;">
+
</noinclude>
 
 
{{#if: {{{3|}}}|[[File:{{{3|Chaosdorf-wiki.png}}}|220x180px|link={{{1|}}}]]}}
 
 
 
</div>
 
 
 
</div>
 
 
 
</includeonly>
 

Latest revision as of 16:36, 20 April 2016

[[{{{1}}}|{{{2}}}]]
Located in;
{{{3}}}
Is maintained by;
{{{4}}}
Training requirement unknown
Unknown ACnode status
{{{7}}}
Last updated;
{{{8}}}
by [[{{{9}}}]]
[create] Documentation icon Template documentation