No edit summary |
No edit summary |
||
Line 148: | Line 148: | ||
<div class="spell-main-block"> | <div class="spell-main-block"> | ||
<div class="spell-grid"> | <div class="spell-grid"> | ||
{{# | {{#ifeq: {{{type}}} |Tower Room| | ||
<div class="spell-title-left-block left outer"></div> | <div class="spell-title-left-block left outer"></div> | ||
<div class="spell-title-block"><h4><div class="spell-title">{{#if: {{{linked|}}} | [[{{{linked}}}|{{{title}}}]] | {{{title}}} }}</div></h4></div> | <div class="spell-title-block"><h4><div class="spell-title">{{#if: {{{linked|}}} | [[{{{linked}}}|{{{title}}}]] | {{{title}}} }}</div></h4></div> |
Revision as of 19:29, 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 |
room-name | Leave blank unless the type is "Tower Room", in which case use the title of the tower room itself to link to. | |
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. |