Line 7:
Line 7:
<caption source="caption" />
<caption source="caption" />
</image>
</image>
<data source="unit_id">
<label>Unit ID</label>
<format><span style="font-family: monospace; font-size: 8pt;">{{{unit_id|}}}</span></format>
</data>
<group>
<group>
<data source="title"><label>Developer(s)</label></data>
<data source="info "><label>Info </label><format><span style="font-size:95%;font-family:Roboto;padding: 0 2px;box-sizing: border-box;">{{{info}}}</span></format ></data>
<data source="race"><label>Publisher(s)</label></data>
<data source="platform "><label>Platform (s)</label></data>
<data source="gender"><label>Release</label></data>
<data source="release "><label>Release</label><format>First Released {{{release}}}</format></data>
<data source="class"><label>Platform(s)</label></data>
<data source="developed"><label>Developed by </label></data>
<data source="specialization"><label>Game-Engine</label></data>
<data source="publisher"><label>Published by</label></data>
<data source="rank"><label>Thematic</label></data>
<data source="genre "><label>Genre (s)</label></data>
<data source="caste"><label>Game Mode(s)</label></data>
<data source="theme "><label>Theme(s) </label></data>
<data source="skills"><label>Control Scheme</label></data>
<data source="engine "><label>Game-Engine </label></data>
<data source="spells"><label>Genre(s)</label><format>{{{spells}}}</format></data>
<data source="mode "><label>Game Mode(s)</label></data>
<data source="scheme "><label>Control Scheme</label></data>
<data source="ratings "><label>Rating</label><format><!--{{#if:{{{ratings|Everyone|}}}|<div class="evy-icon" style="float: left;">[[File:SF logo.png|42px|link=]]</div><span style="display: inline-block;width: calc (100% - 43px );padding: 0 2px;box-sizing: border-box;font-size:85%;">Blood, Fantasy Violence </span>}}{{#if:{{{ratings|Teen|}}}|<div class="teen-icon" style="float: left;">[[File:SF logo.png|42px|link=]]</div><span style="display: inline-block;width: calc(100% - 43px);padding: 0 2px;box-sizing: border-box;font-size:85%;" >Blood, Fantasy Violence </span>}}-- >{{#if:{{{Everyone}}}|evey}}{{#if:{{{Teen}}|teeney}}{{#if: {{{Mature }}}|6<!-- processing path with arguments y,m,d regardless of original call pattern --> }}</format></data>
</group>
</group>
<group>
<header>Stats</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%;">
{{#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:{{{armor|}}}|<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>Armor 🛡️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{armor}}}</span></div>}}
{{#if:{{{damage|}}}|<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>Damage ⚔️</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{damage}}}</span></div>}}
</div></format></data>
</group>
<group>
<header>Resistances</header>
<data source="resistant"><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:{{{veryweak|}}}|<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>Very weak</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{veryweak}}}</span></div>}}
{{#if:{{{weak|}}}|<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>Weak</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{weak}}}</span></div>}}
{{#if:{{{resistant|}}}|<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>Resistant</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{resistant}}}</span></div>}}
{{#if:{{{veryresistant|}}}|<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>Very resistant</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{veryresistant}}}</span></div>}}
{{#if:{{{immune|}}}|<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>Immune</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{immune}}}</span></div>}}
</div></format></data>
</group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Line 54:
Line 33:
|image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}}
|image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}}
|caption =
|caption =
|title =
|info =
|race =
|platform =
|gender =
|release =
|class =
|developed =
|specialization =
|publisher =
|rank =
|genre =
|caste =
|theme =
|skills =
|engine =
|spells =
|mode =
|location =
|scheme =
|quests = <ul style='list-style-type: "➢ ";'><li>List of quest envolving this character</li></ul>
|ratings =
|status =
|appearance = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
|unit_id =
|drops =
|health =
|damage =
|mana =
|armor =
|veryweak =
|weak =
|resistant =
|veryresistant =
|immune =
}}
}}
</nowiki>
</nowiki>
Line 83:
Line 49:
== Preview ==
== Preview ==
<div style="width: fit-content; display: block;">
<div style="width: fit-content; display: block;">
{{CharacterInfoBox
{{GameInfoBox
|name = Character InfoBox
|name = Character InfoBox
|icon = SF logo.png
|icon = SF logo.png
|image = {{#setmainimage:SF logo.png}}
|image = {{#setmainimage:SF logo.png}}
|caption = image_caption
|caption = image_caption
|title = Avatar, Hero, Companion, NPC, Merchant, ...
|info = This is where you write a small , tiny resume about the game ...
|race = Human, Elf, Dwarf, Orc, ...
|platform = PC , XboX , PS3 , Mac , ...
|gender = Male, Female
|release = 14 Feb , 2004
|class = Warrior, Rogue, Mage, ...
|developed = Phenomic , ...
|specialization = Light Combat, Heavy Combat, Mind Magic, ...
|publisher = THQ Nordic , ...
|rank = Critter, Weak, Normal, Lieutenant, Boss, Elite Boss, Player
|genre = Real-Time , Strategy
|caste = Archon, Sinistra, Dracon (Dark Elves Only)
|theme = Fantasy ,...
|skills = Boons, Warcry, Taunt, ...
|engine = Boons, Warcry, Taunt, ...
|spells = Heal, Pain, ...
|mode = Heal, Pain, ...
|location = Greyfell
|scheme = Greyfell
|quests = <ul style='list-style-type: "➢ ";'><li>List of quest envolving this character</li></ul>
|ratings = Teen
|status = Alive, Dead, Undead, ...
|everyone =
|appearance = <ul style='list-style-type: "➢ ";'><li>ToOD</li><li>BoW</li><li>SotP</li><li> ...</li></ul>
|teen =
|unit_id = 1, 10, 148, ...
|mature =
|drops = item, item1, item2
|adult =
|health = 500
|damage = 50
|mana = 300
|armor = 45
|veryweak = slashing
|weak = piercing
|resistant = white magic
|veryresistant = ice magic
|immune = fire
}}
}}
</div>
</div>
</noinclude>
</noinclude>
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.
{{GameInfoBox
|name =
|icon =
|image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}}
|caption =
|info =
|platform =
|release =
|developed =
|publisher =
|genre =
|theme =
|engine =
|mode =
|scheme =
|ratings =
}}
Preview
Character InfoBox
image_caption
Info
This is where you write a small, tiny resume about the game...
Platform(s)
PC, XboX, PS3, Mac, ...
Release
First Released 14 Feb, 2004
Developed by
Phenomic, ...
Published by
THQ Nordic, ...
Genre(s)
Real-Time, Strategy
Game-Engine
Boons, Warcry, Taunt, ...
Game Mode(s)
Heal, Pain, ...