User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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=CAUTION]]</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: yellow; border: 1px red solid;"><tr><td nowrap="true">[[File:OOjs UI icon information-progressive.svg|18px|text-bottom|link=|alt={{{severity}}}]] '''{{{severity| {{{1|}}} }}}''' {{{message| {{{3|}}} }}}</table>
    <th>CPU</th>
| small=[[File:OOjs UI icon information-progressive.svg|18px|text-bottom|link=|alt={{{severity}}}]] '''{{{severity| {{{1|}}} }}}''' {{{message| {{{3|}}} }}}
    <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>

Latest revision as of 17:14, 19 February 2022

DigitalIceAge/sandbox