Template:randommainpage
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (new name'd) |
It's dot com (Talk | contribs) (how to update) |
||
Line 17: | Line 17: | ||
*<code><nowiki>{{randommainpage}}</nowiki></code>: {{randommainpage}} | *<code><nowiki>{{randommainpage}}</nowiki></code>: {{randommainpage}} | ||
*<code><nowiki>[[HR:{{randommainpage}}.html]]</nowiki></code>: [[HR:{{randommainpage}}.html]] | *<code><nowiki>[[HR:{{randommainpage}}.html]]</nowiki></code>: [[HR:{{randommainpage}}.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. | ||
[[Category:Formatting Templates]]</noinclude> | [[Category:Formatting Templates]]</noinclude> |
Revision as of 20:24, 18 December 2007
Returns the filename of a random main page, including the special main pages.
Usage
{{randommainpage}}
: main3[[HR:{{randommainpage}}.html]]
: HR:main3.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.