Wiktenauer logo.png

Template:Image/doc

From Wiktenauer
< Template:Image
Revision as of 14:54, 22 March 2013 by Michael Chidester (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template allows the creation of a flexible gallery by drawing a floating box around each image. The first variable should be the image name, and the second the caption. If you need to link to a different page or an external link, just add an additional variable called {{{link}}}. Main headings (those created with ==) will bookend the floating gallery, but if you're using this template inside of a section and need to include text after it, make sure to include CSS to keep the subsequent section from being displaced (by default, just use a <br /> tag). This code:

{{image|Noscans.png|Blank pages}}
{{image|Noscans.png|Blank pages}}
{{image|Noscans.png|Blank pages|link=Main Page}}
{{image|Noscans.png|Blank pages}}
{{image|Noscans.png|Blank pages}}
{{image|Noscans.png|Blank pages}}
<br style="clear:both;"/>

Creates this gallery:

Blank pages
Noscans.png
Blank pages
Noscans.png
Blank pages
Noscans.png
Blank pages
Noscans.png
Blank pages
Noscans.png
Blank pages
Noscans.png


Placeholders

To insert a text placeholder into the gallery, enter the text of the placeholder in the first argument and include a variable called {{{ph}}}.

{{image|Noscans.png|Blank pages}}
{{image|Placeholder|Placeholder|ph=1}}
{{image|Noscans.png|Blank pages}}
<br style="clear:both;"/>
Blank pages
Noscans.png
Placeholder
Blank pages
Noscans.png