Line 25:
Line 25:
<data source="artifact_slot"><label>Artifact Slot</label></data>
<data source="artifact_slot"><label>Artifact Slot</label></data>
<data source="mind_slot"><label>Mind Slot</label></data>
<data source="mind_slot"><label>Mind Slot</label></data>
</group>
<group>
<header><p style="border-bottom: 1px solid;">Slots</p>
<span style="display: inline-block;box-sizing: border-box;font-style:italic;font-size:85%; color:#ff0;"> - - - </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%;">
{{#if:{{{glyph_slot|}}}|<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>Glyph Slot</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{glyph_slot}}}</span></div>}}
{{#if:{{{artifact_slot|}}}|<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>Artifact Slot</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{artifact_slot}}}</span></div>}}
{{#if:{{{mind_slot|}}}|<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>Mind Slot</b> <span style="font-size: 12px;width: fit-content;height: auto;display:block;margin: 3px auto 0;">{{{mind_slot}}}</span></div>}}
</div></format></data>
</group>
</group>
</infobox>
</infobox>
Revision as of 12:01, 9 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_CoE
|name =
|icon =
|image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}}
|caption =
|title =
|unit_type =
|unit_upkeep =
|health =
|focus =
|armor =
|willpower =
|speed =
|glyph_slot =
|artifact_slot =
|mind_slot =
}}
Preview
Character InfoBox
image_caption
Unit Type
Human, Elf, Dwarf, Orc, ...