Anonymous
×
Create a new article
Write your page title here:
We currently have 632 articles on SpellForce Wiki - Rohens encyclopedia. Type your article name above or click on one of the titles below and start writing!



SpellForce Wiki - Rohens encyclopedia

Template:CoE Spell: Difference between revisions

Basara (talk | contribs)
No edit summary
Basara (talk | contribs)
No edit summary
Line 6: Line 6:
===Example Preview===
===Example Preview===


<div class="spell-block">
<div class="spell-main-block">
  <div class="spell-art-block">[[Image:SF CoE Zombify Art.png|140px|link=]]</div>
<div class="spell-grid">
   <div class="spell-title-block">
   <div class="spell-title-block">
     <div class="left outer"></div>
     <div class="left outer"></div>
Line 16: Line 16:
     <div class="right outer"></div>
     <div class="right outer"></div>
   </div>
   </div>
   <div class="spell-info-block">
   <div class="spell-info-block">
    <div class="spell-icon-block">
      <div style="display:block;">[[Image:SF CoE Zombify Icon.png|50px]]</div>
      <div style="display:block;">[[Image:SF CoE Icon Research Transparent.png|20px|link=|Research Cost]] 40</div>
      <div style="display:block;">[[Image:SF CoE Icon Mana Transparent.png|20px|link=|Mana Cost]] 9</div>
      <div style="display:block;">[[Image:SF CoE Icon Mana Upkeep Transparent.png|20px|link=|Mana Upkeep]] 0</div>
    </div>
     <div class="spell-text">Turn your own mortal unit permanently into a [[Walking Corpses(CoE)|Walking Corpse]] - a strong, resilient minion that doesn't require upkeep.</div>
     <div class="spell-text">Turn your own mortal unit permanently into a [[Walking Corpses(CoE)|Walking Corpse]] - a strong, resilient minion that doesn't require upkeep.</div>
   </div>
   </div>
   <div class="spell-title-block">[[Image:SF CoE Zombify Blank.png|500px|link=|Spell Slot Before Unlock]]</div>
   <div class="spell-icon-block">
  <div class="spell-flavor-text">[[Death Spellpage I (Slot 1)]]</div>
    <div style="display:block;">[[Image:SF CoE Zombify Icon.png]]</div>
  </div>
  <div class="spell-resource-block>
    <div style="display:block;">[[Image:SF CoE Icon Research Transparent.png|20px|link=|Research Cost]] 40</div>
    <div style="display:block;">[[Image:SF CoE Icon Mana Transparent.png|20px|link=|Mana Cost]] 9</div>
    <div style="display:block;">[[Image:SF CoE Icon Mana Upkeep Transparent.png|20px|link=|Mana Upkeep]] 0</div>
  </div>
  <div class="spell-flavor-block">
    <div class="spell-flavor-text">Flavor flave.</div>
  </div>
  <div class="spell-blank-block">
    [[Image:SF CoE Zombify Blank.png|500px|link=|Spell Slot Before Unlock]]
    <div class="spell-flavor-text">[[Death Spellpage I (Slot 1)]]</div>
  </div>
</div>
</div>
</div>


Line 137: Line 144:
==Template Markup==
==Template Markup==
</noinclude>
</noinclude>
<div class="spell-block">
  <div class="spell-art-block">[[Image:{{{art}}}|140px|link=]]</div>
  <div class="spell-title-block">   
    <div class="left outer"></div>
    <div class="middle">
      <div class="spell-title">{{#if: {{{linked|}}} | [[{{{linked}}}|{{{title}}}]] | {{{title}}} }}</div>
      <div class="spell-subtitle">{{{type}}}</div>
    </div>
    <div class="right outer"></div>
  </div>
  <div class="spell-info-block">
    <div class="spell-icon-block">
      <div style="display:block;">[[Image:{{{icon}}}|50px|link=]]</div>
      <div style="display:block;">[[Image:SF CoE Icon Research Transparent.png|20px|link=|Research Cost]] {{{research|0}}}</div>
      <div style="display:block;">[[Image:SF CoE Icon Mana Transparent.png|20px|link=|Mana Cost]] {{{mana|0}}}</div>
      <div style="display:block;">[[Image:SF CoE Icon Mana Upkeep Transparent.png|20px|link=|Mana Upkeep]] {{{upkeep|0}}}</div>
    </div>
    <div class="spell-text">{{{description-start|}}} {{#if: {{{link|}}} | [[{{{link-page| {{{link}}} }}}|{{{link}}}]] | }}{{{description-end|}}}</div>
  </div>
  <div class="spell-title-block">[[Image:{{{blank}}}|500px|link=|Spell Slot Before Unlock]]</div>
  <div class="spell-flavor-text">{{#if: {{{linked|}}} | {{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}}) | [[{{{school}}} Spellpage {{{roman-numeral}}} (Slot {{{slot}}})]] }}</div>
</div>

Revision as of 22:08, 8 October 2023


CoE Spell

Inserts a single spell for CoE.

Example Preview

Zombify

Instant
Turn your own mortal unit permanently into a Walking Corpse - a strong, resilient minion that doesn't require upkeep.
Research Cost 40
Mana Cost 9
Mana Upkeep 0
Flavor flave.

Example Usage

{{CoE Spell
|title = Zombify
|linked = Zombify
|type = Instant
|art = SF CoE Zombify Art.png
|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
}}

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.
Template Parameters
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
art The art directly to the left of the spell in the in-game Grimoire. SF CoE Zombify Art.png
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
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
link-page (optional) Leave blank if there is nothing to link in the spell's description. Otherwise use the page title for the link. Walking Corpses(CoE)
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

Template Markup