Vorlage:Icon: Unterschied zwischen den Versionen
[gesichtete Version] | [gesichtete Version] |
Vaetir (Diskussion | Beiträge) K |
|||
Zeile 1: | Zeile 1: | ||
− | <div style="display:inline-block; overflow:hidden; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px; position:relative; top:0px; left:0px;">[[Datei:Hintergrund.png]]{{#ifeq: {{{2|}}}|2|<br/>[[Datei:Hintergrund.png]]|{{#ifeq: {{{2|}}}|3|<br/>[[Datei:Hintergrund.png]]<br/>[[Datei:Hintergrund.png]]|}}}}<includeonly><div style="position:absolute; top:0px; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px;">[[Datei:{{{1}}}.png|32px{{#if: {{{link|}}} |{{!}}link={{{link}}}|}}]]</div></includeonly></div> | + | <div style="display:inline-block; overflow:hidden; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px; position:relative; top:0px; left:0px;">[[Datei:Hintergrund.png]]{{#ifeq: {{{2|}}}|2|<br/>[[Datei:Hintergrund.png]]|{{#ifeq: {{{2|}}}|3|<br/>[[Datei:Hintergrund.png]]<br/>[[Datei:Hintergrund.png]]|}}}}<includeonly><div style="position:absolute; top:0px; width:32px; height:{{#if: {{{2|}}}|{{#expr:{{{2}}}*32}}|32}}px;">[[Datei:{{{1}}}.png|32px{{#if: {{{link|}}} |{{!}}link={{{link}}}|}}]]{{#ifeq: {{{Handelbar|}}}|Ja|<div style="position:absolute; top:0px;">[[Datei:Trade.png{{#if: {{{link|}}} |{{!}}link={{{link}}}|{{!}}link=Datei:{{{1}}}.png}}]]</div>}}</div></includeonly></div><noinclude> |
− | <noinclude> | ||
==Verwendung== | ==Verwendung== | ||
<code><nowiki>{{Vorlage:Icon|Glefe|3|}}</nowiki></code> wird zu <br> | <code><nowiki>{{Vorlage:Icon|Glefe|3|}}</nowiki></code> wird zu <br> |
Version vom 10. März 2015, 18:01 Uhr
Verwendung
{{Vorlage:Icon|Glefe|3|}}
wird zu
{{Vorlage:Icon|Glefe|3|2}}
Parameter
{{Vorlage:Icon|<Itemname>|<Höhe in Kästchen im Inventar, leer = 1>}}