Difference between revisions of "Template:SpellInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) (Created page with '{{#vardefine:colour|6A9703}}<!-- -->{| class="infobox" |- !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} …') |
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}}}|300px|{{PAGENAME}}]] }} | + | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{tooltip}}|{{PAGENAME}}]] }} |
|- | |- | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | | ||
| Line 36: | Line 36: | ||
===Non optional parameters=== | ===Non optional parameters=== | ||
;domain | ;domain | ||
| − | : | + | : Specifies the domain a spell belongs to, i.e. Desert, Forest, Jungle, Lakes or Prime Roots |
;skill | ;skill | ||
| − | : | + | : Specifies the skill tree to which the spell belongs to |
;lvl | ;lvl | ||
| − | : | + | : Specifies the level at which the spell is encountered |
===Optional parameters=== | ===Optional parameters=== | ||
;type | ;type | ||
| − | : Specifies the spell type, i.e. celestial, atysian or primal | + | : 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== | ==Example== | ||
Revision as of 19:25, 6 October 2010
| SpellInfoBox | |
|---|---|
| Domain: | {{{domain}}} |
| Skill: | {{{skill}}} |
| Level requirement: | {{{lvl}}} |
Description
Usage
{{SpellInfoBox
|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 |