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

From TF2 Classic Wiki
Jump to navigation Jump to search
No edit summary
(Blanking)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
! colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" | Properties
|-
{{#if:{{{shot-type|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Shot type''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{shot-type}}}
{{!-}}}}
{{#if:{{{damage-type|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Damage type''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{damage-type}}}
{{!-}}}}
{{#if:{{{ranged-type|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Ranged or Melee?''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{ranged-type}}}
{{!-}}}}
{{#ifeq:{{{damage-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Damage'''
{{!-}}}}
{{#if:{{{maximum-ramp-up|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Maximum ramp-up''' {{!!}} style="text-align: center;" {{!}} {{{maximum-ramp-up-percentage|150%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{maximum-ramp-up}}}
{{!-}}}}
{{#if:{{{base-damage|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Base damage''' {{!!}} style="text-align: center;" {{!}} {{{base-damage-percentage|100%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{base-damage}}}
{{!-}}}}
{{#if:{{{charged-damage|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Charged damage''' {{!!}} style="text-align: center;" {{!}} {{{charged-damage-percentage|300%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{charged-damage}}}
{{!-}}}}
{{#if:{{{maximum-fall-off|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Maximum fall-off''' {{!!}} style="text-align: center;" {{!}} {{{maximum-fall-off-percentage|52.8%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{maximum-fall-off}}}
{{!-}}}}
{{#if:{{{critical|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Critical''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{critical}}}
{{!-}}}}
{{#if:{{{critical-charged|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Critical (charged)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{critical-charged}}}
{{!-}}}}
{{#if:{{{mini-crit|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Mini-crit''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{mini-crit}}}
{{!-}}}}
{{#if:{{{mini-crit-ramp-up|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Mini-crit (ramp-up)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{mini-crit-ramp-up}}}
{{!-}}}}
{{#if:{{{mini-crit-charged|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Mini-crit (charged)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{mini-crit-charged}}}
{{!-}}}}
{{#if:{{{flame-damage-close|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Flame damage (close)''' {{!!}} style="text-align: center;" {{!}} {{{flame-damage-close-percentage|100%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{flame-damage-close}}}
{{!-}}}}
{{#if:{{{flame-damage-far|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Flame damage (far)''' {{!!}} style="text-align: center;" {{!}} {{{flame-damage-far-percentage|50%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{flame-damage-far}}}
{{!-}}}}
{{#if:{{{bullet-count|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Bullet count''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{bullet-count}}}
{{!-}}}}
{{#if:{{{spread|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Spread''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{spread}}}
{{!-}}}}
{{#ifeq:{{{status-effects-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Status Effects'''
{{!-}}}}
{{#if:{{{afterburn|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Afterburn''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{afterburn}}}
{{!-}}}}
{{#if:{{{afterburn-mini-crit|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Afterburn (mini-crit)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{afterburn-mini-crit}}}
{{!-}}}}
{{#if:{{{afterburn-duration|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Afterburn duration''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{afterburn-duration}}}
{{!-}}}}
{{#if:{{{bleed|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Bleed''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{bleed}}}
{{!-}}}}
{{#if:{{{bleed-mini-crit|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Bleed (mini-crit)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{bleed-mini-crit}}}
{{!-}}}}
{{#if:{{{bleed-duration|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Bleed duration''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{bleed-duration}}}
{{!-}}}}
{{#ifeq:{{{splash-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Splash'''
{{!-}}}}
{{#if:{{{minimum-splash|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Minimum splash''' {{!!}} style="text-align: center;" {{!}} {{{minimum-splash-percentage|50%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{minimum-splash}}}
{{!-}}}}
{{#if:{{{damage-reduction|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Damage reduction''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{damage-reduction}}}
{{!-}}}}
{{#if:{{{self-damage|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Self-damage''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{self-damage}}}
{{!-}}}}
{{#if:{{{self-damage-rocket-jump|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Self-damage (rocket jump)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{self-damage-rocket-jump}}}
{{!-}}}}
{{#ifeq:{{{healing-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Healing'''
{{!-}}}}
{{#if:{{{healing-in-combat|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Healing (in combat)''' {{!!}} style="text-align: center;" {{!}} {{{healing-in-combat-percentage|100%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{healing-in-combat}}}
{{!-}}}}
{{#if:{{{healing-out-of-combat|}}} |{{!}} style="background-color: #f1e9cb" {{!}} '''Healing (out of combat)''' {{!!}} style="text-align: center;" {{!}} {{{healing-out-of-combat-percentage|300%}}} {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{healing-out-of-combat}}}
{{!-}}}}
{{#if:{{{healing-self|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Healing (self)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{healing-self}}}
{{!-}}}}
{{#if:{{{healing-others|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Healing (others)''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{healing-others}}}
{{!-}}}}
{{#ifeq:{{{ammo-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Ammo'''
{{!-}}}}
{{#if:{{{loaded|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Loaded''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{loaded}}}
{{!-}}}}
{{#if:{{{carried|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Carried''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{carried}}}
{{!-}}}}
{{#if:{{{reload-type|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Reload type''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{reload-type}}}
{{!-}}}}
{{#ifeq:{{{function-times-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Function Times'''
{{!-}}}}
{{#if:{{{attack-interval|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Attack interval''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{attack-interval}}}
{{!-}}}}
{{#if:{{{reload|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Reload''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{reload}}}
{{!-}}}}
{{#if:{{{spread-recovery|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Spread recovery''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{spread-recovery}}}
{{!-}}}}
| colspan="3" style="text-align: center;font-size: 12px;background-color: #583a31;color: white;" | All values are approximate.
|-
|}<noinclude>
{{doc begin}}
{{doc begin}}
=== Do not use this template on any articles. ===
=== Do not use this template on any articles. ===


This is a sandbox used to test templates on draft pages.<br><br>
This is a sandbox used to test templates on draft pages.
 
</noinclude>
By default, the only rows that will show up are the "Properties" header row and the "All values are approximate" footer 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>

Latest revision as of 00:14, 7 August 2023

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.