Difference between revisions of "Template:Gallery"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
Line 3: Line 3:
 
| {{#forargs: | K | V |<nowiki/>
 
| {{#forargs: | K | V |<nowiki/>
 
     {{#switch: {{#var: K}}
 
     {{#switch: {{#var: K}}
 +
    | /class =
 
     | /caption =
 
     | /caption =
 
     | /heights =
 
     | /heights =
Line 11: Line 12:
 
   }}
 
   }}
 
| mode = packed
 
| mode = packed
 +
| class = {{{/class|}}}
 
| caption = {{{/caption|}}}
 
| caption = {{{/caption|}}}
 
| perrow = {{{/perrow|5}}}
 
| perrow = {{{/perrow|5}}}

Revision as of 14:22, 19 November 2016

Sample usage:

{{Photos
| /caption              = Some photos
| /perrow               = 3
| /widths               = 200
| /heights              = 200
| Gloria.jpg            = Photo: Photo credit and thanks to Gloria
| Charlotte_Sumisu.jpg  = Photo: Photo credit and thanks to Charlotte Sumisu
| Charlotte_Sumisu2.jpg = Photo: Photo credit and thanks to Charlotte Sumisu
| Charlotte_Sumisu3.jpg = Photo: Photo credit and thanks to Charlotte Sumisu
| V_mera_Luna.jpg       = Photo: [https://www.facebook.com/events/177705679104830/ M'era Luna Festival]
}}