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 |
 
{{#forargs: | K | V |
{{#var: K}} = {{#var: V}}
+
{{#switch: {{#var: K}}
 +
| /perrow = PER/ROW
 +
| /widths = WIDTHS
 +
| /heights = HEIGHTS
 +
| Something else
 +
}}
 
}}
 
}}
  

Revision as of 12:32, 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 -->
|
...
}}