Difference between revisions of "Template:Gallery"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<b>DEBUG MODE</b>
 
 
{{#forargs: | K | V |
 
{{#switch: {{#var: K}}
 
| /perrow = PER/ROW
 
| /widths = WIDTHS
 
| /heights = HEIGHTS
 
| Something else
 
}}
 
}}
 
  
 
<center>
 
<center>
Line 33: Line 22:
 
| filename2.jpg = &lt;!-- just leave empty if no description --&gt;
 
| filename2.jpg = &lt;!-- just leave empty if no description --&gt;
 
| filename3.jpg = Description 3
 
| filename3.jpg = Description 3
| perrow:3       &lt;!-- three photos per row --&gt;
+
| /perrow       = 3 &lt;!-- three photos per row --&gt;
| widths:100px   &lt;!-- thumb placeholder width is 100 px --&gt;
+
| /widths       = 100px &lt;!-- thumb placeholder width is 100 px --&gt;
| heights:50px   &lt;!-- thumb placeholder height is 50px --&gt;
+
| /heights     = 50px &lt;!-- thumb placeholder height is 50px --&gt;
 
|
 
|
 
...
 
...

Revision as of 12:36, 6 August 2014


{{Photos
| filename1.jpg = Description 1
| filename2.jpg = <!-- just leave empty if no description -->
| filename3.jpg = Description 3
| /perrow       = 3 <!-- three photos per row -->
| /widths       = 100px <!-- thumb placeholder width is 100 px -->
| /heights      = 50px <!-- thumb placeholder height is 50px -->
|
...
}}