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

From TF2 Classic Wiki
Jump to navigation Jump to search
No edit summary
(Blanking)
 
(11 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:{{{effect|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Effect''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{effect}}}
{{!-}}}}
{{#if:{{{effect-duration|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Effect duration''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{effect-duration}}}
{{!-}}}}
{{#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}}}
{{!-}}}}
{{#if:{{{beam-connect-distance|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Beam connect distance''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{beam-connect-distance}}}
{{!-}}}}
{{#if:{{{beam-disconnect-distance|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Beam disconnect distance''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{beam-disconnect-distance}}}
{{!-}}}}
{{#ifeq:{{{construction-column|}}} | true |{{!}} colspan="3" style="text-align: center;font-size: 20px;background-color: #583a31;color: white;" {{!}} '''Construction'''
{{!-}}}}
{{#if:{{{repair-per-hit|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Repair per hit''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{repair-per-hit}}}
{{!-}}}}
{{#if:{{{upgrade-per-hit|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Upgrade per hit''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{upgrade-per-hit}}}
{{!-}}}}
{{#if:{{{cost-per-repair|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Cost per repair''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{cost-per-repair}}}
{{!-}}}}
{{#if:{{{cost-per-ammo|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Cost per ammo''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{cost-per-ammo}}}
{{!-}}}}
{{#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:{{{first-reload|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''First reload''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{first-reload}}}
{{!-}}}}
{{#if:{{{further-reloads|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Further reloads''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{further-reloads}}}
{{!-}}}}
{{#if:{{{activation-time|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Activation time''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{activation-time}}}
{{!-}}}}
{{#if:{{{spread-recovery|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Spread recovery''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{spread-recovery}}}
{{!-}}}}
{{#if:{{{consumption-time|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Consumption time''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{consumption-time}}}
{{!-}}}}
{{#if:{{{cloak-fade|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Cloak fade''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{cloak-fade}}}
{{!-}}}}
{{#if:{{{uncloak-fade|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Uncloak fade''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{uncloak-fade}}}
{{!-}}}}
{{#if:{{{charge-fill-speed|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Charge fill speed''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{charge-fill-speed}}}
{{!-}}}}
{{#if:{{{charge-fill-time|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Charge fill time''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{charge-fill-time}}}
{{!-}}}}
{{#if:{{{recharge-time|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Recharge time''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{recharge-time}}}
{{!-}}}}
{{#if:{{{drop-expiry|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Drop expiry''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{drop-expiry}}}
{{!-}}}}
{{#if:{{{airblast-interval|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Airblast interval''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{airblast-interval}}}
{{!-}}}}
{{#if:{{{scoped-charge-delay|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Scoped charge delay''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{scoped-charge-delay}}}
{{!-}}}}
{{#if:{{{scoped-headshot-delay|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Scoped headshot delay''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{scoped-headshot-delay}}}
{{!-}}}}
{{#if:{{{aim-fatigue|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Aim fatigue''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{aim-fatigue}}}
{{!-}}}}
{{#if:{{{taunt|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Taunt''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{taunt}}}
{{!-}}}}
{{#if:{{{taunt-duration|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Taunt duration''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{taunt-duration}}}
{{!-}}}}
| 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.