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

Revision as of 21:35, 18 March 2023 by 0z2y (talk | contribs)

There is a problem with parsing the infobox

  • 0
  • 1
    <navigation style="background: #210;"><div style="font-weight: bold;text-align: center;font-size: 14px;color: #fb5;">Character</div></navigation>
  • 2
    <title source="name">
  • 3
    <default>{{PAGENAME}}</default>
  • 4
    <format>{{#if:{{{icon|}}}|<div class="title-icon" style="float: right;">[[File:{{{icon|SF logo.png}}}|42px|link=]]</div>}}<span style="display: inline-block;width: calc(100% - 43px);padding: 0 2px;box-sizing: border-box;">{{{name|}}}</span></format>
  • 5
    </title>
  • 6
    <image source="image">
  • 7
    <caption source="caption" />
  • 8
    </image>
  • 9
    <data source="unit_id">
  • 10
    <label>Unit ID</label>
  • 11
    <format><span style="font-family: monospace; font-size: 8pt;">{{{unit_id|}}}</span></format>
  • 12
    </data>
  • 13
    <group>
  • 14
    <header><p style="padding: 3px;margin: 0;line-height: 1;">Basic Info</p></header>
  • 15
    <data source="title"><label>Title</label></data>
  • 16
    <data source="race"><label>Race</label></data>
  • 17
    <data source="gender"><label>Gender</label></data>
  • 18
    <data source="class"><label>Class</label></data>
  • 19
    <data source="specialization"><label>Specialization</label></data>
  • 20
    <data source="rank"><label>Rank</label></data>
  • 21
    <data source="caste"><label>Caste</label></data>
  • 22
    <data source="skills"><label>Skills</label></data>
  • 23
    <data source="status"><label>Status</label></data>
  • 24
    <data source="location"><label>Location</label></data>
  • 25
    <data source="quests"><label>Quests</label></data>
  • 26
    <data source="drops"><label>Drops</label></data>
  • 27
    <data source="appearance"><label>Appearances</label><format>''{{{appearance}}}''</format></data>
  • 28
    </group>
  • 29
    <group>
  • 30
    <header>Stats</header>
  • 31
    <data source="health"><label>Health 2★</label></data>
  • 32
    <data source="armor" span="2"><label>Armor 2★</label><format>{{armor}}</format></data>
  • 33
    <data source="mana" span="2"><label>Mana 2★</label><format>{{mana}}</format></data>
  • 34
    <data source="damage 2star" span="2"><label>Damage 2★</label><format>{{damage}}</format></data>
  • 35
    </group>
  • 36
    <header>Resistances</header>
  • 37
    <data source="veryweak"><label>Very weak</label><format>{{veryweak}}</format></data>
  • 38
    <data source="weak"><label>Weak</label><format>{{weak}}</format></data>
  • 39
    <data source="resistant"><label>Resistant</label><format>{{resistant}}</format></data>
  • 40
    <data source="veryresistant"><label>Very resistant</label><format>{{veryresistant}}</format></data>
  • 41
    <data source="immune"><label>Immune</label><format>{{immune}}</format></data>
  • 42
    </group>

    Opening and ending tag mismatch

  • 43

    Extra content at the end of the document

Usage

{{CharacterInfoBox |name = Default_is_Page_Name |icon = SF logo.png |image = <gallery><--USE_ONLY_IF_MULTIPLE_IMGS name_your_image.jpg/png/gif/jpeg/webp </gallery><--USE_ONLY_IF_MULTIPLE_IMGS | caption = image_caption |title = Avatar, Hero, Companion, NPC, Merchant, ... |race = Human, Elf, Dwarf, Orc, ... |gender = Male, Female |class = Warrior, Rogue, Mage, ... |specialization = Light Combat, Heavy Combat, Mind Magic, ... |rank = Elit Boss, Boss, Critter, ... |caste = Archon, Sinistra, Dracon (Dark Elves Only) |skills = Boons, Warcry, Taunt, ... |location = Greyfell |quests = <ul style='list-style-type: "➢ ";'><li>List of quest envolving this character</li></ul> |status = Alive, Dead, Undead, ... |appearance = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul> |unit_id = 1, 10, 148, ... | drops = item, item1, item2 | health = | damage = | mana = | armor = | veryweak = | weak = | resistant = | veryresistant = | immune = }}