Шаблон:ItemCount — различия между версиями
Материал из Rust Wikipedia
Уважаемые игроки, сейчас содержание проекта осуществляется на собственном энтузиазме и средствах небольшой группы альтруистов. Если Вам нравится проект и Вы заинтересованы в его развитии, то у Вас есть возможность помочь сделать наш портал еще качественнее и интереснее.
Подробнее →
|
|
| Строка 1: |
Строка 1: |
| − | <includeonly> | + | <includeonly><div class="tm_ItemCount_container"><div class="tm_ItemCount_block">[[File:{{{1}}}.png|40x40px|link=Special:MyLanguage/{{{1}}}]]div><div class="tm_ItemCount_text">x{{{3}}}</div></div></includeonly><noinclude> |
| − | <div class="tm_ItemCount_container" style="display: inline-block;position: relative;height: 40px;width: 40px;vertical-align: middle;"> | |
| − | <div class="tm_ItemCount_block" style="position: absolute;width:40px; height:40px; top:0; left: 0;z-index: 5;">
| |
| − | [[File:{{{1}}}.png|40x40px|link={{{2}}}]]
| |
| − | <span style="position:absolute; width:40px; height:40px; top:0; left: 0; z-index: 10;">
| |
| − | [[File:Transparent item.png|40x40px|link={{{2}}}]]
| |
| − | </span>
| |
| − | </div>
| |
| − | <div class="tm_ItemCount_text" style="z-index: 9;position: absolute;bottom: 0;right: 0;text-align: right; font-size: 11px; font-weight: bold; font-family: Tahoma, Geneva, sans-serif; color: white; text-shadow: -1px 0 0.2em black, 0 1px 0.2em black, 1px 0 0.2em black, 0 -1px 0.2em black;">x{{{3}}}</div>
| |
| − | </div>
| |
| − | <!-- For IE, theoretically, but I cant make it work: filter: progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1);-ms-filter: "progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1)"; -->
| |
| − | </includeonly><noinclude>
| |
| | <br style="clear:both;"/> | | <br style="clear:both;"/> |
| | {{documentation}} | | {{documentation}} |
| | </noinclude> | | </noinclude> |
Версия 13:42, 3 ноября 2015