Template:Image

Revision as of 15:11, 19 February 2024 by Matt Pijoan (talk | contribs) (Created page with "<templatestyles src="Image/styles.css"/><div class="t-image {{#ifeq:{{{padding|}}}|no||t-image-padding}}" {{#if:{{{width|}}}|style="max-width:{{{width}}}%"}}> [[File:{{{file|File:MattP(1).png}}}|{{{imagewidth|400}}}px|{{#ifeq:{{{border|}}}|yes|border{{!}}}}alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]{{#if: {{{caption|}}}| <p class="t-image-caption"> {{{caption}}} </p>}} </div><noinclude> {{documentation|content= {{Uses TemplateStyles|Template:Image/styles.cs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Page Template:Image/styles.css has no content.

Template:Uses TemplateStyles This template is used to provide images with captions as an alternative to the ugly image captions that come with MediaWiki.

Syntax:

  • file= Sets which file to use. Default value is 1AKC Samoyed Dog Show 2011.jpg.
  • width= The maximum width of the image. Note that the image gets smaller so that it is never more than a certain percentage of the browser window. Defaults to 400px.
  • percentage= Never used The percent width of the browser window the image takes up. The width proportionality is maintained until the image is at the maximum size; it does not get better. Defaults to 50%.
  • caption= Places a caption beneath the image, and also serves as the alt text. Optional.
  • padding= Gives the option to turn off padding, in case the image is part of a floating div already. Default is to include padding; turn off by setting parameter to "no".
  • link= Allows the image to link to a different page. Default is to link to the image description page. Set link= to nothing and the image will not be clickable