Template:TableWrap: Difference between revisions
Jump to navigation
Jump to search
(Use HTML markup instead of wiki markup) |
(Add some additional named parameters) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="wikitable"> | <table class="wikitable {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}> | ||
{{IfNotEmpty|{{{1|}}}|{{/SingleCell|cell=1|width={{{width}}}|{{{1|}}}}} | {{#if:{{{header|}}}|<th colspan="{{{width}}}">{{{header}}}</th> | ||
}}{{IfNotEmpty|{{{1|}}}|{{/SingleCell|cell=1|width={{{width}}}|{{{1|}}}}} | |||
}}{{IfNotEmpty|{{{2|}}}|{{/SingleCell|cell=2|width={{{width}}}|{{{2|}}}}} | }}{{IfNotEmpty|{{{2|}}}|{{/SingleCell|cell=2|width={{{width}}}|{{{2|}}}}} | ||
}}{{IfNotEmpty|{{{3|}}}|{{/SingleCell|cell=3|width={{{width}}}|{{{3|}}}}} | }}{{IfNotEmpty|{{{3|}}}|{{/SingleCell|cell=3|width={{{width}}}|{{{3|}}}}} | ||
Line 104: | Line 105: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{TableWrap|width=5 | {{TableWrap|width=5|header=Header | ||
|<table>test1</table> | |<table>test1</table> | ||
|<table>test2</table> | |<table>test2</table> |
Revision as of 04:41, 16 February 2023
Header | ||||
---|---|---|---|---|
test1
| test2
| test3
| test4
| test5
|
test6
|