Template:Stack
![]() | This template uses TemplateStyles: |
This template can be used to stack images and other floating content such as infobox templates without causing problems with spacing and floating.
Usage
{{Stack
|1 =
|2 =
|3 =
|4 =
|5 =
|6 =
|7 =
|8 =
|9 =
}}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
This template can be used to stack images and other floating content such as infobox templates without causing problems with spacing and floating.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Object Group 1 | 1 | The first object group. | Content | suggested |
Object Group 2 | 2 | The second object group. | Content | optional |
Object Group 3 | 3 | The third object group. | Content | optional |
Object Group 4 | 4 | The fourth object group. | Content | optional |
Object Group 5 | 5 | The fifth object group. | Content | optional |
Object Group 6 | 6 | The sixth object group. | Content | optional |
Object Group 7 | 7 | The seventh object group. | Content | optional |
Object Group 8 | 8 | The eighth object group. | Content | optional |
Object Group 9 | 9 | The ninth object group. | Content | optional |
Vertical Gap | cellspacing | The vertical gap between stack objects. | Number | optional |
CSS Clear Value | clear | The value of the CSS `clear` property, or `true` to match the value of the `float` parameter
| String | optional |
CSS Float Value | float | The value of the CSS `float` property
| String | optional |
CSS Style | style | Additional CSS properties to add to the `style` attribute | String | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Localization
This template is not intended to be localized.