Vorlage:Infobox Ersatzteil: Unterschied zwischen den Versionen
Zeile 27: | Zeile 27: | ||
|\ | |\ | ||
|{{#ifeq:{{#var:p}}|1||{{!-}}}} | |{{#ifeq:{{#var:p}}|1||{{!-}}}} | ||
− | {{!}} {{Infobox-Column1}} {{!}} {{#sub:{{{{{#var:p}}|}}}|1}} | + | {{!}} {{Infobox-Column1}} {{!}} {{#tag:nowiki|{{#sub:{{{{{#var:p}}|}}}|1}}}} |
|{{#ifeq:{{#sub:{{{{{#var:p}}|}}}|0|1}} | |{{#ifeq:{{#sub:{{{{{#var:p}}|}}}|0|1}} | ||
|/ | |/ | ||
|{{#if:{{#explode:{{{{{#var:p}}|}}}|/|1}} | |{{#if:{{#explode:{{{{{#var:p}}|}}}|/|1}} | ||
− | |{{!}} colspan="{{#explode:{{{{{#var:p}}|}}}|/|1}}" {{Infobox-Column2b}} {{!}} {{#sub:{{{{{#var:p}}|}}} | + | |{{!}} colspan="{{#explode:{{{{{#var:p}}|}}}|/|1}}" {{Infobox-Column2b}} {{!}} {{#tag:nowiki|{{#sub:{{{{{#var:p}}|}}} |
|{{#expr:{{#pos:{{{{{#var:p}}|}}}|/|1}}+1}} | |{{#expr:{{#pos:{{{{{#var:p}}|}}}|/|1}}+1}} | ||
− | }} | + | }}}} |
− | |{{!}} colspan="{{#expr:{{#var:s}}-1}}" {{Infobox-Column2b}} {{!}} {{#sub:{{{{{#var:p}}|}}} | + | |{{!}} colspan="{{#expr:{{#var:s}}-1}}" {{Infobox-Column2b}} {{!}} {{#tag:nowiki|{{#sub:{{{{{#var:p}}|}}} |
|{{#expr:{{#pos:{{{{{#var:p}}|}}}|/|1}}+1}} | |{{#expr:{{#pos:{{{{{#var:p}}|}}}|/|1}}+1}} | ||
− | }} | + | }}}} |
}} | }} | ||
− | |{{!}} {{Infobox-Column2b}} {{!}} {{{{{#var:p}}|}}} | + | |{{!}} {{Infobox-Column2b}} {{!}} {{#tag:nowiki|{{{{{#var:p}}|}}}}} |
}} | }} | ||
}}{{#vardefine:p|{{#expr:{{#var:p}}+1}}}} | }}{{#vardefine:p|{{#expr:{{#var:p}}+1}}}} |
Version vom 14. Mai 2010, 16:44 Uhr
Dies ist die Dokumentation der Unterseite Vorlage:Infobox Ersatzteil/Doku |
- Die Beschreibung zu dieser Vorlage findest du auf der Hilfeseite zur Infobox „Ersatzteil“.