Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Whrats: Difference between revisions

Template page
m No sort on Start2.
Line 303: Line 303:
}}<noinclude>
}}<noinclude>
= Syntax =  
= Syntax =  
* <nowiki>{{whrats|parameter}}</nowiki>
* <nowiki>{{whrats|parameter|</nowiki>{{co|gray||parameter2}}|{{co|gray||parameter3}}<nowiki>}}</nowiki>
A template to use in order to build a flexible table of certain sleeper rats only, without having to get all of them.
A template to use in order to build a flexible table of certain sleeper rats only, without having to get all of them.
===== Opening and closing the table =====
===== Opening and closing the table =====
* Start
* Start
* ''<Sleeper rat's name>''
* ''<Sleeper rat's name>'' ''(plus optional number of spawns, parameter2, and if it's a trigger or optional spawn, parameter3)''
* End
* End
The '''Start''' parameter is to open he table up, then close it with '''End'''. Then add whichever rats in question you want with additional calls, one for each rat you wish to have in the table.
The '''Start''' parameter is to open he table up, then close it with '''End'''. Then add whichever rats in question you want with additional calls, one for each rat you wish to have in the table.
===== Alternatively =====
===== Alternatively =====
You can also use '''Start2''' and '''End2''' for a simpler table without the references.
You can also use '''Start2''' and '''End2''' for a simpler table without the references and sorting abilities.
 
= Example =
= Example =
The following:
The following: