Editing
Template:Imper1um/Item Small
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Template: Item Small = This template is intended to replicate the small icon that you see in the game (that you mouse over). This template is designed to fulfill the requirements of showing this icon. == Parameters == * '''Name:''' The name of the item. * '''Type:''' Possible Values: ** Weapon ** Vitality ** Spirit * '''Icon:''' Transparent icon, recommended 128x128px * '''IsActive:''' If true, this item is an active item. == Example == {{Imper1um/Item_Small|Name=Basic Magazine|Type=Weapon|Icon=Basic_Magazine.png}} {{Imper1um/Item_Small|Name=Basic Magazine|Type=Weapon|Icon=Basic_Magazine.png|IsActive=true}} </noinclude> <includeonly> <div style="width: 100px; text-align: center; font-family: Arial, sans-serif; margin: 5px; margin-bottom: 0px; border-radius: 8px; padding: 0px; background-color: {{#ifeq: {{lc:{{{Type}}}}} | weapon | {{#if:{{{IsActive|}}} | #fae0b2 | #f08d24}} }} {{#ifeq: {{lc:{{{Type}}}}} | vitality | {{#if:{{{IsActive|}}} | #c9edb2 | #a8d784}} }} {{#ifeq: {{lc:{{{Type}}}}} | spirit | {{#if:{{{IsActive|}}} | #e0d3fa | #a88dd7}} }}; "><div style="width: 100px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px 8px 0 0; padding-top: 5px; {{#if: {{{IsActive|}}} | | padding-bottom: 9px; }}">[[File:{{{Icon}}}|40px|center|alt={{{Name}}}]]</div>{{#if: {{{IsActive|}}} | <div style="background-color: black; color: white; padding: 2px; font-size: 10px; font-weight: bold; width: 60px; position: relative; top: 10px; margin: auto;">ACTIVE</div> }} <div style="font-size: 12px; font-weight: bold; padding: 5px 0; background-color: #f5f5f5; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 0 0 8px 8px; word-wrap: break-word;">[[{{{Name}}}]]</div> </div> </includeonly>
Summary:
Please note that all contributions to Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Page information
Languages