Changes

Editing help

686 bytes added, 18:05, 3 August 2010
Wide images
:<nowiki>{{</nowiki>Wide image|''name''|''image width''|''caption''|''box width''|''alignment''<nowiki>}}</nowiki>
<b>Examples:</b> The following example code includes a 1,500 pixels wide image of the [[Augustiner-Keller]] entrance sign. It generates scrollbars below example is done by the following code:image on browser windows that are otherwise not wide enough to display the image width completely without sideways scrolling of the actual browser window. In other words, it prevents the image from stretching beyond the browsers natural width that would otherwise cause text paragraphs on an entire page require sideways scrolling and make the page layout less ideal to use with on narrow screens, such as hand-held phone-like browsers and netbooks.
<pre><nowiki>{{wide image|Augustiner-Keller 036.jpg|1500px|Augustiner-Keller}}</nowiki></pre>
{{wide image|Augustiner-Keller 036.jpg|1500px|Augustiner-Keller}}
To display the same {{wide image but without a caption, simply omit |Schlosswirtschaft Mariabrunn 050.jpg|1500px|View of Munich city from [[Schlosswirtschaft Mariabrunn|Mariabrunn]] with the caption:alps behind.|45%|left}}
To right'''Defining a size of scroll-align the image while taking up 45% of the paragraph widthbox:'''
<pre><nowiki>{{wide image|AugustinerHere is a left-Keller 036.jpg|1500px|Augustineraligned scroll-Keller|box taking up 45%|right}}</nowiki></pre>of the paragraph width:
<nowiki>{{wide image|Augustiner-Keller 036Schlosswirtschaft Mariabrunn 050.jpg|1500px|Augustiner-KellerView of Munich city from [[Schlosswirtschaft Mariabrunn|Mariabrunn]] with the alps behind.|45%|rightleft}}</nowiki>
<br clear="all">The width of the scroll-box can also be defined in exact pixels rather than a percentage of paragraph or default maximum width of the browser window.
Or define an exact width for the scrollboxThe ''alignment'' valie can be '''left''', eg'''right''', '''center''', or '''none'''. 250 pixels:
<pre><nowiki>{{wide image|Augustiner-Keller 036.jpg|1500px|Augustiner-Keller|250px|right}}</nowiki></pre>
{{wide To display an image|Augustiner-Keller 036without a caption, simply omit the caption.jpg|1500px|Augustiner-Keller|250px|right}}
<br clear="all">