(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...")
 
 
(One intermediate revision by the same user not shown)
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!
<!--
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:CSP-landing-article.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:corporate-wiki-image.jpg}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:lerende-organisatie-afbeelding.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Content-services-platform.png}}","href":""))
 
}}
 
-->
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Cloud@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Edit@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Icon spaces 2@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Icon spaces@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Logging@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Meta icon@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Plugin-store@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Project management@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Search@4x.png}}","href":""))
 
}}
 
{{#capush:Slider photos test|
 
(("src":"{{filepath:Security@4x.png}}","href":""))
 
}}
 
{{Slider Emails
 
|Photo array=Slider photos test
 
}}
 
Edit the page to see the template text.
 
  
</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!