9,937
edits
Changes
→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}}
{{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).
<br clear="all">