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

Материал из Rust Wikipedia
Уважаемые игроки, сейчас содержание проекта осуществляется на собственном энтузиазме и средствах небольшой группы альтруистов. Если Вам нравится проект и Вы заинтересованы в его развитии, то у Вас есть возможность помочь сделать наш портал еще качественнее и интереснее.
Подробнее →
м
 
(не показано 10 промежуточных версий этого же участника)
Строка 1: Строка 1:
<includeonly>
+
<includeonly><div class="tm_ItemCount_container"><div class="tm_ItemCount_block">[[File:{{{1}}}.png|40x40px|alt={{{1}}}|link=]]<span class="tm_ItemCount_link">[[File:Transparent item.png|40x40px|link={{{1}}}{{translation}}]]</span></div><div class="tm_ItemCount_text">x{{{3}}}</div></div></includeonly><noinclude>
<div style="display: inline-block;padding:1px;position: relative;">
 
<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="display: table; height: 50px; width: 50px; overflow: hidden; line-height: normal;z-index: 15;">
 
<div style="position: relative; bottom:2%; display: table-cell; vertical-align: bottom;">
 
<div style="position: relative; text-align: right; width: 98%; 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>
 
</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>
 
 
<br style="clear:both;"/>
 
<br style="clear:both;"/>
 +
{{ItemCount|Wood|Wood|300}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Текущая версия на 06:00, 4 декабря 2018