Difference between revisions of "Template:Gallery"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
 +
DEBUG PERROW: {{{/perrow|5}}}
  
 
<center>
 
<center>
Line 5: Line 7:
 
| {{#forargs: | K | V |<nowiki/>
 
| {{#forargs: | K | V |<nowiki/>
 
     {{#switch: {{#var: K}}
 
     {{#switch: {{#var: K}}
     | /perrow =
+
     | /perrow = <!-- reserved keyword -->
     | /widths =
+
     | /widths = <!-- reserved keyword -->
     | /heights =
+
     | /heights = <!-- reserved keyword -->
 
     | Image:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center>
 
     | Image:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center>
 
     }} <!-- #switch -->
 
     }} <!-- #switch -->

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