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
Tag: wikieditor
No edit summary
Tags: wikieditor mobile web edit mobile 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>

Latest revision as of 17:56, 9 March 2026

Definitions visual test

edit

This page tests <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|
|
|noicon=
|pill=}
|fill=}

}} output and Universal Popups behavior.

Inline prose (icons on)

edit

Core stats show up constantly: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Str
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Agi
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Dex
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Int
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Vit
|noicon=
|pill=}
|fill=}

}}, and <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Luk
|noicon=
|pill=}
|fill=}

}}. Combat stats like <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Atk
|noicon=
|pill=}
|fill=}

}} and <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Matk
|noicon=
|pill=}
|fill=}

}} pair with accuracy <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Hit
|noicon=
|pill=}
|fill=}

}} and avoidance <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Flee
|noicon=
|pill=}
|fill=}

}}. Defensive lines usually mention <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Def
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Mdef
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Hp
|noicon=
|pill=}
|fill=}

}}, and <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Mp
|noicon=
|pill=}
|fill=}

}}.

Casting types like <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Cast
|Target
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Cast
|Ground
|noicon=
|pill=}
|fill=}

}}, and <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Cast
|Toggle
|noicon=
|pill=}
|fill=}

}} control delivery, while damage can be <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Melee
|noicon=
|pill=}
|fill=}

}} or <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Magic
|noicon=
|pill=}
|fill=}

}}. Elements often rotate between <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Fire
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Water
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Wind
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Earth
|noicon=
|pill=}
|fill=}

}}, and <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Shadow
|noicon=
|pill=}
|fill=}

}}.

Inline prose (noicon=1 sanity)

edit

These should behave the same as above, but without icons: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Str
|noicon=1
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Agi
|noicon=1
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Dex
|noicon=1
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Int
|noicon=1
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Vit
|noicon=1
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Luk
|noicon=1
|pill=}
|fill=}

}}.

Missing record sanity

edit

This should render a visible “?” missing marker and NO popup data: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|DefinitelyNotARealKey
|noicon=
|pill=}
|fill=}

}}

Linked header smoke test (manual)

edit

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
  • Core stats: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def
|Stat
|Str
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Vit
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Agi
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Dex
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Int
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Luk
|noicon=
|pill=}
|fill=}

}}

  • Combat: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def
|Stat
|Atk
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Matk
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Hit
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Flee
|noicon=
|pill=}
|fill=}

}}

  • Defense: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def
|Stat
|Def
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Mdef
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Hp
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Stat
|Mp
|noicon=
|pill=}
|fill=}

}}

  • Types: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def
|Cast
|Target
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Cast
|Ground
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Cast
|Toggle
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Melee
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Magic
|noicon=
|pill=}
|fill=}

}}

  • Elements: <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def
|Element
|Neutral
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Fire
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Water
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Wind
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Earth
|noicon=
|pill=}
|fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Element
|Shadow
|noicon=
|pill=}
|fill=}

}}

Table density test

edit
Scenario Cast Damage Element Notable stats
Basic strike def Cast Target noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Damage Melee noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Element Neutral noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Atk noicon= pill=} fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Hit noicon= pill=} fill=}

}}

Ground spell def Cast Ground noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Damage Magic noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Element Fire noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Matk noicon= pill=} fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Int noicon= pill=} fill=}

}}

Toggle buff def Cast Toggle noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Damage Magic noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Element Holy noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Mp noicon= pill=} fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Vit noicon= pill=} fill=}

}}

Defensive build def Cast Target noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Damage Melee noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Element Shadow noicon= pill=} fill=}

}} || <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Def noicon= pill=} fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Mdef noicon= pill=} fill=}

}}, <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

Stat Hp noicon= pill=} fill=}

}}

<templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Healing
|noicon=
|pill=}
|fill=}

}} <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|True
|noicon=
|pill=}
|fill=}

}} <templatestyles src="Template:def/styles.css" />{{#invoke:Definitions|def

|Damage
|Status
|noicon=
|pill=}
|fill=}

}}