This is a customised Picture of the day template, the year may be specified.
This is the sandbox page for
User:Begoon/POTD custom (
diff). See also the companion subpage for test cases. |
This is a customised Picture of the day template, the year may be specified.
Parameter | Description | Default (parameter not supplied) | Format | Example/notes |
---|---|---|---|---|
whichYear | Specifies which year's POTD to use | Pseudorandom from 2008 to current year (2024) incl. | 4 digit year | 2014 |
sTwidth | Image width (pixels) | 500 | Integer | 350 |
caption | Caption for picture | Caption supplied from POTD | Wikitext | May include wikilinks |
textOpacity | Text opacity (CSS) (0.0 - 1.0) | 1.0 | Decimal | 0.75 |
textColour | Text colour (CSS) | darkSlateBlue | CSS colour descriptor | #FF0000 |
borderColour | Border colour (CSS) | silver | CSS colour descriptor | #FF0000 |
borderWidth | Border width (pixels) | 1 | Integer | 2 |
{{User:Begoon/POTD custom|whichYear=2009|sTwidth=550|caption=foobar|textOpacity=0.55|textColour=grey|borderColour=#fe3|borderWidth=2}}
{{User:Begoon/POTD custom|whichYear=2010}}
This is a customised Picture of the day template, the year may be specified.
This is the sandbox page for
User:Begoon/POTD custom (
diff). See also the companion subpage for test cases. |
This is a customised Picture of the day template, the year may be specified.
Parameter | Description | Default (parameter not supplied) | Format | Example/notes |
---|---|---|---|---|
whichYear | Specifies which year's POTD to use | Pseudorandom from 2008 to current year (2024) incl. | 4 digit year | 2014 |
sTwidth | Image width (pixels) | 500 | Integer | 350 |
caption | Caption for picture | Caption supplied from POTD | Wikitext | May include wikilinks |
textOpacity | Text opacity (CSS) (0.0 - 1.0) | 1.0 | Decimal | 0.75 |
textColour | Text colour (CSS) | darkSlateBlue | CSS colour descriptor | #FF0000 |
borderColour | Border colour (CSS) | silver | CSS colour descriptor | #FF0000 |
borderWidth | Border width (pixels) | 1 | Integer | 2 |
{{User:Begoon/POTD custom|whichYear=2009|sTwidth=550|caption=foobar|textOpacity=0.55|textColour=grey|borderColour=#fe3|borderWidth=2}}
{{User:Begoon/POTD custom|whichYear=2010}}