Editing Template:ItemBoxGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<templatestyles src="Template:ItemBox/styles.css" /><includeonly> | <templatestyles src="Template:ItemBox/styles.css"/><includeonly><!-- | ||
-->{{#vardefine:item_key_or_en|{{{item_name|{{{1}}}}}}}}<!-- | |||
{{#vardefine: | -->{{#vardefine:tier|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}}}}<!-- | ||
--><div class="HeroCard2" style="transition:0.1s transform ease-in-out;display:inline-block; margin-left:5px; border-radius:9px;"> | |||
{|- style="font-family:'Retail Demo Regular',serif; text-align:center; border-collapse:collapse; width:100px !important; position:relative;" | |||
-->{{#vardefine: | |<span class="item-link-wrapper" data-item-name="{{{item_name|{{{1}}}}}}"><div style="position:absolute; z-index:0; transform-origin: top; transform: scale(1, 1.1);">{{#if:{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|[[File:{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Slot}} Card T{{#var:tier}}.png|100px|link={{#if:{{{link|}}}|{{{link}}}|{{{item_loc|{{{item_name|{{{1}}}}}}}}}}}]]|}}</div></span><!-- | ||
--> | --><div style="position:relative; pointer-events:none;"><!-- | ||
--><div class="paper-texture tex-1" style="position:absolute; z-index:5; mix-blend-mode:multiply; opacity:0.9;">[[File:Card PaperTexture 1.png|100px|link=]]</div><!-- | |||
--><div class="paper-texture tex-2" style="position:absolute; z-index:5; mix-blend-mode:multiply; opacity:0.9;">[[File:Card PaperTexture 2.png|100px|link=]]</div><!-- | |||
--><div class="paper-texture tex-3" style="position:absolute; z-index:5; mix-blend-mode:multiply; opacity:0.9;">[[File:Card PaperTexture 3.png|100px|link=]]</div><!-- | |||
- | --><div class="paper-wear wear-1" style="position:absolute; z-index:6; mix-blend-mode:overlay; opacity:1; filter: sepia(70%)">[[File:Card PaperWear 1.png|100px|link=]]</div><!-- | ||
-- | --><div class="paper-wear wear-2" style="position:absolute; z-index:6; mix-blend-mode:overlay; opacity:0.8; filter: sepia(70%)">[[File:Card PaperWear 2.png|100px|link=]]</div><!-- | ||
--><div class="paper-wear wear-3" style="position:absolute; z-index:6; mix-blend-mode:overlay; opacity:1; filter: sepia(70%)">[[File:Card PaperWear 3.png|100px|link=]]</div><!-- | |||
--><div class="paper-wear wear-4" style="position:absolute; z-index:6; mix-blend-mode:overlay; opacity:1; filter: sepia(70%)">[[File:Card PaperWear 4.png|100px|link=]]</div></div> | |||
|- style="text-align:center; position:relative; pointer-events:none;" | |||
| <span class="item-card-icon" style="transition:0.1s transform ease-in-out; position:relative; bottom:-1px;">[[File:{{{item_name|{{{1}}}}}}.png|96px|link=]]</span>{{#if:{{{ignore|}}}||{{#ifeq: {{#invoke:ItemData|is_active|{{{item_name|{{{1}}}}}}}}|true|<div style="position:relative; display:flex; justify-content:center; align-items:center; z-index:6;"><div style="background-color:#161A13; color:#FFFFF5; border-radius:3px; padding:2px 2px; font-size:12px; margin:0; width:48px; height:16px; position:absolute; bottom:-9px; line-height:15px; letter-spacing:-0.5px; font-family:'Retail Demo Regular', serif;">'''ACTIVE'''</div></div>}}}} | |||
|- style="height:55px; font-size:14px; font-family:'Retail Demo Regular'; line-height:18px; position:relative; z-index:1; pointer-events:none; {{#ifexpr:{{#var:tier}} > 3|{{#switch: {{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Slot}} | |||
| Weapon = color: #e2c5a1 !important; | |||
| Armor = color: #b8dcc4 !important; | |||
--> | | Tech = color: #ccbfda !important; | ||
--> | | color: #000000;}}|color: #11140e; !important}}" | ||
! style="padding: 0 4px;" |{{{item_loc|{{{item_name|{{{1}}}}}}}}} | |||
|}</div></includeonly><noinclude>{{Documentation}}</noinclude> | |||
--> | |||
--> | |||
--><div class=" | |||
</div></includeonly><noinclude>{{Documentation}}</noinclude> | |||