Difference between revisions of "Template:Set gallery"
(Trying to make this able to be transcluded several times, to suit for cases like DL17, for instance.) |
(Added a control parameter to allow everything to go inside the same gallery.) |
||
Line 74: | Line 74: | ||
-->[[Category:{{ #var: $region-full }} {{ NAMESPACE }}]]<!-- | -->[[Category:{{ #var: $region-full }} {{ NAMESPACE }}]]<!-- | ||
-->{{ #if: {{ #var: $edition-full }} | [[Category:{{ #var: $edition-full }} {{NAMESPACE}}]]}} | -->{{ #if: {{ #var: $edition-full }} | [[Category:{{ #var: $edition-full }} {{NAMESPACE}}]]}} | ||
− | |||
}}<!--Close CONTROL flag check.--> | }}<!--Close CONTROL flag check.--> | ||
− | {| class="card-galleries" | + | {{ #if: {{ #var: $CONTROL }} |
− | {{ #if: {{{header|}}} | + | | |
+ | | {{(}}{{!}} class="card-galleries" | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{{header|}}} | ||
| {{!}}- | | {{!}}- | ||
! {{{header}}} | ! {{{header}}} | ||
Line 118: | Line 120: | ||
|widths=175px}} | |widths=175px}} | ||
|- | |- | ||
− | |}</includeonly> | + | {{ #if: {{{next|}}} |
+ | | | ||
+ | | {{!}}{{)}} | ||
+ | }}<!-- | ||
+ | -->{{ #vardefine: $CONTROL | 1 }}</includeonly> |