Difference between revisions of "Template:ThingInfoBox"

From The Munich Maker Lab's Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
 
<includeonly>{| style="float: right; background-color: white; width:280px; border: 2px solid {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
 
<includeonly>{| style="float: right; background-color: white; width:280px; border: 2px solid {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
   -->broken=rgb(255,48,32)|beta=rgb(96,128,224)|working=rgb(64,192,64)|gone=rgb(0,0,0)|<!--
+
   -->broken=rgb(255,48,32)|beta=rgb(96,128,224)|working=rgb(64,192,64)|in storage=rgb(130,70,0)|gone=rgb(0,0,0)|<!--
 
   -->rgb(154,154,154)<!--
 
   -->rgb(154,154,154)<!--
 
-->}}; border-collapse: collapse; margin:0 0 0.5em 0.5em;"
 
-->}}; border-collapse: collapse; margin:0 0 0.5em 0.5em;"
 
|- style="background-color: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
 
|- style="background-color: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
   -->broken=rgb(255,48,32)|beta=rgb(96,128,224)|working=rgb(64,192,64)|gone=rgb(0,0,0)|<!--
+
   -->broken=rgb(255,48,32)|beta=rgb(96,128,224)|working=rgb(64,192,64)|in storage=rgb(130,70,0)|gone=rgb(0,0,0)|<!--
 
   -->rgb(154,154,154)<!--
 
   -->rgb(154,154,154)<!--
 
-->}}; color:white; text-align:left;"
 
-->}}; color:white; text-align:left;"
Line 11: Line 11:
 
-->}}</span><br />
 
-->}}</span><br />
 
Status: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
 
Status: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
   -->broken|beta|working|gone={{{status}}}|<!--
+
   -->broken|beta|working|in storage|gone={{{custom status|{{{status}}}}}}|<!--
 
   -->unknown<!--
 
   -->unknown<!--
 
-->}}
 
-->}}

Latest revision as of 01:29, 5 January 2020

Check https://wiki.raumzeitlabor.de/wiki/Vorlage:GeraetInfoBox for documentation on how to use this template.