Template:randommainpage
From Homestar Runner Wiki
(Difference between revisions)
(undid revision 528711; nevermind. It won't work with SWFs) |
The Cheatbot (Talk | contribs) m (autoreplace: category sorting) |
||
Line 24: | Line 24: | ||
*To add a special main page, increment the appropriate number and add the filename to the lower list. | *To add a special main page, increment the appropriate number and add the filename to the lower list. | ||
- | [[Category:Formatting Templates]]</noinclude> | + | [[Category:Formatting Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 23:02, 10 May 2008
Returns the filename of a random main page, including the special main pages.
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}}
: main7[[HR:{{randommainpage}}.html]]
: HR:main7.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.