Vorlage:Inventar: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
K
Zeile 19: Zeile 19:
 
{{Inventar
 
{{Inventar
 
|[[Datei:Infernodechsel.png]]
 
|[[Datei:Infernodechsel.png]]
 +
|T1=2
 
|
 
|
 
|[[Datei:Zerfleischung-Rolle.png]]
 
|[[Datei:Zerfleischung-Rolle.png]]
Zeile 36: Zeile 37:
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{1|}}}  
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T1|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T1|}}}</div></div>|}}{{{1|}}}  
| align="center" height="42" width="42" valign="middle" | {{{2|}}}  
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T2|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T2|}}}</div></div>|}}{{{2|}}}  
| align="center" height="42" width="42" valign="middle" | {{{3|}}}  
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T3|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T3|}}}</div></div>|}}{{{3|}}}  
| align="center" height="42" width="42" valign="middle" | {{{4|}}}  
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T4|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T4|}}}</div></div>|}}{{{4|}}}  
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{5|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T5|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T5|}}}</div></div>|}}{{{5|}}}
| align="center" height="42" width="42" valign="middle" | {{{6|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T6|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T6|}}}</div></div>|}}{{{6|}}}
| align="center" height="42" width="42" valign="middle" | {{{7|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T7|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T7|}}}</div></div>|}}{{{7|}}}
| align="center" height="42" width="42" valign="middle" | {{{8|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T8|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T8|}}}</div></div>|}}{{{8|}}}
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{9|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T9|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T9|}}}</div></div>|}}{{{9|}}}
| align="center" height="42" width="42" valign="middle" | {{{10|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T10|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T10|}}}</div></div>|}}{{{10|}}}
| align="center" height="42" width="42" valign="middle" | {{{11|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T11|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T11|}}}</div></div>|}}{{{11|}}}
| align="center" height="42" width="42" valign="middle" | {{{12|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T12|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T12|}}}</div></div>|}}{{{12|}}}
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{13|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T13|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T13|}}}</div></div>|}}{{{13|}}}
| align="center" height="42" width="42" valign="middle" | {{{14|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T14|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T14|}}}</div></div>|}}{{{14|}}}
| align="center" height="42" width="42" valign="middle" | {{{15|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T15|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T15|}}}</div></div>|}}{{{15|}}}
| align="center" height="42" width="42" valign="middle" | {{{16|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T16|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T16|}}}</div></div>|}}{{{16|}}}
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{17|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T17|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T17|}}}</div></div>|}}{{{17|}}}
| align="center" height="42" width="42" valign="middle" | {{{18|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T18|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T18|}}}</div></div>|}}{{{18|}}}
| align="center" height="42" width="42" valign="middle" | {{{19|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T19|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T19|}}}</div></div>|}}{{{19|}}}
| align="center" height="42" width="42" valign="middle" | {{{20|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T20|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T20|}}}</div></div>|}}{{{20|}}}
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{21|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T21|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T21|}}}</div></div>|}}{{{21|}}}
| align="center" height="42" width="42" valign="middle" | {{{22|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T22|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T22|}}}</div></div>|}}{{{22|}}}
| align="center" height="42" width="42" valign="middle" | {{{23|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T23|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T23|}}}</div></div>|}}{{{23|}}}
| align="center" height="42" width="42" valign="middle" | {{{24|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T24|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T24|}}}</div></div>|}}{{{24|}}}
 
|  
 
|  
 
|-
 
|-
 
|  
 
|  
| align="center" height="42" width="42" valign="middle" | {{{25|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T25|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T25|}}}</div></div>|}}{{{25|}}}
| align="center" height="42" width="42" valign="middle" | {{{26|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T26|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T26|}}}</div></div>|}}{{{26|}}}
| align="center" height="42" width="42" valign="middle" | {{{27|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T27|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T27|}}}</div></div>|}}{{{27|}}}
| align="center" height="42" width="42" valign="middle" | {{{28|}}}
+
| align="center" height="42" width="42" valign="middle" | {{#if:{{{T28|}}}|<div class="Inventar-positioner"><div class="Inventar-text">{{{T28|}}}</div></div>|}}{{{28|}}}
 
|  
 
|  
 
|-
 
|-

Version vom 9. Dezember 2010, 17:43 Uhr

Diese Vorlage erstellt eine Tabelle (sieht aus wie ein Bild) mit welcher ein komplettes Inventar abgebildet werden kann. Hierzu muß nur die Vorlage auf der Seite einfügt werden und für jedes Inventarfeld das entsprechende Bild.

!! Achtung: Ein Bild eines Inventargegenstands darf maximal 42 Pixel breit und 42 Pixel hoch sein !!

Beispiel:

{{Inventar
|[[Datei:Inventarplatz 1]]
|
|[[Datei:Inventarplatz 3]]
|[[Datei:Inventarplatz 4]]
|[[Datei:Inventarplatz 5]]
|8=[[Datei:Inventarplatz 8]]
}}

Ergebnis:

2
Inferno-Dechsel.png
Zerfleischung-Rolle Spinnenbrut-Rolle
Seelen-Kobra-Beutel.png Süße-Versuchung.png