Difference between revisions of "Template:Skill Info"

From PSU Cyril Wiki
Jump to: navigation, search
(testing ability to fail at templates)
 
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>|-  
 
<includeonly>|-  
| rowspan=3| {{{skillname|}}} || rowspan=3| {{{combolength|}}} || {{{PP_C|}}} || {{{ATP_C|}}} || {{{ATA_C}}} || {{{PP_B|}}} || {{{ATP_B|}}} || {{{ATA_B}}} || {{{PP_A|}}} || {{{ATP_A|}}} || {{{ATA_A}}}
+
| rowspan=4| <b>{{{skillname|}}}</b> || rowspan=4| <center>{{{combolength|}}}</center> || {{{PP_C|}}} || {{{ATP_C|}}} || {{{ATA_C}}} || {{{PP_B|}}} || {{{ATP_B|}}} || {{{ATA_B}}} || {{{PP_A|}}} || {{{ATP_A|}}} || {{{ATA_A}}}
 
|-
 
|-
| colspan=3| {{{target_C|?Targets}}} / {{{hits_C|?Targets}}} || colspan=3| {{{target_B|?Targets}}} / {{{hits_B|?Targets}}}|| colspan=3| {{{target_A|?Targets}}} / {{{hits_A|?Targets}}}
+
| colspan=3| {{{targets_C|}}} Targets / {{{hits_C|}}} Hits || colspan=3| {{{targets_B|}}} Targets / {{{hits_B|}}} Hits|| colspan=3| {{{targets_A|}}} Targets / {{{hits_A|}}} Hits
 
|-
 
|-
 
| colspan=3| {{{effect_C|}}} || colspan=3| {{{effect_B|}}} || colspan=3| {{{effect_A|}}}
 
| colspan=3| {{{effect_C|}}} || colspan=3| {{{effect_B|}}} || colspan=3| {{{effect_A|}}}
 
|-
 
|-
| {{price|}}} || {{{sr|?★}}} || colspan=10|{{{endesc|}}}
+
| {{{price|}}} || <center>{{{sr|}}}★</center> || colspan=10|{{{endesc|}}}
</includeonly><noinclude>
+
</includeonly><noinclude>== Introduction ==
 
 
== Introduction ==
 
 
This template automatically generates MediaWiki table code for insertion into a table. The template must be placed inside a table for the result to be properly displayed. The template is currently '''twelve''' columns wide.
 
This template automatically generates MediaWiki table code for insertion into a table. The template must be placed inside a table for the result to be properly displayed. The template is currently '''twelve''' columns wide.
  
Line 40: Line 38:
 
<pre>{| style="border: 1px #aaaaaa solid; border-collapse: collapse;" border="1" cellspacing="0"
 
<pre>{| style="border: 1px #aaaaaa solid; border-collapse: collapse;" border="1" cellspacing="0"
 
     {{Skill Info
 
     {{Skill Info
     |skillname=Dus Daggus |combolength=3
+
     |skillname=Dus Daggas |combolength=3
 
     |PP_C=18(14) | ATP_C=161~170% | ATA_C=51~69% |targets_C=2 | hits_C=2 | effect_C=Flinch on 2nd Hit
 
     |PP_C=18(14) | ATP_C=161~170% | ATA_C=51~69% |targets_C=2 | hits_C=2 | effect_C=Flinch on 2nd Hit
 
     |PP_B=18(14) | ATP_B=171~180% | ATA_B=77~86% |targets_B=2 | hits_B=3 | effect_B=Flinch on 3rd Hit
 
     |PP_B=18(14) | ATP_B=171~180% | ATA_B=77~86% |targets_B=2 | hits_B=3 | effect_B=Flinch on 3rd Hit
Line 48: Line 46:
 
|}</pre>
 
|}</pre>
  
 
The following was generated:
 
 
{| style="border: 1px #aaaaaa solid; border-collapse: collapse;" border="1" cellspacing="0"
 
{| style="border: 1px #aaaaaa solid; border-collapse: collapse;" border="1" cellspacing="0"
 
     {{Skill Info
 
     {{Skill Info
     |skillname=Dus Daggus |combolength=3
+
     |skillname=Dus Daggas |combolength=3
 
     |PP_C=18(14) | ATP_C=161~170% | ATA_C=51~69% |targets_C=2 | hits_C=2 | effect_C=Flinch on 2nd Hit
 
     |PP_C=18(14) | ATP_C=161~170% | ATA_C=51~69% |targets_C=2 | hits_C=2 | effect_C=Flinch on 2nd Hit
 
     |PP_B=18(14) | ATP_B=171~180% | ATA_B=77~86% |targets_B=2 | hits_B=3 | effect_B=Flinch on 3rd Hit
 
     |PP_B=18(14) | ATP_B=171~180% | ATA_B=77~86% |targets_B=2 | hits_B=3 | effect_B=Flinch on 3rd Hit
Line 59: Line 55:
 
     }}
 
     }}
 
|}
 
|}
 +
 +
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:33, 22 December 2011

Introduction

This template automatically generates MediaWiki table code for insertion into a table. The template must be placed inside a table for the result to be properly displayed. The template is currently twelve columns wide.

Parameters General Info

skillname
English name of the skill
combolength
Number of combos in skill (# of hits in the in-game description)
PP_C, PP_B, PP_A
PP usage for each level of the skill (C being 1-10, B 11-20, A 21-30)
ATP_C, ATP_B, ATP_A
Same as above but for ATP
ATA_C, ATA_B, ATA_A
Same as above but for ATA
targets_C, targets_B, targets_A
Number of targets hit in this part of the combo (first combo being 1-10, second combo being 11-20, third combo being 21-30, if it exists)
hits_C, hits_B, hits_A
Number of hits in this part of the combo
effect_C, effect_B, effect_A
Effect on hit such as knockback, launching, flinching
price
Price in shop
sr
Star rarity
endesc
English description

Example

Using the following code,

{| style="border: 1px #aaaaaa solid; border-collapse: collapse;" border="1" cellspacing="0"
    {{Skill Info
    |skillname=Dus Daggas |combolength=3
    |PP_C=18(14) | ATP_C=161~170% | ATA_C=51~69% |targets_C=2 | hits_C=2 | effect_C=Flinch on 2nd Hit
    |PP_B=18(14) | ATP_B=171~180% | ATA_B=77~86% |targets_B=2 | hits_B=3 | effect_B=Flinch on 3rd Hit
    |PP_A=18(14) | ATP_A=181~190% | ATA_A=87% |targets_A=2 | hits_A=2 | effect_A=Knockback on 3rd Hit
    |price=1000 | sr=1 |endesc=A quick succession of attacks that can hit more enemies than a standard.
    }}
|}
Dus Daggas
3
18(14) 161~170% 51~69% 18(14) 171~180% 77~86% 18(14) 181~190% 87%
2 Targets / 2 Hits 2 Targets / 3 Hits 2 Targets / 2 Hits
Flinch on 2nd Hit Flinch on 3rd Hit Knockback on 3rd Hit
1000
1★
A quick succession of attacks that can hit more enemies than a standard.