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 13:59, 25 October 2020 (create documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

{{Module rating }}

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 selectRandom on a basepage, and gallery on a subpage.
{{#invoke:Portal pictures|selectRandom}}
Selects random picture.
{{#invoke:Portal pictures|gallery}}
Shows all pictures.