Difference between revisions of "Template:Gallery"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
m (Scarshock moved page Template:Photos to Template:Gallery without leaving a redirect)
 
(14 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     | /caption =
 
     | /caption =
 
     | /heights =
 
     | /heights =
 +
    | /mode =
 
     | /perrow =
 
     | /perrow =
 
     | /widths =
 
     | /widths =
     | Image:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center>
+
     | Image:{{#var: K}} {{!}} <center>{{#var: V}}</center>
 
     }}
 
     }}
 
   }}
 
   }}
| mode = packed-hover
+
| mode = {{{/mode|packed}}}
| class = {{{/class|}}}
+
| class = decreaseCaptions {{{/class|}}}
 
| caption = {{{/caption|}}}
 
| caption = {{{/caption|}}}
 
| perrow = {{{/perrow|5}}}
 
| perrow = {{{/perrow|5}}}
Line 25: Line 26:
 
| /class                = bold-first-line
 
| /class                = bold-first-line
 
| /caption              = Some photos
 
| /caption              = Some photos
 +
| /mode                = packed
 
| /perrow              = 3
 
| /perrow              = 3
 
| /widths              = 200
 
| /widths              = 200

Latest revision as of 13:10, 8 February 2024

Sample usage:

{{Photos
| /class                = bold-first-line
| /caption              = Some photos
| /mode                 = packed
| /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]
}}