Template:randommainpage
From Homestar Runner Wiki
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).
[edit] Usage
{{randommainpage}}
: main8{{randommainpage|oldhr=true}}
: main8 (excludes any main pages after 26)[[HR:{{randommainpage}}.html]]
: HR:main8.html
[edit] 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.