User:BELATHUS/Sandbox: Difference between revisions
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 |
|||
⚫ | |||
⚫ | |||
{{{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|}}} | ! |
{{ #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|}}} | ! |
{{ #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|}}} | {{!}}- |
||
! Critical Type |
|||
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} | |
{{!}} valign="top" style="white-space: nowrap; text-align: right;" {{!}} {{{ctype}}} | |
||
{{ #if: {{{status|}}} | ! |
{{ #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|}}} | ! |
{{ #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|}}} | ! |
{{ #if: {{{td|}}} | {{!}}- |
||
! [[Target defense|Target Defense]] |
|||
⚫ | |||
{{!}} 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|}}} |
||
|}< |
|}<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 17:09, 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.