User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{size | {{{2|}}} }}}
<div class="infobox">
| large=<div style="padding: 1.2em; margin-top: 0.5em; border-top-width: 0.4em; border-radius: 0.20em; box-shadow: 2px 2px #F7F8F9; background-color: #{{#switch: {{{severity| {{{1}}} }}}
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{Picture|}}}|
| danger=fee7e6
<div class="infobox-image">[[File:{{{Picture}}}|300px]]</div>}}
| warning=fceee6
<table style="width:100%;">{{#if:{{{Release Year|}}}|<tr>
| caution=fcf8e6
    <th>{{nowrap|Release Year}}</th>
| note|custom=f8f9fa
    <td>{{{Release Year}}}</td>
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
| danger=bf3333
    <th>{{nowrap|Leak Risk}}</th>
| warning=df5c15
    <td>{{{Leak Risk}}}</td>
| caution=f1cc43
</tr>}}{{#if:{{{Batteries|}}}|<tr>
| note|custom=4666c8
    <th>[[Batteries]]</th>
}};"><table><tr><td>[[File:{{#switch: {{{severity| {{{1}}} }}}
    <td>{{{Batteries}}}</td>
| danger=OOjs UI icon alert-destructive.svg
</tr>}}{{#if:{{{Mounting Technology|}}}|<tr>
| warning=OOjs UI icon alert-warning.svg
    <th>{{nowrap|[[Part Footprints|Mounting Technology]]}}</th>
| caution=OOjs UI icon alert-yellow.svg
    <td>{{{Mounting Technology}}}</td>
| note=OOjs UI icon information-progressive.svg
</tr>}}{{#if:{{{Capacitor Types|}}}|<tr>
| custom={{{custom_icon}}}
    <th>{{nowrap|[[Capacitor Types]]}}</th>
}}|35px|left|link=|alt={{{severity}}}]]</td><td>'''{{#switch: {{{severity| {{{1}}} }}}
    <td>{{{Capacitor Types}}}</td>
| danger=DANGER
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
| warning=WARNING
    <th>{{nowrap|Destructive Entry}}</th>
| caution=CAUTION
    <td>{{{Destructive Entry}}}</td>
| note=NOTE
</tr>}}{{#if:{{{CPU|}}}{{{Memory|}}}{{{Storage|}}}{{{Graphics|}}}{{{Sound|}}}|<tr>
| custom={{{custom_label}}}
    <th colspan=2 style="font-size:125%;text-align:center;background-color:#4666c8;color:white;">Hardware Specifications</th>
}}''' {{{message| {{{3|}}} }}}</td></div>
</tr>{{#if:{{{CPU|}}}|<tr>
| medium|med=<table style="padding: 0.5em; background-color: #{{#switch: {{{severity| {{{1}}} }}}
    <th>CPU</th>
| danger=fee7e6
    <td>{{{CPU}}}</td>
| warning=fceee6
</tr>}}{{#if:{{{Memory|}}}|<tr>
| caution=fcf8e6
    <th>Memory</th>
| note|custom=f8f9fa
    <td>{{{Memory}}}</td>
}}; border: 1px solid #{{#switch: {{{severity| {{{1}}} }}}
</tr>}}{{#if:{{{Storage|}}}|<tr>
| danger=bf3333
    <th>Storage</th>
| warning=df5c15
    <td>{{{Storage}}}</td>
| caution=f1cc43
</tr>}}{{#if:{{{Graphics|}}}|<tr>
| note|custom=4666c8
    <th>Graphics</th>
}};"><tr><td nowrap="true">[[File:{{#switch: {{{severity| {{{1}}} }}}
    <td>{{{Graphics}}}</td>
| danger=OOjs UI icon alert-destructive.svg
</tr>}}{{#if:{{{Sound|}}}|<tr>
| warning=OOjs UI icon alert-warning.svg
    <th>Sound</th>
| caution=OOjs UI icon alert-yellow.svg
    <td>{{{Sound}}}</td>
| note=OOjs UI icon information-progressive.svg
</tr>}}}}
| custom={{{custom_icon}}}
{{#incat:CRT|<tr>
}}|18px|text-bottom|link=|alt={{{severity}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
    <th colspan=2 style="font-size:125%;text-align:center;background-color:#4666c8;color:white;">CRT Guides</th>
| danger=DANGER
</tr><tr>
| warning=WARNING
    <td colspan=2 style="text-align:center;">[[CRT|General Information]]&nbsp;· [[CRT Repair Cautions|Repair Cautions]]</td>
| caution=CAUTION
</tr>}}
| note=NOTE
</table>
| custom={{{custom_label}}}
</div>
}}''' {{{message| {{{3|}}} }}}</table>
| small=[[File:{{#switch: {{{severity| {{{1}}} }}}
| danger=OOjs UI icon alert-destructive.svg
| warning=OOjs UI icon alert-warning.svg
| caution=OOjs UI icon alert-yellow.svg
| note=OOjs UI icon information-progressive.svg
| custom={{{custom_icon}}}
}}|18px|text-bottom|link=|alt={{{severity}}}]] '''{{#switch: {{{severity| {{{1}}} }}}
| danger=DANGER
| warning=WARNING
| caution=CAUTION
| note=NOTE
| custom={{{custom_label}}}
}}''' {{{message| {{{3|}}} }}}
}}

Latest revision as of 17:14, 19 February 2022

DigitalIceAge/sandbox