Line 17: Line 17:
 
*If you don't have a page link to go with the picture, you should still add <code>"href":""</code> to keep the array functional!
 
*If you don't have a page link to go with the picture, you should still add <code>"href":""</code> to keep the array functional!
  
</noinclude><includeonly><div class="d-none d-md-block email-slider">__NOTOC____NOTITLE__
+
</noinclude><includeonly><div class="d-none d-md-block email-slider">__NOTOC__
 
{{#camap: {{{Photo array|}}} |@@@  
 
{{#camap: {{{Photo array|}}} |@@@  
 
|<div class="email-slider-slide">{{#widget: Link |type=img |src=@@@[src] |hrefsurround=@@@[href] }}</div>
 
|<div class="email-slider-slide">{{#widget: Link |type=img |src=@@@[src] |hrefsurround=@@@[href] }}</div>
 
}}</div></includeonly>
 
}}</div></includeonly>

Latest revision as of 10:09, 22 August 2022

This is the "Slider Emails" template. It should be called in the following format:

{{Slider Emails
|Photo array = < name of complex array >
}}

When adding a new picture to the slider, use the following code:

{{#capush:<complex array name>|
(("src":"<image filepath>","href":"<page link>"))
}}
  • If you don't have a page link to go with the picture, you should still add "href":"" to keep the array functional!