Template:TAFI/Picture box

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The Sistine Hall of the Vatican Library

Documentation icon Template documentation

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

This week's picture is defined in Wikipedia:Today's articles for improvement/2014/31/picture, and the associated caption is defined in Wikipedia:Today's articles for improvement/2014/31/picture/caption (add one week for next week's picture and caption). The picture should be specified as File:somepicture.jpg 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 |week=YYYY/W, where YYYY is the year, and W is the week number. To specify the current week, without the template auto-updating next week, use |week={{subst:CURRENTYEAR}}/{{subst:CURRENTWEEK}}

The default width is 230px. To use a custom width, create a [[Wikipedia:Today's articles for improvement/YYYY/W/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 Wikipedia:Today's articles for improvement/Schedule and Wikipedia:Today's articles for improvement/Schedule/real only, where a box with redlinks to the picture and caption locations will be displayed instead.