User:BELATHUS/Sandbox: Difference between revisions

The official GemStone IV encyclopedia.
< User:BELATHUS
Jump to navigation Jump to search
m (This template will be getting very complex.)
m (It is unfortunte that this template cannot be easily tested due to its numerous if/then statements.)
Line 21: Line 21:
|-
|-
{{ #ifeq: {{{type|}}} | Attack | !colspan=2 align=center bgcolor=#F99{{!}}Attack Magic{{ #if: {{{dtype|}}} | - Damage | }}{{ #if: {{{status|}}} | - Disabling | }} }}
{{ #ifeq: {{{type|}}} | Attack | !colspan=2 align=center bgcolor=#F99{{!}}Attack Magic{{ #if: {{{dtype|}}} | - Damage | }}{{ #if: {{{status|}}} | - Disabling | }} }}
{{ #ifeq: {{{type|}}} | Offensive | !colspan=2 align=center bgcolor=#FF9{{!}}Attack Magic{{ #if: {{{dtype|}}} | - Damage | }}{{ #if: {{{status|}}} | - Disabling | }} }}
{{ #ifeq: {{{type|}}} | Offensive | !colspan=2 align=center bgcolor=#FF9{{!}}Offensive Magic | }}
{{ #ifeq: {{{type|}}} | Defensive | !colspan=2 align=center bgcolor=#CF9{{!}}Attack Magic{{ #if: {{{dtype|}}} | - Damage | }}{{ #if: {{{status|}}} | - Disabling | }} }}
{{ #ifeq: {{{type|}}} | Defensive | !colspan=2 align=center bgcolor=#CF9{{!}}Defensive Magic | }}
{{ #ifeq: {{{type|}}} | Utility | !colspan=2 align=center bgcolor=#9CF{{!}}Attack Magic{{ #if: {{{dtype|}}} | - Damage | }}{{ #if: {{{status|}}} | - Disabling | }} }}
{{ #ifeq: {{{type|}}} | Utility | !colspan=2 align=center bgcolor=#9CF{{!}}Utility Magic | }}
|-
{{ #if: {{{dtype|}}} | ! Damage Type
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dtype}}} |
{{ #if: {{{status|}}} | ! State(s) Inflicted
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{status}}} |
}}}}
|-
{{ #if: {{{dtype|}}} | ! Critical Type
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} |
{{ #if: {{{status|}}} | ! Duration
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dur}}} |
}}}}
|}
|}
|- align=center
|- align=center

Revision as of 17:01, 8 January 2007

BELATHUS/Sandbox
Mnemonic [{{{mnemonic}}}]
Base Duration {{{base_dur}}}
Added Duration {{{add_dur}}}
Span {{{span}}}
Type {{{type}}}

I don't believe Ollie likes the fact that the spellbox templates are modular, and therefore complex. I'm otherwise not certain as to what the issue is with the spellbox templates, so here is my attempt to address that issue. Offensive is FF9, Defensive is CF9, Utility is 9CF, and attack is F99.