Template:randommainpage
From Homestar Runner Wiki
Revision as of 04:23, 6 January 2022 by Gfdgsgxgzgdrc (Talk | contribs)
Returns the filename of a random main page, including the special main pages (with the exception of the Strong Bad Main Page, which doesn't have its own URL).
The same value is returned for every instance of the template on a given page (the template only chooses a random number once per page).
Usage
{{randommainpage}}
: main12{{randommainpage|oldhr=true}}
: main12 (removes any pages past 26)[[HR:{{randommainpage}}.html]]
: HR:main12.html
To update
- Increment the number of regular main pages whenever a new one is added.
- To add a special main page, increment the appropriate number and add the filename to the lower list.