Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
{{#css:
{| cellpadding="5" border="1" style="border-collapse: collapse; text-align: center"
.item_tt {
|- style="background:{{ColorSel|CharLight|{{{1|}}}}}"
    padding: 1rem 1.5rem 1.5rem 1.5rem;
! colspan=2 | {{{t1|}}} {{{2|}}} !! colspan=2 | {{{t2|}}} {{{2|}}}
    background-color: rgb(30,30,30);
{{#if: {{{effects|}}} |
    border: 1px solid;
{{!}}- style="background:{{ColorSel|CharLight|{{{1|}}}}}"
    text-align: left;
! Attribute Effect !! MP Usage !! Attribute Effect  !! Cooldown
    position: relative;
    width: 450px;
}
 
.item_tt .corner {
    position: absolute;
    top: 0;
    left: 0;
}
 
.item_tt p:last-child {
    margin-bottom: 0;
}
}}<div class="item_tt color-normal border-color">
<div class="corner">[[File:UI - Corner.png]]</div>
{{color|white|{{ItemName|{{{Name|}}}|{{{Rarity|}}}}}}}<br>{{color|white|{{#if:{{{Rarity|}}}|[{{{Rarity|}}}]}}}}
<div>{{color|white|{{{Description|}}}}}</div>
{{#switch:{{{Resell|}}}
| =<nowiki/>
| No=<font color="red">Reselling impossible.</font><br>
| #default = {{color|white|Reselling price: {{{Resell|}}}}}<br>
}}
}}
{{#switch:{{{Dismiss|}}}
|-
| =<nowiki/>
| {{SkillText|{{{t1|}}}|80}} {{#if: {{{effects|}}} | {{!}}{{!}} 160 MP }} || {{SkillText|{{{t1|}}}}} {{#if: {{{effects|}}} | {{!}}{{!}} 16.8 Seconds}}
| No=<font color="red">Cannot Dismiss</font><br>
|}
| #default = <font color="red">{{{Dismiss|}}}</font><br>
}}
{{#switch:{{{Repair|}}}
|  =<nowiki/>
| No=<font color="red">Cannot Repair</font><br>
| #default = <font color="red">{{{Repair|}}}</font><br>
}}
{{#switch:{{{Trade|}}}
| =<nowiki/>
| No=<font color="red">Trade impossible.</font><br>
| #default = <font color="red">{{{Trade|}}}</font><br>
}}
{{#switch:{{{Bank|}}}
|  =<nowiki/>
| No=<font color="red">Cannot be stored in shared bank</font>
| #default = <font color="red">{{{Bank|}}}</font>
}}
</div>

Revision as of 16:45, 20 August 2022