Message board template documentation
From Wiki
| variable name | variable definition | example | ||
|---|---|---|---|---|
| $RECENT | the messages | <div id="Adate&time">this is a message<br /><br /></div>\n <div id="Adate&time">this is a message<br /><br /></div>\n ... | ||
| $BASEURL | the main message board url | /msg/ | ||
| $MSGLIMIT | the maximum characters allowed for this thread. it is configurable for each thread. let me know if you want the maximum changed for a thread. | 375 | ||
| $CLASS | root is always there main = thread0000, other = all others singleLine/multiLine linkTitle for threads with a title | root main singleLine linkTitle | ||
| titles | ||||
| $TITLE | the title for this thread unless this is a title thread | This is the title | ||
| $TITLETHREAD | the thread name for the title unless this is a title thread | 0001 | ||
| $TITLEURL | $BASEURLthread$TITLETHREAD unless this is a title thread | /msg/thread0001/ | ||
| misc | ||||
| $HIT | number of hits for this thread | 123 | ||
| $PIERCE | used for the wiki website. ask pierce. | 20070528212736 | ||
| $UPTIME | uptime for the webserver in days | 110 | ||
Notes
- you probably should wrap the template in a <pre></pre> tag. they will be removed when the template is loaded.
Example
- Template:Message board (use)
- css classes
- lc class (lowercase)
- black class (black background)
- simple class (disable frills)
- other class (used by other threads)
- nosign class (disable signatures)
- multiple classes (example of how to stack classes together to make your own homepage)
