Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]</noinclude>
== Definitions visual test ==
<!-- Compact Infobox Template with Equal Height Columns, Word Wrapping, and Mobile-Safe Inline Styles -->


<div style="display:inline-block; width:100%; max-width:20%; min-width:calc(20%); box-sizing:border-box; margin:0 0 1em 1em; float:{{{float|right}}}; border:2px solid #5a4e7c; background:#f0f2f8; border-radius:12px; box-shadow:0 2px 4px rgba(0,0,0,0.2); font-size:95%; overflow:hidden;">
This page tests {{def}} output and Universal Popups behavior.


<!-- Header Section -->
=== Inline prose (icons on) ===
<div style="background:linear-gradient(180deg,#7a6fb0,#5a4e7c); color:white; text-align:center; padding:4px 6px; font-size:110%; border-top-left-radius:10px; border-top-right-radius:10px;">
Core stats show up constantly: {{def|Stat|Str}}, {{def|Stat|Agi}}, {{def|Stat|Dex}}, {{def|Stat|Int}}, {{def|Stat|Vit}}, and {{def|Stat|Luk}}. Combat stats like {{def|Stat|Atk}} and {{def|Stat|Matk}} pair with accuracy {{def|Stat|Hit}} and avoidance {{def|Stat|Flee}}. Defensive lines usually mention {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}, and {{def|Stat|Mp}}.
'''{{{BoxName}}}'''
</div>


<!-- Content Section -->
Casting types like {{def|Cast|Target}}, {{def|Cast|Ground}}, and {{def|Cast|Toggle}} control delivery, while damage can be {{def|Damage|Melee}} or {{def|Damage|Magic}}. Elements often rotate between {{def|Element|Fire}}, {{def|Element|Water}}, {{def|Element|Wind}}, {{def|Element|Earth}}, and {{def|Element|Shadow}}.
<div style="padding:0;">


<!-- Row 1 -->
=== Inline prose (noicon=1 sanity) ===
{{#if: {{{A1|}}} |  
These should behave the same as above, but without icons:
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
{{def|Stat|Str|noicon=1}}, {{def|Stat|Agi|noicon=1}}, {{def|Stat|Dex|noicon=1}}, {{def|Stat|Int|noicon=1}}, {{def|Stat|Vit|noicon=1}}, {{def|Stat|Luk|noicon=1}}.
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A1}}}</div>
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B1}}}</div>
</div>
}}


<!-- Row 2 -->
=== Missing record sanity ===
{{#if: {{{A2|}}} |  
This should render a visible “?” missing marker and NO popup data:
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
{{def|Stat|DefinitelyNotARealKey}}
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A2}}}</div>
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B2}}}</div>
</div>
}}


<!-- Row 3 -->
=== Linked header smoke test (manual) ===
{{#if: {{{A3|}}} |
This one does not depend on Definitions.json; it verifies the “header title is a link” behavior directly:
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
<span class="sv-def" tabindex="0" data-sv-def-tip="Linked definition: header title should be a real link.\nHover/click behavior should still match Universal Popups." data-sv-def-link="Casting">Casting (manual link)</span>
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A3}}}</div>
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B3}}}</div>
</div>
}}


<!-- Row 4 -->
=== List density test ===
{{#if: {{{A4|}}} |  
* Core stats: {{def|Stat|Str}}, {{def|Stat|Vit}}, {{def|Stat|Agi}}, {{def|Stat|Dex}}, {{def|Stat|Int}}, {{def|Stat|Luk}}
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
* Combat: {{def|Stat|Atk}}, {{def|Stat|Matk}}, {{def|Stat|Hit}}, {{def|Stat|Flee}}
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A4}}}</div>
* Defense: {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}, {{def|Stat|Mp}}
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B4}}}</div>
* Types: {{def|Cast|Target}}, {{def|Cast|Ground}}, {{def|Cast|Toggle}}, {{def|Damage|Melee}}, {{def|Damage|Magic}}
</div>
* Elements: {{def|Element|Neutral}}, {{def|Element|Fire}}, {{def|Element|Water}}, {{def|Element|Wind}}, {{def|Element|Earth}}, {{def|Element|Shadow}}
}}


