Шаблон:ItemCount — различия между версиями

Материал из Rust Wikipedia
Уважаемые игроки, сейчас содержание проекта осуществляется на собственном энтузиазме и средствах небольшой группы альтруистов. Если Вам нравится проект и Вы заинтересованы в его развитии, то у Вас есть возможность помочь сделать наш портал еще качественнее и интереснее.
Подробнее →
Строка 1: Строка 1:
 
<includeonly>
 
<includeonly>
<div style="display: inline-block;position: relative;height: 50px;width: 50px;"><div style="position: absolute;width:50px; height:50px; top:0; left: 0;z-index: 5;">[[File:{{{1}}}.png|50x50px|link={{{2}}}]]<span style="position:absolute; width:50px; height:50px; top:0; left: 0; z-index: 10;">[[File:Transparent item.png|50x50px|link={{{2}}}]]</span></div><div 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 can't make it work: filter: progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1);-ms-filter: "progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1)"; --></includeonly>
+
<div style="display: inline-block;position: relative;height: 35px;width: 35px;"><div style="position: absolute;width:35px; height:35px; top:0; left: 0;z-index: 5;">[[File:{{{1}}}.png|35x35px|link={{{2}}}]]<span style="position:absolute; width:35px; height:35px; top:0; left: 0; z-index: 10;">[[File:Transparent item.png|35x35px|link={{{2}}}]]</span></div><div 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 can't make it work: filter: progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1);-ms-filter: "progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1)"; --></includeonly>
 
<noinclude>
 
<noinclude>
 
<br style="clear:both;"/>
 
<br style="clear:both;"/>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Версия 17:06, 16 июля 2015