Wikipedia:Tip of the day/Display template gallery

This is a gallery of Wikipedia tip-of-the-day (TOTD) display templates. To add the TOTD display template to your User or Talk page just put curly braces around the display template name and copy/paste it in to your User or Talk page, and save it.

Note: After saving, you may have to bypass your browser's cache to see the changes. Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button. Firefox: hold down the Shift key while clicking Reload (or press Ctrl-Shift-R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see: Bypass your cache.

You may have to  the Wikipedia server to see the change.

totd
is the main userspace version of the tip of the day display template, with light blue border, centered in the middle of the page. Complete with inspirational light bulb.

Note: This is the only template that can take one optional parameter: border-color, which is used to adjust the border color from the default (#ADD8E6). For example: would render a dark gray border instead of the light blue shown below by default:

totd b
is a more compact centered version of the above template. Useful for columns:

totd3
is a left-aligned purple box version, useful for displaying the tip in columns (or instead you may align-right or align-center using the or   templates):

totd-random
is a centered tip of the moment template, that automatically displays a different tip every time you enter the page it is on. If the tip does not update, try clearing or purging your browser or server cache:

totd-tomorrow
is a centered version that shows tomorrow's tip, and is used by Wikipedia tipsters to make sure that the tips are up-to-date and corrected before they go live:

tip of the day
is a borderless left-justified version, with light bulb:

tip of the day with h3 heading
creates a version with the tip in heading/paragraph left-justified format (no light bulb):

totd2
is the borderless left-justified version used on Wikipedia's Help page—‌which already has its own borders (No light bulb):

totd CP
is like the help page version, but with a box and light bulb. It is centered and it spans the whole field (screen or column) that it is in:

totd-static
is like the totd version but the date is static. You have to manually change the date. Good for tip testing purposes.

Jump to top of page