User:BELATHUS/Sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(I wonder if KP can handle all of these if/then statements.) |
||
Line 34: | Line 34: | ||
}}}} |
}}}} |
||
|- |
|- |
||
<!-- If it is an attack spell, then --> |
|||
{{ #ifeq: {{{type}}} | Attack | |
|||
{{ #if: {{{dtype|}}} | ! Critical Type |
{{ #if: {{{dtype|}}} | ! Critical Type |
||
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} | |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} | |
||
Line 45: | Line 47: | ||
! Duration |
! Duration |
||
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dur}}} | |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dur}}} | |
||
}} |
}} | |
||
<!-- If it is a defensive spell, then --> |
|||
{{ #ifeq: {{{type}}} | Defensive | |
|||
{{ #if: {{{ds|}}} | ! [[Defensive strength|Defensive Strength]] |
|||
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ds}}} | }} |
|||
{{ #if: {{{td|}}} | ! [[Target defense|Target Defense]] |
|||
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{td}}} | }} | |
|||
<!-- If it is an offensive spell, then --> |
|||
{{ #ifeq: {{{type}}} | Offensive | |
|||
| |
|||
<!-- If it is a utility spell, then --> |
|||
{{ #ifeq: {{{type}}} | Utility | |
|||
| }}}}}}}} |
|||
|} |
|} |
||
|- align=center |
|- align=center |
Revision as of 16:39, 8 January 2007
| ||||||||||||
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.