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:ItemInfoBox: Difference between revisions

0z2y (talk | contribs)
No edit summary
0z2y (talk | contribs)
No edit summary
Line 22: Line 22:
<data source="dps"><label>DPS</label></data>
<data source="dps"><label>DPS</label></data>
<data source="damagetype"><label>Damage Type</label></data>
<data source="damagetype"><label>Damage Type</label></data>
<data source="mindamage">
<data source="damage"><label>Damage</label><format><p style="font-size:12px; color: #4e4;">{{{damage}}}</p></format></data>
<label>Damage</label>
<format>{{#if:{{{mindamage|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding:0;line-height: 1;margin: 0;"><b>Min. Damage</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{mindamage}}}</span></div>
<span style="display:inline-block; margin: 0 5px;">⚔️</span>
  <div class="grid-item" style="display: flex;color: #eb3;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 0;line-height: 1;margin: 0;"><b>Max. Damage</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{maxdamage}}}</span></div> }}</format>
</data>
<data source="requires"><label>Requires</label></data>
<data source="requires"><label>Requires</label></data>
<data source="restriction"><label>Restriction</label></data>
<data source="restriction"><label>Restriction</label></data>
<data source="attack_speed"><label>Attack Speed (mm)</label></data>
<data source="critical_chance"><label>Critical Chance</label></data>
<data source="critical_chance"><label>Critical Chance</label></data>
<data source="range"><label>Range</label></data>
<data source="range"><label>Range</label></data>
Line 74: Line 68:
  |stats          =
  |stats          =
  |critical_chance=
  |critical_chance=
|attack_speed  =
  |damage        =
  |damage        =
  |dps            =
  |dps            =
Line 108: Line 101:
  |attack_speed  = 1400
  |attack_speed  = 1400
  |damagetype    = Physical
  |damagetype    = Physical
  |mindamage      = 140.00
  |damage        = 140-280 every 1.4s
|maxdamage      = 280.00
  |dps            = 22
  |dps            = 22
  |range          = 0
  |range          = 0

Revision as of 20:17, 19 March 2023

Usage

{{ItemInfoBox |name = |icon = |image = {{#setmainimage:SF logo.png}} |caption = |item_id = |description = |location = |type = |material = |tier = (OPTIONAL) |set = |requires = |restriction = |armor = |health = |stats = |critical_chance= |damage = |dps = |range = |valuebuy = |valuesell = |quests = |locations = |appearances = |notes = }}

Preview