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

User:Eviand/Pulltest: Difference between revisions

From SpiritVale Wiki
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]</noinclude>
== Definitions visual test ==
<!-- Ultra-Compact CSS Infobox with Colored Columns and Light Lines -->
 
<div style="display:inline-block; max-width:90%; 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.
<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;">
 
'''{{{BoxName}}}'''
=== Inline prose (icons on) ===
</div>
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}}.
<div style="padding:4px;">
 
{{#if: {{{A1|}}} |  
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="display:flex; flex-wrap:wrap; margin-bottom:2px;">
 
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A1}}}</div>
=== Inline prose (noicon=1 sanity) ===
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B1}}}</div>
These should behave the same as above, but without icons:
</div>
{{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}}.
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
 
}}
=== Missing record sanity ===
{{#if: {{{A2|}}} |
This should render a visible “?” missing marker and NO popup data:
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
{{def|Stat|DefinitelyNotARealKey}}
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A2}}}</div>
 
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B2}}}</div>
=== Linked header smoke test (manual) ===
</div>
This one does not depend on Definitions.json; it verifies the “header title is a link” behavior directly:
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
<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>
}}
 
{{#if: {{{A3|}}} |
=== List density test ===
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
* Core stats: {{def|Stat|Str}}, {{def|Stat|Vit}}, {{def|Stat|Agi}}, {{def|Stat|Dex}}, {{def|Stat|Int}}, {{def|Stat|Luk}}
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A3}}}</div>
* Combat: {{def|Stat|Atk}}, {{def|Stat|Matk}}, {{def|Stat|Hit}}, {{def|Stat|Flee}}
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B3}}}</div>
* Defense: {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}, {{def|Stat|Mp}}
</div>
* Types: {{def|Cast|Target}}, {{def|Cast|Ground}}, {{def|Cast|Toggle}}, {{def|Damage|Melee}}, {{def|Damage|Magic}}
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
* Elements: {{def|Element|Neutral}}, {{def|Element|Fire}}, {{def|Element|Water}}, {{def|Element|Wind}}, {{def|Element|Earth}}, {{def|Element|Shadow}}
}}
 
{{#if: {{{A4|}}} |
=== Table density test ===
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
{| class="wikitable"
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A4}}}</div>
! Scenario !! Cast !! Damage !! Element !! Notable stats
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B4}}}</div>
|-
</div>
| Basic strike || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Neutral}} || {{def|Stat|Atk}}, {{def|Stat|Hit}}
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
|-
}}
| Ground spell || {{def|Cast|Ground}} || {{def|Damage|Magic}} || {{def|Element|Fire}} || {{def|Stat|Matk}}, {{def|Stat|Int}}
{{#if: {{{A5|}}} |  
|-
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
| Toggle buff || {{def|Cast|Toggle}} || {{def|Damage|Magic}} || {{def|Element|Holy}} || {{def|Stat|Mp}}, {{def|Stat|Vit}}
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A5}}}</div>
|-
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B5}}}</div>
| Defensive build || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Shadow}} || {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}
</div>
|}
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
 
}}
{{def|Damage|Healing}}
{{#if: {{{A6|}}} |  
{{def|Damage|True}}
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
{{def|Damage|Status}}
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A6}}}</div>
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B6}}}</div>
</div>
<hr style="border:none; border-top:1px solid #ddd; margin:2px 0;">
}}
{{#if: {{{A7|}}} |  
<div style="display:flex; flex-wrap:wrap; margin-bottom:2px;">
<div style="flex:0 0 {{{Col1Width|35%}}}; background:#e6e3f0; font-weight:bold; padding:2px 4px; overflow-wrap:break-word; white-space:normal;">{{{A7}}}</div>
<div style="flex:1; background:#ffffff; padding:2px 4px; max-width:{{{Col2Width|200px}}}; overflow-wrap:break-word; white-space:normal;">{{{B7}}}</div>
</div>
}}
</div>
</div>