No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
</group> | </group> | ||
<group> | <group> | ||
<header>Stats</header> | <header><p style="border-bottom: 1px solid;">Stats</p> | ||
<span style="display: inline-block;box-sizing: border-box;font-style:italic;font-size:85%; color:#ff0;">The stats of this unit increase as a multiplicator of its level.</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%;"> | <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:{{{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>}} |
Latest revision as of 22:19, 16 April 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.
{{CharacterInfoBox
|name =
|icon =
|image = {{#setmainimage:name_your_image.jpg/png/gif/jpeg/webp}}
|caption =
|title =
|race =
|gender =
|class =
|specialization =
|rank =
|caste =
|skills =
|spells =
|location =
|quests = <ul style='list-style-type: "➢ ";'><li>List of quest envolving this character</li></ul>
|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 =
}}