No edit summary |
No edit summary |
||
Line 104: | Line 104: | ||
|Leave blank if there is nothing to link in the spell's description. Otherwise use the page title for the link. If the page title matches exactly with the link text, you can leave this blank. | |Leave blank if there is nothing to link in the spell's description. Otherwise use the page title for the link. If the page title matches exactly with the link text, you can leave this blank. | ||
|''Walking Corpses(CoE)'' | |''Walking Corpses(CoE)'' | ||
|- | |||
|link-tooltip ''(optional)'' | |||
|Leave blank if there is no tooltip for the description link. Otherwise use the image to display for the tooltip. | |||
|''Walking Corpse'' | |||
|- | |||
|link-tooltip-type ''(optional)'' | |||
|Leave blank if there is no tooltip. Use "tooltip", "tooltip-short", or "tooltip-long" to determine how far above the text the tooltip image should begin. | |||
| | |||
|- | |- | ||
|description-end ''(optional)'' | |description-end ''(optional)'' | ||
Line 145: | Line 153: | ||
<div class="spell-mana-block spell-resource-text">[[Image:SF CoE Icon Mana Transparent.png|20px|link=|Mana Cost]] {{{mana|0}}}</div> | <div class="spell-mana-block spell-resource-text">[[Image:SF CoE Icon Mana Transparent.png|20px|link=|Mana Cost]] {{{mana|0}}}</div> | ||
<div class="spell-upkeep-block spell-resource-text">[[Image:SF CoE Icon Mana Upkeep Transparent.png|20px|link=|Mana Upkeep]] {{{upkeep|0}}}</div> | <div class="spell-upkeep-block spell-resource-text">[[Image:SF CoE Icon Mana Upkeep Transparent.png|20px|link=|Mana Upkeep]] {{{upkeep|0}}}</div> | ||
<div class="spell-info-block spell-text">{{{description-start}}} {{#if: {{{description-link|}}} | [[{{{description-link-page|description-link}}}|{{{description-link}}}]] | }} {{{description-end}}}</div> | <div class="spell-info-block spell-text">{{{description-start}}} {{#if: {{{description-link|}}} | {{#if: {{{link-tooltip|}}} | <div class="tooltip-wrapper">[[{{{description-link-page|description-link}}}|{{{description-link}}}]]<div class="{{{link-tooltip-type|tooltip}}}"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{link-tooltip|SF CoE Elemental Spacer.png}}}]]</span></div></div> | [[{{{description-link-page|description-link}}}|{{{description-link}}}]] }} | }} {{{description-end}}}</div> | ||
<div class="spell-blank-block">[[Image:{{{blank}}}|500px|link=|Spell Slot Before Unlock]]</div> | <div class="spell-blank-block">[[Image:{{{blank}}}|500px|link=|Spell Slot Before Unlock]]</div> | ||
<div class="spell-page-block spell-flavor-text">{{#if: {{{linked|}}} | {{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}}) | [[{{{school}}} Magic School#Spellpage {{{roman-numeral}}} (Slot {{{slot}}})|{{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}})]] }} </div> | <div class="spell-page-block spell-flavor-text">{{#if: {{{linked|}}} | {{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}}) | [[{{{school}}} Magic School#Spellpage {{{roman-numeral}}} (Slot {{{slot}}})|{{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}})]] }} </div> |
Revision as of 17:21, 9 October 2023
CoE Spell
Inserts a single spell for CoE.
Example Preview
Example Usage
{{CoE Spell
|title = Zombify
|linked = Zombify
|type = Instant
|icon = SF CoE Zombify Icon.png
|research = 40
|mana = 9
|description-start = Turn your own mortal unit permanently into a
|link = Walking Corpse
|link-page = Walking Corpses(CoE)
|description-end = - a strong, resilient minion that doesn't require upkeep.
|blank = SF CoE Zombify Blank.png
|school = Death
|roman-numeral = I
|slot = 1
|flavor = ometimes you need to end a life to renew it. Consumes the target to create a more pliable and resilient minion.ometimes you need to end a life to renew it. Consumes the target to create a more pliable and resilient minion.
}}
How to Use This Template & Parameters
Parameters define the data that gets be passed to the template. That's how the template "knows" what to display for you. They can loosely be called variables.
The ONLY required parameter is title. While most parameters are optional, most should have real values for the spell to render correctly in the article.
THIS TEMPLATE'S parameters do not need to be used in order, but you do need to specify the parameter name, the = sign, and then the data/text you want to use, separated by the | sign. See the Example Usage section below.
- Table Column Explanations
- Parameter is the name for what you are describing.
- Value is the text/info you want to show.
- Example is what is shown in the Example Usage and Example Preview sections.
Parameter | Value | Example |
---|---|---|
title | The name of the spell you are making. ** Header Level 4 ** | Zombify |
linked (optional) | Leave blank if you do NOT wish to link the item. List the name of the page to link to otherwise. | Zombify |
type | The type of spell, typically "Summoning", "Instant", "Unit Enchantment", "Global Enchantment", "Tower Room", or "Shaper Secret" | Instant |
icon | The square icon next to the spell description and costs in the in-game Grimoire. | SF CoE Zombify Icon.png |
research | The cost to research the spell, which must be completed before the spell can be used. | 40 |
mana | The cost to cast the spell (one-time cost). | 9 |
upkeep (optional) | The cost to maintain the spell (every day). Leave blank if there is no upkeep. | |
description-start | The spell's description, before any link (if any). | Turn your own mortal unit permanently into a |
description-link (optional) | Leave blank if there is nothing to link in the spell's description. Otherwise use the text to display for the link. | Walking Corpse |
description-link-page (optional) | Leave blank if there is nothing to link in the spell's description. Otherwise use the page title for the link. If the page title matches exactly with the link text, you can leave this blank. | Walking Corpses(CoE) |
link-tooltip (optional) | Leave blank if there is no tooltip for the description link. Otherwise use the image to display for the tooltip. | Walking Corpse |
link-tooltip-type (optional) | Leave blank if there is no tooltip. Use "tooltip", "tooltip-short", or "tooltip-long" to determine how far above the text the tooltip image should begin. | |
description-end (optional) | Text that appears after the link (if any). | - a strong, resilient minion that doesn't require upkeep. |
blank | The image in the in-game Grimoire that appears before the option to research it is unlocked. If someone is hoping to get a particular spell from a Shaper's Secret location, this will allow them to tell if they got the page they were hoping for or not. |
SF CoE Zombify Blank.png |
school | The magic school the spell belongs to. | Death |
roman-numeral | This MUST be the capital Roman Numeral for the spellpage for the link to work properly. "I", "II", "III", or "IV" are the only acceptable inputs. | I |
slot | This is the spell slot for the spell, and MUST be correct for the link to work properly. "1", "2", "3", or "4" are the only acceptable inputs. | 1 |
flavor (optional) | This is the flavor slot for the spell. | Sometimes you need to end a life to renew it. Consumes the target to create a more pliable and resilient minion. |