User:Ratboy Slim/Template:Sandbox: Difference between revisions
Ratboy Slim (talk | contribs) No edit summary |
Ratboy Slim (talk | contribs) No edit summary |
||
Line 106: | Line 106: | ||
{{#if:{{{further-reloads|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Further reloads''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{further-reloads}}} | {{#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" {{!}} {{{ | {{#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:{{{spread-recovery|}}} |{{!}} colspan="2" style="background-color: #f1e9cb" {{!}} '''Spread recovery''' {{!!}} style="background-color: #dee8ed; text-align: right" {{!}} {{{spread-recovery}}} |
Revision as of 01:15, 19 May 2023
Properties | ||
---|---|---|
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 rows that will show up are the "Properties" header row and the "All values are approximate" footer 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.