Cithakan:Stack/doc
Praèn
Artikel iki durung utawa lagi dipertal sapérangan saka Wikipédia Inggris. Sampéyan kena mbiyantu Wikipédia nglanjutaké mertal. Tiliki paugeran panjarwa kanggo artikel Wikipédia. |
This is a documentation subpage for Cithakan:Stack. It contains usage information, categories and other content that is not part of the original cithakan page. |
This template can be used to stack images and other floating content such as infobox templates without causing problems with spacing and floating. Enter a string of images/templates as the first parameter to have them stack without generating floating errors or spacing errors. You can stack many objects from the top of a section and not force further subsections to space out.
Usage
[besut sumber]{{stack|<objects>}}
<objects>
is simply a string of wiki code for many images / templates.
Optional parameters
[besut sumber]{{stack|<objects>|float=left/'''right'''|clear=true/'''false'''}}
float=
left or right (default is right)- This option can be used to float the stack the left or right of the page
clear=
true or false (default is false)- This option can be used to force the stack to the far left or right (e.g., near an infobox).
Examples
[besut sumber]Lipsum
[besut sumber]{{stack| [[Image:Example.png|thumb|Example]] [[Image:Example.png|thumb|Example2]] [[Image:Example.png|thumb|Example3]] }}
The above code is placed directly under the main heading ("Example").
Lorem
[besut sumber]Ipsum
[besut sumber]See also
[besut sumber]- {{FixBunching}}
- {{Superimpose}}—places one image over another
- {{Superimpose2}}—places up to 50 image layers over one another