Template:Article for improvement banner/Picture box/doc

This template formats a selected TAFI picture and caption, as defined in the subpages of Wikipedia:Today's articles for improvement/. It is currently week of 2024 (purge).

This week's picture is defined in Today's articles for improvement/2024//picture, and the associated caption is defined in Today's articles for improvement/2024//picture/caption (add one week for next week's picture and caption). The picture should be specified as  and the caption should be ordinary text, with a wikilink to the relevant TAFI article.

To specify a particular past or future week (if it exists), use the parameter YYYY/W, where  is the year, and   is the week number. To specify the current week, without the template auto-updating next week, use /

For example: produces the template on the right.

The default width is 230px. To use a custom width, create a Wikipedia:Today's articles for improvement/ / /picture/size subpage for the relevant week, specify a number (just a number, no "px"), and save the page.

If the page specifying the picture for the week does not exist, nothing will be displayed – except for Today's articles for improvement/Schedule and Today's articles for improvement/Schedule/real only, where a box with redlinks to the picture and caption locations will be displayed instead.

Parameters
All optional.


 * picsize : Use to set a size for the picture that differs from the standards mentioned above (the default 230px or as given by Today's articles for improvement/ ... /picture/size ) when the template is used e.g. within a Sidebar. The "px" suffix is required (e.g. "228px").
 * noborder : Set to remove the box's border and shadowing.
 * nofloat : Set positively to prevent the box floating on the right (e.g. within a Sidebar). The border and shadowing is also omitted (i.e. nofloat entails noborder).
 * line-height : Use to set the caption's line-height.