Template:Gallery: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template)
 
mNo edit summary
Line 1: Line 1:
<ul class="gallery"><noinclude>
{{#vardefine:gsize|{{{size|120}}}}}<ul class="gallery"><!--
--><noinclude>
__NOTOC__
__NOTOC__
==Purpose==
==Purpose==
Line 7: Line 8:
To use this template, begin with this code:
To use this template, begin with this code:
<div style="float:left;"><pre>
<div style="float:left;"><pre>
{{Gallery}}
{{Gallery|size=}}
{{Gallery/Box|file=|link=|tip=|caption=}}
{{Gallery/Box|file=|link=|tip=|caption=}}
{{Gallery/Bottom}}
{{Gallery/Bottom}}
</pre></div><br style="clear:both">
</pre></div><br style="clear:both">
Use the parameter ''size'' to reduce set the size to have each image as a pure number, the default value is 120.
Use a '''Gallery/Box''' for each image. All parameters other than file are optional and can be entered in any order.
Use a '''Gallery/Box''' for each image. All parameters other than file are optional and can be entered in any order.
*'''''file''''' — The file to use, do not include the ''File:'' prefix.
*'''''file''''' — The file to use, do not include the ''File:'' prefix.

Revision as of 04:50, November 5, 2011