Vorlage:Tabelle: Unterschied zwischen den Versionen
[gesichtete Version] | [gesichtete Version] |
(Die Seite wurde neu angelegt: „<includeonly> {| {{Prettytable| {{#if: {{{width|}}} | width:{{{width}}}}}}} |- {{Hl3}} align="center" {{#forargs: Head | key | value | {{#ifexpr: {{#var: key}}…“) |
|||
Zeile 1: | Zeile 1: | ||
− | <includeonly> | + | <includeonly>{{#vardefine: i | 1}} |
{| {{Prettytable| {{#if: {{{width|}}} | width:{{{width}}}}}}} | {| {{Prettytable| {{#if: {{{width|}}} | width:{{{width}}}}}}} | ||
|- {{Hl3}} align="center" | |- {{Hl3}} align="center" | ||
− | {{# | + | {{#while: |
− | {{# | + | | {{#if: {{{ {{#var: i}}| }}} | true }} |
+ | | test | ||
+ | {{{ {{#var: i}} }}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | ||
+ | }} | ||
|} | |} | ||
− | </includeonly> | + | </includeonly><noinclude> |
− | <noinclude> | ||
{{Tabelle | {{Tabelle | ||
|width=50% | |width=50% | ||
− | | | + | |{{Tabelle/Row|Head=True|Test1|Test2|Test3}} |
− | + | |{{Tabelle/Row|Center=True|Wert1|Wert2|Wert3}} | |
− | |||
− | |||
− | | | ||
}} | }} | ||
− | |||
</noinclude> | </noinclude> | ||
+ | <!-- | ||
+ | {{#forargs: Head | key | value | {{#ifexpr: {{#var: key}} > 1 | ! }}!{{#var: value }} }} | ||
+ | {{#forargs: Zeile | key | value | {{#ifexpr: {{#var: key}} > 1 | {{!}} }}{{#var: value }} }} --> |
Version vom 17. Februar 2023, 09:55 Uhr