打开/关闭菜单
2529
2489
5
4.4万
Corruption of Champions II Bilingual Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:Tt/Compu/Tabs:修订间差异

模板页面
src->Spotty McBumble Fuck
无编辑摘要
src->Spotty McBumble Fuck
temp testing cut
第13行: 第13行:
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{2|}}}|Charm|Spell=<tr><td>+Catalyst Accuracy</td><td>'''Catalyst Bonus'''</td><td>/</td></tr>}}}}
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{2|}}}|Charm|Spell=<tr><td>+Catalyst Accuracy</td><td>'''Catalyst Bonus'''</td><td>/</td></tr>}}}}
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#if:{{{3|}}}{{{4|}}}|<tr><td>{{{3|}}}</td><td>'''Other Bonus'''</td><td>{{{4|}}}</td></tr>}}}}
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#if:{{{3|}}}{{{4|}}}|<tr><td>{{{3|}}}</td><td>'''Other Bonus'''</td><td>{{{4|}}}</td></tr>}}}}
</table></center></includeonly><noinclude>
</table></center></includeonly>
==Documentation==
*'''1st Parameter''' - Table Type (i.e. is it to calculate if an attack hits or to how damage is calculated)
**Attack Table: <code>AoeATK</code> <code>EvaATK</code> <code>MagATK</code> <code>MenATK</code> <code>PhyATK</code> <code>TeaATK</code> <code>WeaATK</code>
**Damage Table: <code>MentDMG</code> <code>PhysDMG</code> <code>SpelDMG</code> <code>TeasDMG</code> <code>WeapDMG</code>
*The next set of parameters '''depends on if its an attack or damage table''':
**Attack Table
***'''2nd Parameter''' - Includes catalyst bonus? (either <code>Charm</code> or <code>Spell</code>, or leave blank)
***'''3rd & 4th Parameter''' - If there are any other bonuses or negatives to the attacker's accuracy (3) or the target's defense (4)
**Damage Table
***'''2nd Parameter''' - Name of the Element/Resistance type
 
==Usage==
This template is to be primarily used within [[Template:tt/Compu]], hence it being an extension name.
</noinclude>

2025年4月3日 (四) 19:02的版本