No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
<data source="appearance"><label>Appears in</label><format>''{{{appearance}}}''</format></data> | <data source="appearance"><label>Appears in</label><format>''{{{appearance}}}''</format></data> | ||
</group> | </group> | ||
< | <group> | ||
<header>Stats</header> | <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%;"> | |||
<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> | |||
<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> | |||
<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> | |||
<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> | <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%;"> | |||
<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> | |||
<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> | |||
<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> | |||
<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> | |||
<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> | </group> | ||
</infobox> | </infobox> | ||
<noinclude> | <noinclude> | ||
__TOC__ | |||
== Usage == | == Usage == | ||
<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> | ||
{{CharacterInfoBox | |||
|name = | |||
|icon = | |||
|image = {{#setmainimage:SF logo.png}} | |||
|caption = | |||
|title = | |||
|race = | |||
|gender = | |||
|class = | |||
|specialization = | |||
|rank = | |||
|caste = | |||
|skills = | |||
|location = | |||
|quests = | |||
|status = | |||
|appearance = | |||
|unit_id = | |||
|drops = | |||
|health = | |||
|damage = | |||
|mana = | |||
|armor = | |||
|veryweak = | |||
|weak = | |||
|resistant = | |||
|veryresistant = | |||
|immune = | |||
}} | |||
</nowiki> | |||
</div> | |||
== Preview == | |||
<div style="width: fit-content; display: block;"> | |||
{{CharacterInfoBox | {{CharacterInfoBox | ||
|name = Default_is_Page_Name | |name = Default_is_Page_Name | ||
|icon = SF logo.png | |icon = SF logo.png | ||
|image = | |image = {{#setmainimage:SF logo.png}} | ||
|caption = image_caption | |caption = image_caption | ||
|title = Avatar, Hero, Companion, NPC, Merchant, ... | |title = Avatar, Hero, Companion, NPC, Merchant, ... | ||
Line 91: | Line 103: | ||
|unit_id = 1, 10, 148, ... | |unit_id = 1, 10, 148, ... | ||
|drops = item, item1, item2 | |drops = item, item1, item2 | ||
|health = | |health = 500 | ||
|damage = | |damage = 50 | ||
|mana = | |mana = 300 | ||
|armor = | |armor = 45 | ||
|veryweak = | |veryweak = slashing | ||
|weak = | |weak = piercing | ||
|resistant = | |resistant = white magic | ||
|veryresistant = | |veryresistant = ice magic | ||
|immune = | |immune = fire | ||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 13:05, 19 March 2023
Usage
{{CharacterInfoBox
|name =
|icon =
|image = {{#setmainimage:SF logo.png}}
|caption =
|title =
|race =
|gender =
|class =
|specialization =
|rank =
|caste =
|skills =
|location =
|quests =
|status =
|appearance =
|unit_id =
|drops =
|health =
|damage =
|mana =
|armor =
|veryweak =
|weak =
|resistant =
|veryresistant =
|immune =
}}