Template:randommainpage
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (switch order) |
It's dot com (Talk | contribs) m (pronoun problem) |
||
Line 14: | Line 14: | ||
}}</includeonly><noinclude>Returns the filename of a random main page, including the special main pages. | }}</includeonly><noinclude>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 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=== | ===Usage=== |
Revision as of 20:45, 18 December 2007
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}}
: main24[[HR:{{randommainpage}}.html]]
: HR:main24.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.