Difference between revisions of "Template:SpellInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
CeNobiteElf (talk | contribs) m |
||
| Line 4: | Line 4: | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | ||
|- | |- | ||
| − | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250px|{{tooltip}}|{{PAGENAME}}]] }} | + | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|250px|{{#if: {{{tooltip|}}} | {{{tooltip}}} | {{PAGENAME}} }}]] }} |
|- | |- | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | | ||
Revision as of 19:33, 6 October 2010
| SpellInfoBox | |
|---|---|
| Domain: | {{{domain}}} |
| Skill: | {{{skill}}} |
| Level requirement: | {{{lvl}}} |
Description
Usage
{{SpellInfoBox
|image=
|tooltip=
|type=
|domain=
|skill=
|lvl=
|}}
Non optional parameters
- domain
- Specifies the domain a spell belongs to, i.e. Desert, Forest, Jungle, Lakes or Prime Roots
- skill
- Specifies the skill tree to which the spell belongs to
- lvl
- Specifies the level at which the spell is encountered
Optional parameters
- type
- Specifies the spell type, i.e. celestial, atysian or primal
- tooltip
- Sets a tooltip that shows when a user hovers his cursor over the infobox's image
Example
| Spell Ambar | |
| SpellInfoBox | |
| Domain | Desert |
|---|---|
| Skill | Elemental |
| Level requirement | 125 |