Template:Featured programmes block

From Broadcast for Schools.co.uk.co.uk
Jump to: navigation, search

Randomly select pages with the "Featured programmes" tag, to show in an animated carousel on index pages including the front page.

Optional parameters decade= or subject= to restrict scope for Decade & Subject index pages.

Selects 12 programmes by default (appropriate to the 60 seconds scroll time defined in CSS). Use num= to select a different number.

Must call this template twice to make the animated carousel work:

<div class="idxfeatured">
{{SA2H}}
<div class="pboxgroup pboxgroup1">{{Featured programmes block}}</div>
<div class="pboxgroup pboxgroup2" aria-hidden>{{Featured programmes block}}</div>
{{SA2F}}
</div>