FANDOM


Compatible with Desktop and Mobile view. In order to improve editing speed, I recently converted old table which look really bad to new, better system using database + template for much easier and quicker editing (up to 100% faster editing speed!!!)

What kind of sorcery is this?

Recently I found that editing on current table is too painful for me compared to my competitors so I have added a template.

This is what old table look like

Skill Kiana PT 001 -1105334 Basic Attack - Meteor Target

Melee/Ranged - Normal attack

Skill Kiana PT 001

Gun Fu penta kicks

1st Kick: 100% Physical damage
2nd Kick or Shot: 100% Physical damage
3rd Kick or Shot: 100% Physical damage
4th Kick: 2*150% Physical damage
5th Kick: 250%  Physical damage

Skill Nagative Damage01 Meteor Fragment

+143 Physical damage

Skill Nagative Damage03 Comet Explosion - A Rank

Destroy elite shield deal 220% Physical damage

Skill Nagative Damage03 Comet Heartbreak - SSS Rank

40% chance to stun the target, duration 2s

Code:

{|class="mw-collapsible mw-collapsed article-table" data-expandtext="Show" data-collapsetext="Hide"
|-
![[File:Skill Kiana PT 001 -1105334.png|75px]]
! colspan="3" |Basic Attack - Meteor Target

Melee/Ranged - Normal attack
|-
|[[File:Skill_Kiana_PT_001.png|64px]]
|
'''Gun Fu penta kicks'''

'''1st Kick:''' 100% Physical damage<br />'''2nd Kick or Shot:''' 100% Physical damage<br />'''3rd Kick or Shot:''' 100% Physical damage<br />'''4th Kick:''' 2*150% Physical damage<br />'''5th Kick:''' 250%  Physical damage
|-
|[[File:Skill_Nagative_Damage01.png|64px]]
|'''Meteor Fragment'''

+143 Physical damage
|-
|[[File:Skill_Nagative_Damage03.png|64px]]
|'''Comet Explosion - A Rank'''

Destroy elite shield deal 220% Physical damage
|-
|[[File:Skill_Nagative_Damage03.png|64px]]
|'''Comet Heartbreak - SSS Rank'''

40% chance to stun the target, duration 2s
|}

As you can see the code looks pretty bad and more you have to copy/paste that code every time you wanna create a new table.

Then I came with a new idea that I just need to create a database + a wrapper (template) so it's much easier to edit and then... boom!

This is what new table (using database + wrapper) look like

Skill Kiana PT 001 -1105334

Basic Attack - Meteor Target

Melee/Ranged

Skill Kiana PT 001

Gun Fu penta kicks

1st Kick: 100% Physical damage
2nd Kick or Shot: 100% Physical damage (Shot have unlimited range)
3rd Kick or Shot: 100% Physical damage
4th Kick: 2*150% Physical damage
5th Kick: 250%  Physical damage

Skill Nagative Damage01

Meteor Fragment

+143 Physical damage

Skill Nagative Damage03

Comet Explosion - A Rank

Destroy elite shield deal 220% Physical damage

Skill Nagative Damage03

Comet Heartbreak - SSS Rank

40% chance to stun the target, duration 2s


Now look at code:

Database

{{Valkyrja skills v2
 | headerimage = Skill_Kiana_PT_001_-1105334.png
 | headertext  = '''Basic Attack - Meteor Target

Melee/Ranged'''

 | image1 = Skill_Kiana_PT_001.png
 | text1  = '''Gun Fu penta kicks'''

'''1st Kick:''' 100% Physical damage<br />'''2nd Kick or Shot:''' 100% Physical damage (Shot have unlimited range)<br />'''3rd Kick or Shot:''' 100% Physical damage<br />'''4th Kick:''' 2*150% Physical damage<br />'''5th Kick:''' 250%  Physical damage

 | image2 = Skill_Nagative_Damage01.png
 | text2  = '''Meteor Fragment'''

+143 Physical damage

 | image3 = Skill_Nagative_Damage03.png
 | text3  = '''Comet Explosion - A Rank'''

Destroy elite shield deal 220% Physical damage

 | image4 = Skill_Nagative_Damage03.png
 | text4  = '''Comet Heartbreak - SSS Rank'''

40% chance to stun the target, duration 2s

}}

Wrapper (Template): Template:Valkyrja_skills_v2

The new table comes with new feature: look much better on mobile view and easier to manage by auto adding/removing rows (up to 5 rows)

You can see the database code is way, way more cleaner than bunch of codes used on old table (even ppl without code editing skill can easily edit the database), and when I need to change how the new table look, I just need to edit template and done!

Editing speed +100% whoa!



Thanks for reading.

Community content is available under CC-BY-SA unless otherwise noted.