Шаблон:ItemSimple: различия между версиями
imported>TankNut (Shouldn't break anything and hopefully fix the horrible scaling issues with the item template) |
Aylong (обсуждение | вклад) Нет описания правки |
||
(не показано 9 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
< | <div class="item-template mobile-support" style="display: block; width: 25%; margin-bottom: 0.75em; background-color: {{ColorPalette|{{{bgcolor}}}|Transparent}}; border:1px solid {{ColorPalette|{{{bgcolor}}}|Light}};"> | ||
<div class="tgui-blur"></div> | |||
<div class="item-template-item"> | |||
<div style="align-content: center; padding: 0.5em; background-color:{{ColorPalette|{{{bgcolor}}}|Light}}; border-right: 1px solid {{ColorPalette|{{{bgcolor}}}|Opaque}}; text-align: center; min-width: 64px; min-height: 64px;">{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}|no image}}</div> | |||
<div style="flex: 1; align-content: center; width: 250px; padding: 0 0.75em; text-align: center;">{{{name|Item}}}</div></div></div> | |||
<noinclude> | |||
==DO NOT USE THIS TEMPLATE== | ==DO NOT USE THIS TEMPLATE== | ||
Use [[:Template:Item]] instead | Use [[:Template:Item]] instead | ||
{{ItemSimple}} | {{ItemSimple}} | ||
{{ItemSimple|name=Syndicate Suit}} | |||
{{ItemSimple | {{ItemSimple|name=SyndicateSuit}} | ||
|name=Syndicate Suit}} | {{ItemSimple|name=Syndicate Suit|image=SyndicateSuit.png}} | ||
{{ItemSimple | |||
|name=SyndicateSuit}} | |||
{{ItemSimple | |||
|name=Syndicate Suit | |||
|image=SyndicateSuit.png}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |