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
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
<data source="armor"><label>Armor</label></data>
<data source="armor"><label>Armor</label></data>
<data source="health"><label>Health</label></data>
<data source="health"><label>Health</label></data>
   <data source="stats"><label>Stats</label><format><p style="font-size:12px; color: #6a0;">{{{stats}}}</p></format></data>
   <data source="stats"><label>Stats</label><format><div style="font-size:12px; color: #6a0;">{{{stats}}}</div></format></data>
<data source="locations"><label>Locations</label></data>
<data source="locations"><label>Locations</label></data>
<data source="quests"><label>Quests</label></data>
<data source="quests"><label>Quests</label></data>
Line 49: Line 49:
__TOC__
__TOC__
== Usage ==
== Usage ==
'''NOTE:''' the setting <span style="color:#ea3"><b><nowiki>{{#setmainimage:</nowiki></b><i style="opacity: 0.65;">name_your_image.jpg/png/gif/jpeg/webp</i><b><nowiki>}}</nowiki></b></span> is used IF you want to define that image as the main image to show on social media sharing sites.
<div style="font-family: Consolas, Monaco, monospace;padding: 5px 10px;width: fit-content;border-radius: 10px;overflow-wrap: normal;background-color: rgba(255, 255, 255, 0.65);border: 1px solid #222;color: #333;line-height: 1.2;overflow: auto;white-space: pre-wrap;box-shadow: 0 5px 3px -3px rgba(0,0,0,.5);"><nowiki>
<div style="font-family: Consolas, Monaco, monospace;padding: 5px 10px;width: fit-content;border-radius: 10px;overflow-wrap: normal;background-color: rgba(255, 255, 255, 0.65);border: 1px solid #222;color: #333;line-height: 1.2;overflow: auto;white-space: pre-wrap;box-shadow: 0 5px 3px -3px rgba(0,0,0,.5);"><nowiki>
{{ItemInfoBox
{{ItemInfoBox
Line 57: Line 59:
  |item_id        =   
  |item_id        =   
  |description    =  
  |description    =  
|location      =
  |type          =  
  |type          =  
  |material      =
  |material      =
Line 65: Line 66:
  |restriction    =
  |restriction    =
  |armor          =
  |armor          =
|health        =
  |stats          =
  |stats          =
  |critical_chance=
  |critical_chance=
|damagetype    =
  |damage        =
  |damage        =
  |dps            =
  |dps            =
Line 88: Line 89:
  |caption        = image_caption
  |caption        = image_caption
  |description    = This is where you write the in-game description or from the lore, if exists
  |description    = This is where you write the in-game description or from the lore, if exists
|location      = Where it can be found
  |type          = Ring, Gem, Sword, Dagger, Bow
  |type          = Ring, Gem, Sword, Dagger, Bow
  |material      = Varies
  |material      = Varies
Line 96: Line 96:
  |restriction    = White Magic
  |restriction    = White Magic
  |armor          = 10
  |armor          = 10
|health        = 200
  |stats          = Mana: 880<br>Fire Resistance: +75% Fire Resistance<br>Dark Resistance: +50% Black Magic Resistance
  |stats          = Mana: 880<br>Fire Resistance: +75% Fire Resistance<br>Dark Resistance: +50% Black Magic Resistance
  |critical_chance= 20
  |critical_chance= 20

Latest revision as of 23:36, 21 March 2023

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.

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

Preview