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
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user 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; | |||
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/> | ||
Line 34: | Line 50: | ||
| #default = <font color="red">{{{Bank|}}}</font> | | #default = <font color="red">{{{Bank|}}}</font> | ||
}} | }} | ||
</div></includeonly><noinclude>{{Doc}}</noinclude> |