Difference between revisions of "Template:Photos"
From MansunWiki
m |
m |
||
(4 intermediate revisions by the same user not shown) | |||
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 = |
− | | | + | | File:{{#var: K}} {{!}} <center>'' {{#var: V}} ''</center> |
− | + | ||
− | + | ||
}} | }} | ||
}} | }} | ||
− | | mode = | + | | mode = overlay |
| caption = {{{/caption|}}} | | caption = {{{/caption|}}} | ||
− | + | | heights = 200px | |
− | | heights = | + | | widths = 150px |
− | | widths = | + | |
}} | }} | ||
</center></includeonly><noinclude> | </center></includeonly><noinclude> | ||
Sample usage: | Sample usage: | ||
− | + | [[Category:Broken templates]] | |
<pre><nowiki> | <pre><nowiki> | ||
{{Photos | {{Photos | ||
| /caption = Some photos | | /caption = Some photos | ||
− | | / | + | | /source = Source description |
| /widths = 200 | | /widths = 200 | ||
| /heights = 200 | | /heights = 200 | ||
Line 30: | Line 28: | ||
| Charlotte_Sumisu3.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] | | V_mera_Luna.jpg = Photo: [https://www.facebook.com/events/177705679104830/ M'era Luna Festival] | ||
+ | | PACKED MODE DOES NOT WORK | ||
}} | }} | ||
− | </nowiki></pre> | + | </nowiki></pre></noinclude> |
− | + |
Latest revision as of 22:24, 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] | PACKED MODE DOES NOT WORK }}