Perbualan Templat:ImageStackRight

Dari Wikipedia bahasa Melayu




Jadual isi kandungan

[Sunting] Image Stacking Template

This template can be used to stack images on the right side of the article text and keep them in line.

[Sunting] Parameters

{{{1}}} is the width of the box in pixels. Use the number only (e.g. 250) and do not put “px” after the number. Make the box about 20 px wider than the widest picture in the stack. Thumbs without an image width specification are by default 180px wide, so the surrounding box should be 200px wide.

{{{2}}} is simply the list of images, in normal Wikipedia format.

Note: Changing the size of the box will not resize the images. The box must be wide enough to accommodate the images.

[Sunting] Example

Here is a boring caption
Here is a boring caption
Here is a boring caption
Here is a boring caption

{{ImageStackRight|170|[[Image:Wikipedesketch1.png|frame|right|Here is a boring caption]][[Image:Wikipedesketch1.png|frame|right|Here is a boring caption]]}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis tellus. Donec ante dolor, iaculis nec, gravida ac, cursus in, eros. Mauris vestibulum, felis et egestas ullamcorper, purus nibh vehicula sem, eu egestas ante nisl non justo. Fusce tincidunt, lorem nec dapibus consectetuer, leo orci mollis ipsum, eget suscipit eros purus in ante. Mauris at ipsum vitae est lacinia tincidunt. Maecenas elit orci, gravida ut, molestie non, venenatis vel, lorem. Sed lacinia. Suspendisse potenti. Sed ultricies cursus lectus. In id magna sit amet nibh suscipit euismod. Integer enim. Donec sapien ante, accumsan ut, sodales commodo, auctor quis, lacus. Maecenas a elit lacinia urna posuere sodales. Curabitur pede pede, molestie id, blandit vitae, varius ac, purus.

Morbi dictum. Vestibulum adipiscing pulvinar quam. In aliquam rhoncus sem. In mi erat, sodales eget, pretium interdum, malesuada ac, augue. Aliquam sollicitudin, massa ut vestibulum posuere, massa arcu elementum purus, eget vehicula lorem metus vel libero. Sed in dui id lectus commodo elementum. Etiam rhoncus tortor. Proin a lorem. Ut nec velit. Quisque varius. Proin nonummy justo dictum sapien tincidunt iaculis. Duis lobortis pellentesque risus. Aenean ut tortor imperdiet dolor scelerisque bibendum. Fusce metus nibh, adipiscing id, ullamcorper at, consequat a, nulla.

[Sunting] Template misuse

This template should really only be used in cases where there is a series of images that logically should be placed in a column. It is not for putting any and all images in an article in a column. I think that this template is being misused more than it is used properly, so I'll nominate it for deletion once I've cleaned up the articles that use it. (It's not that hard just to manually code a table when this template would actually be needed). ~MDD4696 03:10, 6 March 2006 (UTC)