Module:Daily tem/doc
This is the documentation page for Module:Daily tem
This module returns a random Temtem name from the Temtem Cargo table using the current day (UTC) as a seed.
Temtem with variants[edit]
For Temtem that have variants (Koish and Chromeon), the module returns a random variant such as "Koish (Nature)". It does this after the base Temtem is selected, so having these variants does not give these Tems a higher chance of being selected than those without.
Caching[edit]
Because of page caching, using content that's supposed to regularly change without page edits is unreliable. To help with this, User:Mr Pie 5 runs a script that automatically purges the cache of all pages transcluding this module at 00:01 daily (UTC).
Usage[edit]
The module can be called with {{#invoke:Daily tem|main}}
. The output is a simple string, formatting is left to be done by whatever page is invoking the module.
Example[edit]
Today's Temtem is: {{#invoke:Daily tem|main}}
produces:
Today's Temtem is: Halzhi