User:BELATHUS/Sandbox: Difference between revisions

The official GemStone IV encyclopedia.
< User:BELATHUS
Jump to navigation Jump to search
mNo edit summary
m (This edit'll make this template capable of being a drop-in replacement for the current spell template and no editing of the existing spell articles'll be required.)
Line 8: Line 8:
| valign="top" style="white-space: nowrap; text-align: right;" | [{{{mnemonic}}}]
| valign="top" style="white-space: nowrap; text-align: right;" | [{{{mnemonic}}}]
|-
|-
{{ #if: {{{duration|}}} | ! Duration
{{!}}-
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{duration}}} |
{{{custdur|! Base Duration
{{{custdur|! Base Duration
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{base_dur}}}
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{base_dur}}}
Line 16: Line 19:
! Span
! Span
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{span}}}
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{span}}}
{{!}}-}}}
{{!}}-}}}}}
{{ #ifeq: {{{type}}} | Attack | |
{{ #ifeq: {{{type}}} | Attack | |
{{ #ifeq: {{{type}}} | Defensive | |
{{ #ifeq: {{{type}}} | Defensive | |
Line 27: Line 30:
{{ #ifeq: {{{type|}}} | Defensive | !colspan=2 align=center bgcolor=#CF9{{!}}Defensive Magic |
{{ #ifeq: {{{type|}}} | Defensive | !colspan=2 align=center bgcolor=#CF9{{!}}Defensive Magic |
{{ #ifeq: {{{type|}}} | Utility | !colspan=2 align=center bgcolor=#9CF{{!}}Utility Magic | }}}}}}}}
{{ #ifeq: {{{type|}}} | Utility | !colspan=2 align=center bgcolor=#9CF{{!}}Utility Magic | }}}}}}}}
|-
<!-- If it is an attack spell, then -->
<!-- If it is an attack spell, then -->
{{ #ifeq: {{{type}}} | Attack |
{{ #ifeq: {{{type}}} | Attack |
{{ #if: {{{dtype|}}} | ! Damage Type
{{ #if: {{{dtype|}}} | {{!}}-
! Damage Type
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dtype}}} |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dtype}}} |
{{ #if: {{{status|}}} | ! State(s) Inflicted
{{ #if: {{{status|}}} | {{!}}-
! State(s) Inflicted
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{status}}} |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{status}}} |
}}}}
}}}}
{{!}}-
{{ #if: {{{dtype|}}} | {{!}}-
{{ #if: {{{dtype|}}} | ! Critical Type
! Critical Type
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} |
{{ #if: {{{status|}}} | ! Duration
{{ #if: {{{status|}}} | {{!}}-
! Duration
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dur}}} |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{dur}}} |
}}}}
}}}}
Line 50: Line 55:
<!-- If it is a defensive spell, then -->
<!-- If it is a defensive spell, then -->
{{ #ifeq: {{{type}}} | Defensive |
{{ #ifeq: {{{type}}} | Defensive |
{{ #if: {{{ds|}}} | ! [[Defensive strength|Defensive Strength]]
{{ #if: {{{ds|}}} | {{!}}-
! [[Defensive strength|Defensive Strength]]
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ds}}} | }}
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ds}}} | }}
{{ #if: {{{td|}}} | ! [[Target defense|Target Defense]]
{{ #if: {{{td|}}} | {{!}}-
! [[Target defense|Target Defense]]
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{td}}} | }} |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{td}}} | }}
{{ #if: {{{enhancement|}}} | {{!}}-
! [[Enhancement]]
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{enhancement}}} | }}
{{!}}-
! Availability
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{availability}}}
|
<!-- If it is an offensive spell, then -->
<!-- If it is an offensive spell, then -->
{{ #ifeq: {{{type}}} | Offensive |
{{ #ifeq: {{{type}}} | Offensive |
Line 64: Line 78:
|
|
{{{Navigation|}}}
{{{Navigation|}}}
|}<noinclude>
|}<includeonly>
{{ #ifeq: {{{type}}} | Attack | [[Category:Attack Spells]] |
{{ #ifeq: {{{type}}} | Defensive | [[Category:Defensive Spells]] |
{{ #ifeq: {{{type}}} | Offensive | [[Category:Offensive Spells]] |
{{ #ifeq: {{{type}}} | Utility | [[Category:Utility Spells]] |
}}}}}}}}
</includeonly><noinclude>
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.
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.



Revision as of 18:09, 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.