User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{severity_color | {{{severity| {{{1|}}} }}} }}}
<div class="infobox">
| danger=bf3333
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{Picture|}}}|
| warning=df5c15
<div class="infobox-image">[[File:{{{Picture}}}|300px]]</div>}}
| caution=f1cc43
<table style="width:100%;">{{#if:{{{Release Year|}}}|<tr>
| note|custom=4666c8
    <th>{{nowrap|Release Year}}</th>
}}{{#switch: {{{severity_label | {{severity| {{{1|}}} }}} }}}
    <td>{{{Release Year}}}</td>
| danger=DANGER
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
| warning=WARNING
    <th>{{nowrap|Leak Risk}}</th>
| caution=CAUTION
    <td>{{{Leak Risk}}}</td>
| note=NOTE
</tr>}}{{#if:{{{Batteries|}}}|<tr>
| custom={{{custom_label|}}}
    <th>[[Batteries]]</th>
}}{{#switch: {{{severity_icon | {{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>
}}{{#switch: {{{size | {{{2|}}} }}}
    <td>{{{Capacitor Types}}}</td>
| large=<div style="background-color:#fee7e6; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #{{{severity_color| {{{severity|}}} }}}; border-top-color:#{{{severity_color| {{{severity|}}} }}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
{| style=width:100%
    <th>{{nowrap|Destructive Entry}}</th>
| style=width:100% | [[File:{{{severity_icon}}}|35px|left|link=|alt={{{severity_label| {{{severity|}}} }}}]]
    <td>{{{Destructive Entry}}}</td>
| '''{{{severity_label| {{{severity|}}} }}}''' {{{message| {{{3|}}} }}}
</tr>}}{{#if:{{{CPU|}}}{{{Memory|}}}{{{Storage|}}}{{{Graphics|}}}{{{Sound|}}}|<tr>
|}
    <th colspan=2 style="font-size:125%;text-align:center;background-color:#4666c8;color:white;">Hardware Specifications</th>
</tr>{{#if:{{{CPU|}}}|<tr>
    <th>CPU</th>
    <td>{{{CPU}}}</td>
</tr>}}{{#if:{{{Memory|}}}|<tr>
    <th>Memory</th>
    <td>{{{Memory}}}</td>
</tr>}}{{#if:{{{Storage|}}}|<tr>
    <th>Storage</th>
    <td>{{{Storage}}}</td>
</tr>}}{{#if:{{{Graphics|}}}|<tr>
    <th>Graphics</th>
    <td>{{{Graphics}}}</td>
</tr>}}{{#if:{{{Sound|}}}|<tr>
    <th>Sound</th>
    <td>{{{Sound}}}</td>
</tr>}}}}
{{#incat:CRT|<tr>
    <th colspan=2 style="font-size:125%;text-align:center;background-color:#4666c8;color:white;">CRT Guides</th>
</tr><tr>
    <td colspan=2 style="text-align:center;">[[CRT|General Information]]&nbsp;· [[CRT Repair Cautions|Repair Cautions]]</td>
</tr>}}
</table>
</div>
</div>
| medium|med=<table cellspacing="0" cellpadding="0" border="0" style="margin-top:0.5em; border:1px #bf3333 solid; padding:0.5em; background-color:#fee7e6"><tr><td nowrap="true" valign="top">
[[File:{{{severity_icon}}}|18px|text-bottom|link=|alt={{{severity|label}}}]] '''{{{severity_label}}}''' {{{message| {{{3|}}} }}}</table>
| small=[[File:{{{severity_icon}}}|18px|text-bottom|link=|alt={{{severity|label}}}]] '''{{{severity_label}}}''' {{{message| {{{3|}}} }}}
}}

Latest revision as of 17:14, 19 February 2022

DigitalIceAge/sandbox