Template:AttackInfobox

From Touhou Puppet Play Wiki
(Difference between revisions)
Jump to: navigation, search
m (fixed, hopefully, the problem that wasn't adding the attacks into their damage category categories)
m (changed "Contest" to "Contests"; reordered included Categories)
 
Line 64: Line 64:
 
|}
 
|}
 
|-
 
|-
| style="background: #{{{{{contesttype}}} color}}; border: 1px solid #{{{{{type|Unknown}}} color}};" | <div style="text-align:center">'''[[Puppet Contest|Contests]]'''</div>
+
| style="background: #{{{{{contesttype}}} color}}; border: 1px solid #{{{{{type|Unknown}}} color}};" | <div style="text-align:center">'''[[Puppet Contests|Contests]]'''</div>
 
{| style="background: transparent" width="100%"
 
{| style="background: transparent" width="100%"
 
|-
 
|-
Line 79: Line 79:
 
|-
 
|-
 
| {{{footnotes|}}}
 
| {{{footnotes|}}}
|} <includeonly>[[Category:Attacks]] [[Category:{{#switch:{{{target|None}}}| all=Spread Attacks|allothers=Spread Attacks|foes=Spread Attacks|team=Team Attacks|any=Single Target Attacks|foe=Single Target Attacks|self=Single Target Attacks|ally=Team Attacks|Attacks with Unknown Targeting}}]] {{#switch: {{{type|Unknown}}}|[[Category:{{{type|Unknown}}}-type Attacks]]}} [[Category:{{{contesttype|Unknown Contest condition}}} Attacks]] [[Category:{{{damagecategory|Uncategorized}}} Attacks]] {{#if: {{{sound|}}} |{{#ifeq: {{{sound}}} | yes | [[Category:Sound-based Attacks]] }} }}</includeonly><noinclude>[[Category:Templates]]Parameters and how to use:<br><code>
+
|} <includeonly>[[Category:Attacks]] {{#switch: {{{type|Unknown}}}|[[Category:{{{type|Unknown}}}-type Attacks]]}} [[Category:{{{damagecategory|Uncategorized}}} Attacks]] [[Category:{{#switch:{{{target|None}}}| all=Spread Attacks|allothers=Spread Attacks|foes=Spread Attacks|team=Team Attacks|any=Single Target Attacks|foe=Single Target Attacks|self=Single Target Attacks|ally=Team Attacks|Attacks with Unknown Targeting}}]] {{#if: {{{sound|}}} |{{#ifeq: {{{sound}}} | yes | [[Category:Sound-based Attacks]] }} }} [[Category:{{{contesttype|Unknown Contest condition}}} Attacks]]  </includeonly><noinclude>[[Category:Templates]]Parameters and how to use:<br><code>
 
{{AttackInfobox<br>
 
{{AttackInfobox<br>
 
|type='''Type'''<br>
 
|type='''Type'''<br>

Latest revision as of 06:33, 28 March 2020

{{{name}}}
{{{jname}}}
Spr thJ 001.png
Battle Information
Type  Unknown
Category  uncategorized
PP  {{{basepp}}} (max. {{{maxpp}}})
Power  {{{power}}}
Accuracy  {{{accuracy}}}%
Priority  {{{priority}}}
Target
Foe Foe
Self Ally
Does not affect any Puppets*
Contest Type Appeal Jam
 [[{{{contesttype}}} (Contest condition)|{{{contesttype}}}]]  0    0  
No Contest Description
Parameters and how to use:

{{AttackInfobox
|type=Type
|name=Attack's English name
|jname=Attack's Japanese name (Optional parameter)
|romanisation=Romanisation of Japanese name (Optional parameter, but required if jname is used)
|image=Attack's Image
|damagecategory=Attack's category Format as Physical, Special, or Status.
|basepp=Attack's base PP amount
|maxpp=Attack's maximized PP amount
|power=Attack's base Power
|accuracy=Attack's base Accuracy
|priority=Attack's base Priority (Optional parameter) Defaults as 0
|touches=Attack's makes contact Defaults as no
|detect=Attack's affected by Detect Defaults as no
|magiccoat=Attack's affected by Magic Coat Defaults as no
|snatch=Attack's affected by Snatch Defaults as no
|kingsrock=Attack's affected by King's Rock Defaults as no
|brightpowder=Attack's affected by Brightpowder Defaults as yes
|sound=Sound-based Attack (Optional parameter) Defaults as no
|field=Attack can be utilized outside of battle (Optional parameter) Defaults as no
|target=Whom the Attack affects Format as all, allothers, or foes for spread attacks, foe, self, or ally for single target attacks, or team or ally for team attacks.
|contesttype=Contest Type
|appeal=Number of appeal hearts
|jam=Number of jam hearts
|cdesc=Attack's Contest description
|footnotes=Any additional notes not covered (Optional parameter)}}

Personal tools