Jump to content

Module:Portal pictures/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Andrybak (talk | contribs) at 15:25, 31 October 2020 (Andrybak moved page Module:Portal random POTD/doc to Module:Module:Portal pictures/doc: per Special:Diff/986390698). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Implements template {{Portal random POTD}}.

Parameters

Positional parameters are interpreted as dates in YYYY-MM-DD format. This is the format used for naming of subpages of Template:POTD.

Parameter |more= is same as for template {{Portal POTD}}.

Usage

{{#invoke:Portal pictures|function name}}

{{#invoke:Portal pictures|main}}
Automatic mode. Uses function slideShow on a basepage, and gallery on a subpage.
{{#invoke:Portal pictures|slideShow}}
Shows a slide show with a random picture selected.
{{#invoke:Portal pictures|gallery}}
Shows all pictures.