Template:ThingInfoBox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{| style="float: right; background-color: white; width:280px; border: 2px solid {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!-- -->broken=rgb(255,48,32)|b...") |
No edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
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<!-- | ||
-->}} | -->}} | ||
<small style="float:right">[[ | <small style="float:right">[[Template:ThingInfoBox|[box doku]]]</small> | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
{{#if:{{{image|}}}|<!-- | {{#if:{{{image|}}}|<!-- | ||
Line 30: | Line 30: | ||
-->{{{owner}}} (<!-- | -->{{{owner}}} (<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->[[ | -->[[User:{{{username}}}|{{{username}}}]]<!-- | ||
-->{{#ifeq: {{{username}}}|{{{owner|{{{username}}}<!-- -->}}}|<!-- | -->{{#ifeq: {{{username}}}|{{{owner|{{{username}}}<!-- -->}}}|<!-- | ||
nothing | nothing | ||
Line 45: | Line 45: | ||
-->{{col sep}} {{{financing}}}<!-- | -->{{col sep}} {{{financing}}}<!-- | ||
-->}} | -->}} | ||
|}</includeonly><noinclude>Check https://wiki.raumzeitlabor.de/wiki/Vorlage:GeraetInfoBox for documentation on how to use this template.</noinclude> | |- style="border-bottom:1px solid #F0F0F0;" | ||
{{#if:{{{buildvolume|}}}|<!-- | |||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Build Volume'''<!-- | |||
-->{{col sep}} {{{buildvolume}}}<!-- | |||
-->}} | |||
|- style="border-bottom:1px solid #F0F0F0;" | |||
{{#if:{{{nozzle|}}}|<!-- | |||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Nozzle'''<!-- | |||
-->{{col sep}} {{{nozzle}}}<!-- | |||
-->}} | |||
|- style="border-bottom:1px solid #F0F0F0;" | |||
{{#if:{{{ip|}}}|<!-- | |||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''IP'''<!-- | |||
-->{{col sep}} {{{ip}}}<!-- | |||
-->}} | |||
|- style="border-bottom:1px solid #F0F0F0;" | |||
{{#if:{{{link|}}}|<!-- | |||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Link'''<!-- | |||
-->{{col sep}} {{{link}}}<!-- | |||
-->}} | |||
|}</includeonly><noinclude>Check https://wiki.raumzeitlabor.de/wiki/Vorlage:GeraetInfoBox for documentation on how to use this template. | |||
== Example == | |||
{{ThingInfoBox | |||
|name = Lusa | |||
|status = working | |||
|image = Lusa.jpg | |||
|description = Original Prusa MINI | |||
|owner = MuMaLab | |||
|username = | |||
|financing = Bought from official Vendor (380€) | |||
|buildvolume = 18 x 18 x 18 cm (7 x 7 x 7 in) | |||
|nozzle = 0.4 mm brass | |||
|ip = 10.10.20.45 | |||
|link = http://10.10.20.45 | |||
}} | |||
</noinclude> |
Latest revision as of 12:02, 2 January 2024
Check https://wiki.raumzeitlabor.de/wiki/Vorlage:GeraetInfoBox for documentation on how to use this template.
Example
Lusa Status: working [box doku] | |
---|---|
Description | Original Prusa MINI |
Owner | MuMaLab |
Financing | Bought from official Vendor (380€) |
Build Volume | 18 x 18 x 18 cm (7 x 7 x 7 in) |
Nozzle | 0.4 mm brass |
IP | 10.10.20.45 |
Link | http://10.10.20.45 |