Open main menu

Changes

I want a POTD
I want a way to display the Wikimedia Commons POTD (Picture Of The Day) on my local wiki. I already have '[https://www.mediawiki.org/wiki/InstantCommons Instant Commons]' setup, but that only allows me to easily re-use the images locally, not display the POTD.

The <code>{{Potd}}</code> template would be a simple solution, but not on this wiki.

<nowiki>{{Potd|width=300|float=right|lang=en}}</nowiki> would (on Commons) display the Picture of the Day.

However, that template is on the remote wiki, and it's not really possible to export/import that template locally. So, we can't use the template. The [https://commons.wikimedia.org/w/index.php?title=Template%3APotd&veaction=editsource source looks simple] at first glance.


{{Collapsible
|visible_text=But there are a million nested templates, pages, and modules transcluded.
|collapsed_content=
<pre>

MediaWiki:Grouppage-Image-reviewer (view source)
MediaWiki:Grouppage-autoconfirmed (view source)
MediaWiki:Grouppage-autopatrolled (view source)
MediaWiki:Grouppage-bot (view source)
MediaWiki:Grouppage-bureaucrat (view source)
MediaWiki:Grouppage-checkuser (view source)
MediaWiki:Grouppage-filemover (view source)
MediaWiki:Grouppage-oversight (view source)
MediaWiki:Grouppage-patroller (view source)
MediaWiki:Grouppage-rollbacker (view source)
MediaWiki:Grouppage-sysop (view source)
MediaWiki:Grouppage-templateeditor (view source)
MediaWiki:Grouppage-translationadmin (view source)
MediaWiki:Grouppage-upwizcampeditors (view source)
MediaWiki:Grouppage-vrt-permissions (view source)
Template:Autotranslate (view source) (protected)
Template:BCP47 (view source) (template editor protected)
Template:Clickable button (view source) (protected)
Template:Clickable button/iconclass (view source) (protected)
Template:Collapse bottom (view source) (template editor protected)
Template:Collapse top (view source) (template editor protected)
Template:Date (view source) (protected)
Template:Dir (view source) (protected)
Template:Documentation (view source) (template editor protected)
Template:Documentation/i18n/en (view source) (template editor protected)
Template:Documentation/layout (edit) (semi-protected)
Template:Documentation/styles.css (view source) (template editor protected)
Template:Documentation subpage (view source) (template editor protected)
Template:Edit (view source) (protected)
Template:Lang (view source) (protected)
Template:LangSwitch (view source) (protected)
Template:Main other (view source) (template editor protected)
Template:Potd (edit) (semi-protected)
Template:Potd/2023-12-26 (edit)
Template:Potd/2023-12-26 (de) (edit)
Template:Potd/2023-12-26 (en) (edit)
Template:Potd/description display (edit)
Template:Potd/doc (edit)
Template:Potd/name/de (edit)
Template:Potd/name/en (edit) (semi-protected)
Template:Potd description (view source) (protected)
Template:Potd filename (edit)
Template:Protected (view source) (template editor protected)
Template:Protected/text/en (edit)
Template:Suppress categories (edit)
Template:T/main (view source) (protected)
Template:TSwitch (edit)
Template:Tag (edit)
Template:TemplateBox (view source) (template editor protected)
Template:TemplateBox/i18n/en (view source) (protected)
Template:TemplateBox/layout (view source) (template editor protected)
Template:TemplateBox/styles.css (view source) (template editor protected)
Template:TemplateDataInfo/i18n/en (edit)
Template:TemplateDataInfo/layout (edit)
Template:TemplateDataInfo/styles.css (edit)
Template:TemplateDataInfo/toggler (view source) (template editor protected)
Template:Tl (view source) (protected)
Template:Tlf (view source) (template editor protected)
Template:Tlu (edit)
Template:Tmpl (view source) (template editor protected)
Template:Transclude (view source) (template editor protected)
Template:W (view source) (protected)
Template:Wd (edit)
Module:Autotranslate (view source) (protected)
Module:Caller title (view source) (template editor protected)
Module:DateI18n (view source) (template editor protected)
Module:JSON (view source) (template editor protected)
Module:LangSwitch (view source) (protected)
Module:Languages (edit) (semi-protected)
Module:Suppress categories (edit)
Module:TNT (view source) (template editor protected)
Module:TNTFallback (view source) (template editor protected)
Module:TableTools (view source) (template editor protected)
Module:TemplateBox (view source) (template editor protected)
Module:Tmpl (view source) (template editor protected)
Module:Transclude (view source) (template editor protected)
</pre>
}}