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:36, 31 October 2020 (template has been renamed). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Implements template {{Portal pictures}}.

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.