Template:UpcomingPOTD/doc
Appearance
This is a documentation subpage for Template:UpcomingPOTD. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:UpcomingPOTD}} ). |
Usage
[edit]This template can be used to notify editors of the article that serves as the boldfaced link in a POTD blurb by placing a message at the bottom of the corresponding article talk page. This is most easily done by employing the "New section" link at the top of the page and substituting the template using the code below, leaving the subject field blank since the template already generates a title. There are three unnamed parameters (two required, one optional) and two named parameters (both optional).
Example usage
- Blurb layout (default):
{{ subst:UpcomingPOTD | [File:]Example.png | 2024-12-03 [| Optional comments] [| display=blurb] }}
- Thumbnail layout:
{{ subst:UpcomingPOTD | [File:]Example.png | 2024-12-03 [| Optional comments] | display=thumb [| size=200px] }}
- The first parameter (required) is the file name of the featured picture. The prefix
File:
can either be included or omitted. If this is a multiple POTD (involving a random selection of more than one related image), providing the inputmultiple
in place of a file name will generate a slightly different wording to reflect this. All featured pictures that form part of a multiple POTD should appear in the article in question. - The second parameter (required) is the date of the scheduled POTD appearance, which can be given in any valid format, but YYYY-MM-DD is preferred, as above.
- The third parameter (optional) provides a space for additional comments about the POTD selection. No text is added if the parameter is undefined or left blank.
- The parameter
|display=
(optional) takes two possible values:blurb
, which displays the standard layout of the POTD with the blurb as seen on the Main Page underneath the message, andthumb
, which displays the POTD image as a thumbnail floating on the right with the article name as the caption. The blurb layout is displayed by default if this parameter is undefined.- The parameter
|size=
(optional) can further be used to control the dimensions of the image in the thumbnail layout; if undefined, the default thumbnail size as set in the user preferences is used.
- The parameter
See also
[edit]- Template:NotifyPOTD (for user talk pages)