User:Ratboy Slim/Template:Sandbox: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
|}<noinclude>
|}<noinclude>
{{doc begin}}
{{doc begin}}
'''Do not use this template on any articles.'''<br>
=== Do not use this template on any articles. ===
This is a sandbox used to test templates on draft pages.
This is a sandbox used to test templates on draft pages.<br><br>
</noinclude>
By default, the only row that will show up is the "Properties" header row.<br><br>
To make a row appear in the template, pass any string to its parameter. If no parameter is passed, the row will not show up. The passed parameter will show up in its right-most column.<br><br>
Values for header rows (such as Damage, Ammo, Function Times) must be <code>true</code> if you want them to be displayed. Any other value is silently ignored, and the header row will not appear..<br><br>
{{tl|!}}, {{tl|!!}}, and {{tl|!-}} are escape templates that represent <code>|</code>, <code>||</code>, and <code>|-</code>, respectively. Their purpose is to escape those characters in templates that have tables, because MediaWiki syntax does not support a literal <code>|</code> symbol in templates that have tables.</noinclude>

Revision as of 04:43, 18 May 2023

Properties
Maximum ramp-up 150% 60
Base damage 100% 40
Maximum fall-off 52.8% 21
Critical 120
Mini-crit 54-81
Ammo
Loaded 6
Carried 24
Reload type Clip
Function times
Attack interval 0.5 s
Reload 1.133 s
Spread recovery 1.25 s
All values are approximate.

Documentation for Ratboy Slim/Template:Sandbox

Do not use this template on any articles.

This is a sandbox used to test templates on draft pages.

By default, the only row that will show up is the "Properties" header row.

To make a row appear in the template, pass any string to its parameter. If no parameter is passed, the row will not show up. The passed parameter will show up in its right-most column.

Values for header rows (such as Damage, Ammo, Function Times) must be true if you want them to be displayed. Any other value is silently ignored, and the header row will not appear..

{{!}}, {{!!}}, and {{!-}} are escape templates that represent |, ||, and |-, respectively. Their purpose is to escape those characters in templates that have tables, because MediaWiki syntax does not support a literal | symbol in templates that have tables.