Vorlage:Positionskarte/Rahmen: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) K |
✓ (Diskussion) (Fehlermeldung für nicht-Zahl-width) |
||
Zeile 21: | Zeile 21: | ||
| "><div class="thumbinner" style="width:{{#ifeq: {{{border|}}} | none | | "><div class="thumbinner" style="width:{{#ifeq: {{{border|}}} | none | ||
| {{{width|240}}}px; border:none; | | {{{width|240}}}px; border:none; | ||
− | | {{#expr:{{{width|240}}}+2}}px; {{#if: {{{border|}}} | + | | {{#iferror: {{#expr:{{{width|240}}}+2}}px |
+ | | {{{width}}} | ||
+ | }}; {{#if: {{{border|}}} | ||
| border:1px solid {{{border}}}; | | border:1px solid {{{border}}}; | ||
}} | }} | ||
Zeile 125: | Zeile 127: | ||
| | | | ||
| </td></tr></table> | | </td></tr></table> | ||
+ | }}{{#if: {{{width|x}}} | ||
+ | | {{#iferror: {{#expr:{{{width|240}}}+2}}px | ||
+ | | <span style="display:none;">[[Vorlage:Positionskarte/Wartung/width|w]]</span> | ||
+ | | | ||
+ | }} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{Dokumentation}} | {{Dokumentation}} |