<!-- Row 5 -->
=== Table density test ===
{{#if: {{{A5|}}} |  
{| class="wikitable"
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
! Scenario !! Cast !! Damage !! Element !! Notable stats
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A5}}}</div>
|-
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B5}}}</div>
| Basic strike || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Neutral}} || {{def|Stat|Atk}}, {{def|Stat|Hit}}
</div>
|-
}}
| Ground spell || {{def|Cast|Ground}} || {{def|Damage|Magic}} || {{def|Element|Fire}} || {{def|Stat|Matk}}, {{def|Stat|Int}}
|-
| Toggle buff || {{def|Cast|Toggle}} || {{def|Damage|Magic}} || {{def|Element|Holy}} || {{def|Stat|Mp}}, {{def|Stat|Vit}}
|-
| Defensive build || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Shadow}} || {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}
|}


<!-- Row 6 -->
{{def|Damage|Healing}}
{{#if: {{{A6|}}} |
{{def|Damage|True}}
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
{{def|Damage|Status}}
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #f7f7f7;">{{{A6}}}</div>
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal; border-bottom:1px solid #ccc;">{{{B6}}}</div>
</div>
}}
 
<!-- Row 7 -->
{{#if: {{{A7|}}} |  
<div style="display:flex; align-items:stretch; flex-wrap:nowrap;">
<div style="flex:0 0 {{{Col1Width|35%}}}; display:flex; align-items:center; background:#e6e3f0; font-weight:bold; padding:4px; word-break:break-word; white-space:normal;">{{{A7}}}</div>
<div style="flex:1; max-width:48ch; display:flex; align-items:center; background:#ffffff; padding:4px; word-break:break-word; white-space:normal;">{{{B7}}}</div>
</div>
}}
 
</div>
</div>

Latest revision as of 17:56, 9 March 2026

Definitions visual test

edit edit source

This page tests ? output and Universal Popups behavior.

Inline prose (icons on)

edit edit source

Core stats show up constantly: Strength, Agility, Dexterity, Intelligence, Vitality, and Luck. Combat stats like Attack and Magic Attack pair with accuracy Hit Rate and avoidance Flee. Defensive lines usually mention Defense, Magic Defense, Health Points, and Mana Points.

Casting types like Target, Ground, and Toggle control delivery, while damage can be Melee or Magic. Elements often rotate between Fire, Water, Wind, Earth, and Shadow.

Inline prose (noicon=1 sanity)

edit edit source

These should behave the same as above, but without icons: Strength, Agility, Dexterity, Intelligence, Vitality, Luck.

Missing record sanity

edit edit source

This should render a visible “?” missing marker and NO popup data: Definitely Not A Real Key

Linked header smoke test (manual)

edit edit source

This one does not depend on Definitions.json; it verifies the “header title is a link” behavior directly: Casting (manual link)

List density test

edit edit source
  • Core stats: Strength, Vitality, Agility, Dexterity, Intelligence, Luck
  • Combat: Attack, Magic Attack, Hit Rate, Flee
  • Defense: Defense, Magic Defense, Health Points, Mana Points
  • Types: Target, Ground, Toggle, Melee, Magic
  • Elements: Neutral, Fire, Water, Wind, Earth, Shadow

Table density test

edit edit source
Scenario Cast Damage Element Notable stats
Basic strike Target Melee Neutral Attack, Hit Rate
Ground spell Ground Magic Fire Magic Attack, Intelligence
Toggle buff Toggle Magic Holy Mana Points, Vitality
Defensive build Target Melee Shadow Defense, Magic Defense, Health Points

Healing True Status