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
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]</noinclude>
== Definitions visual test ==
<!-- Auto-Shrink Infobox with Proper Wrapping -->
 
<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}}.
<table style="width:auto; border-collapse:collapse; font-size:100%;">
 
{{#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}}.
<tr>
 
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A1}}}</td>
=== Inline prose (noicon=1 sanity) ===
<td style="padding:2px 4px;">{{{B1}}}</td>
These should behave the same as above, but without icons:
</tr>
{{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}}.
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
 
}}
=== Missing record sanity ===
{{#if: {{{A2|}}} |  
This should render a visible “?” missing marker and NO popup data:
<tr>
{{def|Stat|DefinitelyNotARealKey}}
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A2}}}</td>
 
<td style="padding:2px 4px;">{{{B2}}}</td>
=== Linked header smoke test (manual) ===
</tr>
This one does not depend on Definitions.json; it verifies the “header title is a link” behavior directly:
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
<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 ===
<tr>
* Core stats: {{def|Stat|Str}}, {{def|Stat|Vit}}, {{def|Stat|Agi}}, {{def|Stat|Dex}}, {{def|Stat|Int}}, {{def|Stat|Luk}}
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A3}}}</td>
* Combat: {{def|Stat|Atk}}, {{def|Stat|Matk}}, {{def|Stat|Hit}}, {{def|Stat|Flee}}
<td style="padding:2px 4px;">{{{B3}}}</td>
* Defense: {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}, {{def|Stat|Mp}}
</tr>
* Types: {{def|Cast|Target}}, {{def|Cast|Ground}}, {{def|Cast|Toggle}}, {{def|Damage|Melee}}, {{def|Damage|Magic}}
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
* Elements: {{def|Element|Neutral}}, {{def|Element|Fire}}, {{def|Element|Water}}, {{def|Element|Wind}}, {{def|Element|Earth}}, {{def|Element|Shadow}}
}}
 
{{#if: {{{A4|}}} |  
=== Table density test ===
<tr>
{| class="wikitable"
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A4}}}</td>
! Scenario !! Cast !! Damage !! Element !! Notable stats
<td style="padding:2px 4px;">{{{B4}}}</td>
|-
</tr>
| Basic strike || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Neutral}} || {{def|Stat|Atk}}, {{def|Stat|Hit}}
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
|-
}}
| Ground spell || {{def|Cast|Ground}} || {{def|Damage|Magic}} || {{def|Element|Fire}} || {{def|Stat|Matk}}, {{def|Stat|Int}}
{{#if: {{{A5|}}} |
|-
<tr>
| Toggle buff || {{def|Cast|Toggle}} || {{def|Damage|Magic}} || {{def|Element|Holy}} || {{def|Stat|Mp}}, {{def|Stat|Vit}}
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A5}}}</td>
|-
<td style="padding:2px 4px;">{{{B5}}}</td>
| Defensive build || {{def|Cast|Target}} || {{def|Damage|Melee}} || {{def|Element|Shadow}} || {{def|Stat|Def}}, {{def|Stat|Mdef}}, {{def|Stat|Hp}}
</tr>
|}
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
 
}}
{{def|Damage|Healing}}
{{#if: {{{A6|}}} |  
{{def|Damage|True}}
<tr>
{{def|Damage|Status}}
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A6}}}</td>
<td style="padding:2px 4px;">{{{B6}}}</td>
</tr>
<tr><td colspan="2"><hr style="border:none; border-top:1px solid #ccc; margin:2px 0;"></td></tr>
}}
{{#if: {{{A7|}}} |  
<tr>
<td style="width:28%; max-width:120px; text-align:left; padding:2px 4px; overflow-wrap:normal;">{{{A7}}}</td>
<td style="padding:2px 4px;">{{{B7}}}</td>
</tr>
}}
</table>
</div>