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
 
(One intermediate revision by the same user not shown)
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 64: Line 66:
  |restriction    =
  |restriction    =
  |armor          =
  |armor          =
|health        =
  |stats          =
  |stats          =
  |critical_chance=
  |critical_chance=
Line 95: 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