Template:Widepic: Difference between revisions
Shakey snake (talk | contribs) No edit summary |
Shakey snake (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
:<code><nowiki>{{</nowiki>Widepic|'' | :<code><nowiki>{{</nowiki>Widepic|''img url''|''image width''|''caption''|''box width''|alt=''alt text''<nowiki>}}</nowiki></code> | ||
A <code>''caption''</code> option is optional. If the caption contains an equal sign, use the parameter <code>|3=''caption''</code> in the place of <code>|''caption''</code>. | A <code>''caption''</code> option is optional. If the caption contains an equal sign, use the parameter <code>|3=''caption''</code> in the place of <code>|''caption''</code>. | ||
Line 9: | Line 9: | ||
The <code>''box width''</code> option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount. | The <code>''box width''</code> option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount. | ||
The <code>''alt text''</code> describes the image's visual appearance to visually disabled readers | The <code>''alt text''</code> describes the image's visual appearance to visually disabled readers. | ||
</noinclude> | </noinclude> |
Revision as of 23:27, 17 April 2010
Usage
{{Widepic|img url|image width|caption|box width|alt=alt text}}
A caption
option is optional. If the caption contains an equal sign, use the parameter |3=caption
in the place of |caption
.
The box width
option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount.
The alt text
describes the image's visual appearance to visually disabled readers.