User:DigitalIceAge/sandbox: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{size | {{{2|}}} }}}
<div class="infobox">
| 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;">
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{Picture|}}}|
{| style=width:100%
<div class="infobox-image">[[File:{{{Picture}}}|300px]]</div>}}
| style=width:100% | [[File:{{{severity_icon}}}|35px|left|link=|alt={{{severity_label| {{{severity|}}} }}}]]
<table style="width:100%;">{{#if:{{{Release Year|}}}|<tr>
| '''{{{severity_label| {{{severity|}}} }}}''' {{{message| {{{3|}}} }}}
    <th>{{nowrap|Release Year}}</th>
|}
    <td>{{{Release Year}}}</td>
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
    <th>{{nowrap|Leak Risk}}</th>
    <td>{{{Leak Risk}}}</td>
</tr>}}{{#if:{{{Batteries|}}}|<tr>
    <th>[[Batteries]]</th>
    <td>{{{Batteries}}}</td>
</tr>}}{{#if:{{{Mounting Technology|}}}|<tr>
    <th>{{nowrap|[[Part Footprints|Mounting Technology]]}}</th>
    <td>{{{Mounting Technology}}}</td>
</tr>}}{{#if:{{{Capacitor Types|}}}|<tr>
    <th>{{nowrap|[[Capacitor Types]]}}</th>
    <td>{{{Capacitor Types}}}</td>
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
    <th>{{nowrap|Destructive Entry}}</th>
    <td>{{{Destructive Entry}}}</td>
</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|}}} }}}
}}{{#switch: {{{severity_color | {{{severity| {{{1|}}} }}} }}}
| danger=bf3333
| warning=df5c15
| caution=f1cc43
| note|custom=4666c8
}}{{#switch: {{{severity_label | {{severity| {{{1|}}} }}} }}}
| danger=DANGER
| warning=WARNING
| caution=CAUTION
| note=NOTE
| custom={{{custom_label|}}}
}}{{#switch: {{{severity_icon | {{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|}}}
}}

Latest revision as of 17:14, 19 February 2022

DigitalIceAge/sandbox