Difference between revisions of "Template:Photos"
From MansunWiki
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly><center> | + | <includeonly>{{#if: {{{/source|}}} | :Source: {{{/source}}} }} |
+ | <center> | ||
{{#tag:gallery | {{#tag:gallery | ||
| {{#forargs: | K | V |<nowiki/> | | {{#forargs: | K | V |<nowiki/> | ||
{{#switch: {{#var: K}} | {{#switch: {{#var: K}} | ||
| /caption = | | /caption = | ||
− | | / | + | | /source = |
− | + | ||
− | + | ||
| Image:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center> | | Image:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center> | ||
}} | }} | ||
}} | }} | ||
− | | mode = packed | + | | mode = packed |
| caption = {{{/caption|}}} | | caption = {{{/caption|}}} | ||
− | + | | heights = 200px | |
− | | heights = | + | | widths = 150px |
− | | widths = | + | |
}} | }} | ||
</center></includeonly><noinclude> | </center></includeonly><noinclude> | ||
Line 22: | Line 20: | ||
{{Photos | {{Photos | ||
| /caption = Some photos | | /caption = Some photos | ||
− | | / | + | | /source = Source description |
| /widths = 200 | | /widths = 200 | ||
| /heights = 200 | | /heights = 200 | ||
Line 31: | Line 29: | ||
| V_mera_Luna.jpg = Photo: [https://www.facebook.com/events/177705679104830/ M'era Luna Festival] | | V_mera_Luna.jpg = Photo: [https://www.facebook.com/events/177705679104830/ M'era Luna Festival] | ||
}} | }} | ||
− | </nowiki></pre> | + | </nowiki></pre></noinclude> |
− | + |
Revision as of 21:20, 2 September 2015
Sample usage:
{{Photos | /caption = Some photos | /source = Source description | /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] }}