«قالب:Icon»: الفرق بين المراجعتين
[مراجعة منقحة] | [مراجعة منقحة] |
سطر ١: | سطر ١: | ||
− | <div style="display:inline-block; overflow:hidden; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px; position:relative; top:0px; left:0px;">[[ | + | <div style="display:inline-block; overflow:hidden; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px; position:relative; top:0px; left:0px;">[[File:Hintergrund.png]]{{#ifeq: {{{2|}}}|2|<br/>[[File:Hintergrund.png]]|{{#ifeq: {{{2|}}}|3|<br/>[[File:Hintergrund.png]]<br/>[[File:Hintergrund.png]]|}}}}<includeonly><div style="position:absolute; top:0px; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px;">[[File:{{{1}}}.png|32px{{#if: {{{link|}}} |{{!}}link={{{link}}}|}}]]</div></includeonly></div> |
<noinclude> | <noinclude> | ||
==Verwendung== | ==Verwendung== |
مراجعة ٠٣:٣٣، ٩ مايو ٢٠٢٠
Verwendung
{{قالب:Icon|غلايف|3|}}
wird zu
{{قالب:Icon|غلايف|3|2}}
Parameter
{{قالب:Icon|<Itemname>|<Höhe in Kästchen im Inventar, leer = 1>}}