Anonymous
×
Create a new article
Write your page title here:
We currently have 667 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:CharacterInfoBox: Difference between revisions

Bapt890 (talk | contribs)
No edit summary
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 11: Line 11:
<format><span style="font-family: monospace; font-size: 8pt;">{{{unit_id|}}}</span></format>
<format><span style="font-family: monospace; font-size: 8pt;">{{{unit_id|}}}</span></format>
</data>
</data>
    <data source="size">
        <label>Unit size</label>
<format><span style="font-family: monospace; font-size: 8pt;">{{{size|}}}</span></format>
    </data>
   <group>
   <group>
     <header><p style="padding: 3px;margin: 0;line-height: 1;">Basic Info</p></header>
     <header><p style="padding: 3px;margin: 0;line-height: 1;">Basic Info</p></header>
Line 21: Line 25:
     <data source="allegiance"><label>Allegiance</label></data>
     <data source="allegiance"><label>Allegiance</label></data>
<data source="caste"><label>Caste</label></data>
<data source="caste"><label>Caste</label></data>
    <data source="related"><label>Related</label></data>
<data source="skills"><label>Skills</label></data>
<data source="skills"><label>Skills</label></data>
     <data source="spells"><label>Spells</label><format>{{{spells}}}</format></data>
     <data source="spells"><label>Spells</label><format>{{{spells}}}</format></data>
<data source="status"><label>Status</label></data>
<data source="status"><label>Status</label></data>
<data source="location"><label>Location</label></data>
<data source="location"><label>Location</label></data>
<data source="quests"><label>Influence</label></data>
<data source="quests"><label>Involvement</label></data>
     <data source="drops"><label>Drops</label></data>
     <data source="drops"><label>Drops</label></data>
<data source="appearance"><label>Appears in</label><format>{{{appearance}}}</format></data>
<data source="appearance"><label>Appears in</label><format>{{{appearance}}}</format></data>
Line 33: Line 38:
<span style="display: inline-block;box-sizing: border-box;font-style:italic;font-size:85%; color:#ff0;">The stats of this unit increase as a multiplicator of its level.</span></header>
<span style="display: inline-block;box-sizing: border-box;font-style:italic;font-size:85%; color:#ff0;">The stats of this unit increase as a multiplicator of its level.</span></header>
<data source="health"><format><div class="grid-row" style="display: flex;flex-flow: row wrap;justify-content: center;align-items: center;padding: 0;gap: 3px;width: 100%;">
<data source="health"><format><div class="grid-row" style="display: flex;flex-flow: row wrap;justify-content: center;align-items: center;padding: 0;gap: 3px;width: 100%;">
{{#if:{{{level|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 5px 7px;line-height: 1;margin: 0;border: 1px solid #ca6;box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);"><b>Met at level 💪</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{level}}}</span></div>}}<br>
       {{#if:{{{health|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 5px 7px;line-height: 1;margin: 0;border: 1px solid #ca6;box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);"><b>Health ❤️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{health}}}</span></div>}}
       {{#if:{{{health|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 5px 7px;line-height: 1;margin: 0;border: 1px solid #ca6;box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);"><b>Health ❤️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{health}}}</span></div>}}
       {{#if:{{{mana|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 5px 7px;line-height: 1;margin:0;border: 1px solid #ca6;box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);"><b>Mana ⚡️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{mana}}}</span></div>}}
       {{#if:{{{mana|}}}|<div class="grid-item" style="display: flex;color: #eebe36;text-align: center;font-family: sans-serif;flex-direction: column;align-items: stretch;padding: 5px 7px;line-height: 1;margin:0;border: 1px solid #ca6;box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);"><b>Mana ⚡️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{mana}}}</span></div>}}
Line 70: Line 76:
  |allegiance    =
  |allegiance    =
  |caste          =  
  |caste          =  
|related        =
  |skills        =  
  |skills        =  
  |spells        =  
  |spells        =  
Line 77: Line 84:
  |appearance    = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
  |appearance    = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
  |unit_id        =  
  |unit_id        =  
|size          =
  |drops          =  
  |drops          =  
|level          =
  |health        =  
  |health        =  
  |damage        =
  |damage        =
Line 112: Line 121:
  |appearance    = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
  |appearance    = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
  |unit_id        = 1, 10, 148, ...
  |unit_id        = 1, 10, 148, ...
|size          = +20%, -50%, ...
  |drops          = item, item1, item2
  |drops          = item, item1, item2
|level          = 10
  |health        = 500
  |health        = 500
  |damage        = 50
  |damage        = 50

Latest revision as of 02:14, 12 November 2025

Usage

NOTE: the setting {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}} is used IF you want to define that image as the main image to show on social media sharing sites.


{{CharacterInfoBox |name = |icon = |image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}} |caption = |title = |race = |gender = |class = |specialization = |rank = |allegiance = |caste = |related = |skills = |spells = |location = |quests = <ul style='list-style-type: "➢ ";'><li>List of quest envolving this character</li></ul> |status = |appearance = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul> |unit_id = |size = |drops = |level = |health = |damage = |mana = |armor = |veryweak = |weak = |resistant = |veryresistant = |immune = }}

Preview