1,001 bytes added
, 05:15, 16 July 2021
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This module will transclude a [[WP:POTD|POTD]] template, such as [[Template:POTD/{{#time:Y-m-d}}]] or [[Template:POTD protected/{{#time:Y-m-d}}]], detecting when that day has [[Wikipedia:Picture of the day/Guidelines#Multiple pictures|multiple pictures]] and transcluding all of the options. Its primary purpose is to be used in conjunction with a cascade-protected page to ensure that all of the multiple pictures are cascade-protected during the time that the POTD is on the main page, rather than only the one that was randomly chosen the last time the main page was reparsed.
== Usage ==
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|transclude|''POTD template page title''}}</code>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia Picture of the day]]
}}</includeonly>