Changes

Jump to: navigation, search

Editing help

55 bytes removed, 23:54, 3 August 2010
Wide images
:<nowiki>{{</nowiki>Wide image|''name''|''image width''|''caption''|''box width''|''alignment''<nowiki>}}</nowiki>
The following example code includes a 1,500 pixels wide image of the [[Augustiner-Keller]] entrance sign. The code generates a scrollbar below the image on browser and systems that are otherwise not wide enough to display the full width of the image without sideways scrolling of the entire browser window:
:<nowiki>{{wide image|Augustiner-Keller 036.jpg|1500px|Augustiner-Keller}}</nowiki>
{{wide image|Augustiner-Keller 036.jpg|1500px|Augustiner-Keller}}
Using the The wide image method is recommened when displaying images wider than 600 pixels, since it prevents them images from stretching beyond various browser viewports that otherwise cause result in subsequent text-paragraphs to require requiring sideways scrolling, such as on iPhones and other narrow screen devices, such as small netbooks etc.
{{wide image|Schlosswirtschaft Mariabrunn 049.jpg|1500px|View of Munich city from [[Schlosswirtschaft Mariabrunn|Mariabrunn]] with the alps behind.|45%|left}}
</nowiki>
The width of the scrollable box can also be defined in exact pixels pixel width rather than by a percentage of the paragraphwidth. Alternatively, if the alignment value is ommited altogether, the image box will extend to the maximum available paragraph width of the browser's window size (as in the previous example of the Augustiner entrance sign imageexample).
The ''alignment'' value can be '''left''', '''right''', '''center''', or '''none''' (same as if omitted altogether).
 
<!--To display an image without a caption, simply omit the caption.-->
<br clear="all">

Navigation menu