Difference between revisions of "Template:Set gallery"
(Added a control parameter to allow everything to go inside the same gallery.) |
(Convert to <table>.) |
||
Line 78: | Line 78: | ||
{{ #if: {{ #var: $CONTROL }} | {{ #if: {{ #var: $CONTROL }} | ||
| | | | ||
− | | | + | | <table class="card-galleries"> |
}}<!-- | }}<!-- | ||
-->{{ #if: {{{header|}}} | -->{{ #if: {{{header|}}} | ||
− | | | + | | <tr> |
− | + | <th>{{{header}}}</th> | |
− | + | </tr> | |
− | + | }} | |
− | + | <tr> | |
+ | <td> | ||
{{ #tag:gallery|<!-- | {{ #tag:gallery|<!-- | ||
-->{{ #arraydefine: @ROW | {{{1|}}} | /\n/ }}<!-- | -->{{ #arraydefine: @ROW | {{{1|}}} | /\n/ }}<!-- | ||
Line 119: | Line 120: | ||
}}<!--Close @ROW --> | }}<!--Close @ROW --> | ||
|widths=175px}} | |widths=175px}} | ||
− | + | </td> | |
+ | </tr> | ||
{{ #if: {{{next|}}} | {{ #if: {{{next|}}} | ||
| | | | ||
− | | | + | | </table> |
}}<!-- | }}<!-- | ||
-->{{ #vardefine: $CONTROL | 1 }}</includeonly> | -->{{ #vardefine: $CONTROL | 1 }}</includeonly> |