User:DigitalIceAge/sandbox: Difference between revisions

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

Latest revision as of 17:14, 19 February 2022

DigitalIceAge/sandbox