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 7: Line 7:


<div class="spell-block">
<div class="spell-block">
<div>
   <div class="spell-art-block">[[Image:SF CoE Zombify Art.png|link=]]</div>
   <div class="item-icon">[[Image:SF CoE Icon Battle Robe.png|50px]]</div>
   <div class="spell-title-block">
   <h4><div class="item-title">Battle Robe</div></h4>
    <h4><div class="spell-title">Zombify</div></h4>
</div>
    <div class="spell-subtitle">Instant</div>
  <div class="item-subtitle">Artifact, Ingredient, Light Armor</div>
    <div class="spell-text">Sometimes you need to end a life to renew it.<br>Consuming the target to create a more pliable and resistant minion.</div>
<div>
   </div>
  <div class="item-threshold>[[Image:SF CoE Elemental 2.png|50px]] [[Image:SF CoE Life 1.png|25px]]</div>
   <div class="spell-info-block">
  <div class="item-cost>[[Image:SF CoE Item Gold Cost.png|30px]] 10</div>
    <div class="spell-icon-block">[[Image:SF CoE Zombify Icon.png|50px]]</div>
</div>
    Turn your own.
   <div class="item-block-splitter">[[Image:SF CoE Item Block Splitter.png|320px]]</div>
  </div>
   <div class="item-text">+2 Speed</div>
  <div class="item-text">Grants <div class="tooltip-wrapper"> [[Quick Reflexes|Qiuck reflexes]]<div class="tooltip"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:SF CoE Ability Quick Reflexes.png]]</span></div></div></div>
</div>
</div>
<div sytle="float:clear;"></div>


===Example Usage===
===Example Usage===
Line 60: Line 60:
|The name of the item you are making. ** Header Level 4 **
|The name of the item you are making. ** Header Level 4 **
|''Battle Robe''
|''Battle Robe''
|-
|sub-title
|Sub-classes or categories the item falls into.
|''Artifact, Ingredient, Light Armor''
|-
|icon
|File name for the icon.
|''SF CoE Icon Battle Robe.png''
|-
|value-gold
|The gold value of the item.
|''10''
|-
|value-mana
|The mana value of the item.
|
|-
|value-elemental
|The elemental ([[Image:SF CoE Elemental 1.png|20px]]) value (ingredients, artifacts, etc.) or threshold (recipes, room extensions, etc.).
|''2''
|-
|value-life
|The life ([[Image:SF CoE Life 1.png|20px]]) value (ingredients, artifacts, etc.) or threshold (recipes, room extensions, etc.).
|''1''
|-
|value-death
|The death ([[Image:SF CoE Death 1.png|20px]]) value (ingredients, artifacts, etc.) or threshold (recipes, room extensions, etc.).
|
|-
|value-arcane
|The arcane ([[Image:SF CoE Arcane 1.png|20px]]) value (ingredients, artifacts, etc.) or threshold (recipes, room extensions, etc.).
|
|-
|value-amplifier
|The amplifier ([[Image:SF CoE Amplifier 1.png|20px]]) value (ingredients, artifacts, etc.).
|
|-
|line-1
|rowspan="4"|The [first / second / third / fourth] line of the description (before any link / tooltip text).
|''+2 Speed''
|-
|line-2
|''Grants''
|-
|line-3
|
|-
|line-4
|
|-
|line-1-link
|rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>The linked text (can show tooltip display with mouse hover on computers).
|
|-
|line-2-link
|''Quick Reflexes''
|-
|line-3-link
|
|-
|line-4-link
|
|-
|line-1-link-page
|rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>The link for the page that has the full data.<br>If the page title matches ''EXACTLY'' with the [line-#-link] text, you can leave this out and it will automatically link to that page. (The example is blank because the page name is also Quick Reflexes.)
|
|-
|line-2-link-page
|
|-
|line-3-link-page
|
|-
|line-4-link-page
|
|-
|tooltip-1-type
|rowspan="4"|If there is no tooltip, do not use this parameter.<br>Use "tooltip", "tooltip-short", or "tooltip-long" to determine how far above the text the tooltip image should begin.
|
|-
|tooltip-2-type
|''tooltip-short''
|-
|tooltip-3-type
|
|-
|tooltip-4-type
|
|-
|tooltip-1-img
|rowspan="4"|If there is no tooltip, do not use this parameter.<br>File name for the tooltip image.
|
|-
|tooltip-2-img
|''SF CoE Ability Quick Reflexes.png''
|-
|tooltip-3-img
|
|-
|tooltip-4-img
|
|-
|line-1-end
|rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>Text that appears after a link / tooltip (if any).
|
|-
|line-2-end
|
|-
|line-3-end
|
|-
|line-4-end
|
|}
|}



Revision as of 23:50, 7 October 2023


CoE Spell

Inserts a single spell for CoE. While most parameters are optional, they should have real values for the spell to render correctly in the article.

Example Preview

Zombify

Instant
Sometimes you need to end a life to renew it.
Consuming the target to create a more pliable and resistant minion.
   Turn your own.

Example Usage

{{CoE Item
|title = Battle Robe
|sub-title = Artifact, Ingredient, Light Armor
|icon = SF CoE Icon Battle Robe.png
|value-gold = 10
|value-elemental = 2
|value-life = 1
|line-1 = +2 Speed.
|line-2 = Grants
|tooltip-2-type = tooltip-short
|tooltip-2 = Quick Reflexes
|tooltip-2-img = SF CoE Ability Quick Reflexes.png
}}

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. But if that is the only parameter you list, it will be an empty box (besides the item title).

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 item you are making. ** Header Level 4 ** Battle Robe

Template Markup

{{{title}}}

Elemental ThresholdLife ThresholdDeath ThresholdArcane ThresholdAmplifier Value