Created page with "<noinclude> This is the "Slider Emails" template. It should be called in the following format: <pre> {{Slider Emails |Photo array = < name of complex array > }} </pre> When a..." |
No edit summary |
||
| Line 14: | Line 14: | ||
}} | }} | ||
</pre> | </pre> | ||
*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____NOTITLE__ | ||
Revision as of 10:20, 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!