Help:Images
From Crankshaft Coalition Wiki
(→Syntax) |
m (Add category) |
||
Line 70: | Line 70: | ||
results in (the text is underlined to show the result more clearly) | results in (the text is underlined to show the result more clearly) | ||
− | <u>text text [[ | + | <u>text text [[Image:Example.jpg|20px]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|baseline]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|sub]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|super]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|text-top]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|middle]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|bottom]] |
− | text text [[ | + | text text [[Image:Example.jpg|20px|text-bottom]]</u> |
== Size and frame == | == Size and frame == | ||
Line 136: | Line 136: | ||
{images} | {images} | ||
</gallery></pre> | </gallery></pre> | ||
− | * <code>caption={caption}</code>: sets a caption | + | * <code>caption="{caption}"</code>: (caption text in parentheses) sets a caption centered atop the gallery. |
* <code>widths={width}px</code>: sets the widths of the images. | * <code>widths={width}px</code>: sets the widths of the images. | ||
* <code>heights={heights}px</code>: sets the (max) heights of the images. | * <code>heights={heights}px</code>: sets the (max) heights of the images. | ||
* <code>perrow={integer}</code>: sets the number of images per row. | * <code>perrow={integer}</code>: sets the number of images per row. | ||
+ | |||
+ | '''EXAMPLE:''' | ||
+ | |||
+ | <nowiki><gallery widths=200px caption="Tools/Supplies"></nowiki> | ||
+ | |||
+ | <nowiki>File:SOLDERING EQUIPMENT 001.jpg|Selection of soldering equipment</nowiki> | ||
+ | |||
+ | <nowiki>File:Rosin flux 002.jpg|Rosin flux suitable for electrical work</nowiki> | ||
+ | |||
+ | <nowiki>File:TERMINAL AND WIRE STRIPPER TOOLS 002.jpg|Wire cutters, crimpers, strippers</nowiki> | ||
+ | |||
+ | <nowiki></gallery></nowiki> | ||
+ | |||
+ | '''will be displayed as:''' | ||
+ | <gallery widths=200px caption="Tools/Supplies"> | ||
+ | File:SOLDERING EQUIPMENT 001.jpg|Selection of soldering equipment | ||
+ | File:Rosin flux 002.jpg|Rosin flux suitable for electrical work | ||
+ | File:TERMINAL AND WIRE STRIPPER TOOLS 002.jpg|Wire cutters, crimpers, strippers | ||
+ | </gallery> | ||
== Links == | == Links == | ||
Line 185: | Line 204: | ||
<pre>http://url.for/some/image.png</pre> | <pre>http://url.for/some/image.png</pre> | ||
− | |||
[[Category:Help|Images]] | [[Category:Help|Images]] | ||
+ | [[Category: Wiki information]] |