Vorlage:SiegelHäufigkeit: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
Zeile 4: Zeile 4:
 
<tr><th>Abb.</th><th>Siegel</th><th>Anzahl</th><th>Chance</th></tr>
 
<tr><th>Abb.</th><th>Siegel</th><th>Anzahl</th><th>Chance</th></tr>
 
<tr><td></td><td>Keine Siegel</td><td>0</td><td>{{#if:{{{KeineSiegel|}}}|100%|{{#if:{{{Besiegt|}}}|{{#if:{{{Ur|}}}|{{#expr: ( {{{Besiegt|}}} - {{{Ur|}}} / {{{Anzahl|}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|{{#expr: ( {{{Besiegt|}}} - ( {{{Guelden}}} / {{{Anzahl|1}}} ) - ( {{{Gruen}}} / {{{Anzahl|1}}} ) - ( {{{Rot}}} / {{{Anzahl|1}}} ) - ( {{{Blau}}} / {{{Anzahl|1}}} ) ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}}}}}</td>
 
<tr><td></td><td>Keine Siegel</td><td>0</td><td>{{#if:{{{KeineSiegel|}}}|100%|{{#if:{{{Besiegt|}}}|{{#if:{{{Ur|}}}|{{#expr: ( {{{Besiegt|}}} - {{{Ur|}}} / {{{Anzahl|}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|{{#expr: ( {{{Besiegt|}}} - ( {{{Guelden}}} / {{{Anzahl|1}}} ) - ( {{{Gruen}}} / {{{Anzahl|1}}} ) - ( {{{Rot}}} / {{{Anzahl|1}}} ) - ( {{{Blau}}} / {{{Anzahl|1}}} ) ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}}}}}</td>
 +
{{#if:{{{Ur|}}}|<tr><td>[[File:Ursiegel.png]]</td><td>Ursiegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Ur|}}}|{{#expr: ( {{{Ur}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}|
 
<tr><td>[[File:Güldenes Siegel.png]]</td><td>Güldenes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}<td>{{#if:{{{Guelden|}}}|{{#expr: ( {{{Guelden}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Güldenes Siegel.png]]</td><td>Güldenes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}<td>{{#if:{{{Guelden|}}}|{{#expr: ( {{{Guelden}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Grünes Siegel.png]]</td><td>Grünes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Gruen|}}}|{{#expr: ( {{{Gruen}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Grünes Siegel.png]]</td><td>Grünes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Gruen|}}}|{{#expr: ( {{{Gruen}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Weinrotes Siegel.png]]</td><td>Weinrotes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}<td>{{#if:{{{Rot|}}}|{{#expr: ( {{{Rot}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Weinrotes Siegel.png]]</td><td>Weinrotes Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}<td>{{#if:{{{Rot|}}}|{{#expr: ( {{{Rot}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Blaues Siegel.png]]</td><td>Blaues Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Blau|}}}|{{#expr: ( {{{Blau}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
 
<tr><td>[[File:Blaues Siegel.png]]</td><td>Blaues Siegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Blau|}}}|{{#expr: ( {{{Blau}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}</td>
<tr><td>[[File:Ursiegel.png]]</td><td>Ursiegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Ur|}}}|{{#expr: ( {{{Ur}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}
+
<tr><td>[[File:Ursiegel.png]]</td><td>Ursiegel</td><td>{{#if:{{{KeineSiegel|}}}|0|{{{Anzahl|1}}}}}</td><td>{{#if:{{{Ur|}}}|{{#expr: ( {{{Ur}}} / {{{Anzahl|1}}} ) / {{{Besiegt|1}}} * 100 round 2}}%|-}}}}
 
</table>
 
</table>
 
</includeonly>
 
</includeonly>

Version vom 24. Juni 2014, 22:10 Uhr