Template:NotifyPOTD/doc
Appearance
This is a documentation subpage for Template:NotifyPOTD. 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:NotifyPOTD}} ). |
Usage
[edit]This template can be used to notify uploaders and nominators of a featured picture scheduled for POTD by placing a message at the bottom of their user talk pages. 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 heading. There are four unnamed parameters (three required, one optional) and two named parameters (both optional).
Example usage
- Blurb layout (default):
{{ subst:NotifyPOTD | [Salutation] | [File:]Example.png | 2024-12-04 [| Optional comments] [| display=blurb] }}
- Thumbnail layout:
{{ subst:NotifyPOTD | [Salutation] | [File:]Example.png | 2024-12-04 [| Optional comments] | display=thumb [| size=200px] }}
- The first parameter (required) provides a customizable salutation, which defaults to "Hi [username]," if left blank (this is done by retaining the pipe character so that it will still be passed as the first parameter).
- The second 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 normally have the same uploader or nominator (possibly the same user). - The third 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 fourth 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
|action=
(optional) replaces the phrase "uploaded or nominated". - 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. An example of these two layouts can be seen on the testcases page.- 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:UpcomingPOTD (for article talk pages)