Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.
Template:ItemTT: Difference between revisions
From Elwiki
(Created page with "{| cellpadding="5" border="0" width="600" style="color: white; background-color: black; text-align: left top; " |- | | {{{Name|}}}<br>{{#if:{{{Rarity|}}}|{{ItemName|[{{{Rari...") |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{ | <includeonly>{{#css: | ||
.item_tt { | |||
padding: 1rem 1.5rem 1.5rem 1.5rem; | |||
background-color: rgb(30,30,30); | |||
border: 1px solid; | |||
text-align: left; | |||
position: relative; | |||
| | max-width: 450px; | ||
{{#if: {{{ | color: white; | ||
{{ | } | ||
.item_tt .corner { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
user-select: none; | |||
pointer-events: none; | |||
} | |||
.item_tt p:last-child { | |||
margin-bottom: 0; | |||
} | |||
}}<div class="item_tt 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|}}} | {{#switch:{{{Resell|}}} | ||
| =<nowiki/> | | =<nowiki/> | ||
| | | No=<font color="red">Reselling impossible.</font><br> | ||
| #default = Reselling price: {{{Resell|}}}<br> | | #default = {{color|white|Reselling price: {{{Resell|}}}}}<br> | ||
}} | |||
{{#switch:{{{Dismiss|}}} | |||
| =<nowiki/> | |||
| 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|}}} | {{#switch:{{{Trade|}}} | ||
| =<nowiki/> | | =<nowiki/> | ||
| No=<font color="red">Trade impossible.</font><br> | |||
| #default = <font color="red">{{{Trade|}}}</font><br> | | #default = <font color="red">{{{Trade|}}}</font><br> | ||
}} | }} | ||
{{#switch:{{{Bank|}}} | {{#switch:{{{Bank|}}} | ||
| =<nowiki/> | | =<nowiki/> | ||
| No=<font color="red">Cannot be stored in shared bank</font> | |||
| #default = <font color="red">{{{Bank|}}}</font> | | #default = <font color="red">{{{Bank|}}}</font> | ||
}} | }} | ||
</div></includeonly><noinclude>{{Doc}}</noinclude> |