Difference between revisions of "Template:Status extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(inb4 this doesnt do anything or breaks something)
Line 107: Line 107:


table.status-Other tr:first-child th {
table.status-Other tr:first-child th {
     background-color: #ffc;
     background-color: #ccc;
     padding: 0.5em 1em 0.5em 1em;
     padding: 0.5em 1em 0.5em 1em;
     font-size: 1.2em;
     font-size: 1.2em;
Line 113: Line 113:


table.status-Other tr:not(:first-child) th {
table.status-Other tr:not(:first-child) th {
     background-color: #ffd;
     background-color: #ddd;
}
}


table.status-Other tr:not(:first-child) th + th {
table.status-Other tr:not(:first-child) th + th {
     background-color: #ffffe4;
     background-color: #eee;
}
}


Line 137: Line 137:
<tr>
<tr>
   <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{lc:{{{filename|}}}}}.png}}}}<abbr title="{{{jp name|}}}">{{{en name|{{{jp name|???}}}}}}</abbr></th>
   <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{lc:{{{filename|}}}}}.png}}}}<abbr title="{{{jp name|}}}">{{{en name|{{{jp name|???}}}}}}</abbr></th>
</tr><!--
Status Type-->{{#if:{{#var:status type}}|
<tr>
  <th colspan="2">Type</th>
  <td colspan="2">{{#var:status type}}</th>
</tr>
</tr>
<!--
}}<!--
   Notes
   Notes
-->{{#if:{{{note|{{{jp-note|}}}}}}|  
-->{{#if:{{{note|{{{jp-note|}}}}}}|  
<tr>
<tr>
   <th colspan="2">Notes</th>
   <th colspan="2">Notes</th>
   <td coslapn="2">{{{note|{{{jp-note|?}}}}}}</td>
   <td colspan="2">{{{note|{{{jp-note|?}}}}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 150: Line 155:
<tr>
<tr>
   <th colspan="2">Description</th>
   <th colspan="2">Description</th>
   <td coslapn="2">{{{expanded note|}}}</td>
   <td colspan="2">{{{expanded note|}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 157: Line 162:
<tr>
<tr>
   <th colspan="2">Duration</th>
   <th colspan="2">Duration</th>
   <td coslapn="2">{{{duration|?}}}</td>
   <td colspan="2">{{{duration|?}}}</td>
</tr>
</tr>
}}<tr>
}}<tr>
Line 168: Line 173:
<tr>
<tr>
   <th colspan="2">Additional Damage Dealt</th>
   <th colspan="2">Additional Damage Dealt</th>
   <td coslapn="1">{{{damage-add|?}}}</td>
   <td colspan="1">{{{damage-add|?}}}</td>
   <td coslapn="1">{{{damage-add-max|?}}}</td>
   <td colspan="1">{{{damage-add-max|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 176: Line 181:
<tr>
<tr>
   <th colspan="2">Damage Multiplier Dealt</th>
   <th colspan="2">Damage Multiplier Dealt</th>
   <td coslapn="1">{{{damage-mult|?}}}%</td>
   <td colspan="1">{{{damage-mult|?}}}%</td>
   <td coslapn="1">{{{damage-mult-max|?}}}%</td>
   <td colspan="1">{{{damage-mult-max|?}}}%</td>
</tr>
</tr>
}}<!--
}}<!--
Line 184: Line 189:
<tr>
<tr>
   <th colspan="2">Additional Damaged Received</th>
   <th colspan="2">Additional Damaged Received</th>
   <td coslapn="1">{{{damaged-add|?}}}</td>
   <td colspan="1">{{{damaged-add|?}}}</td>
   <td coslapn="1">{{{damaged-add-max|?}}}</td>
   <td colspan="1">{{{damaged-add-max|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 192: Line 197:
<tr>
<tr>
   <th colspan="2">Damage Multiplier Received</th>
   <th colspan="2">Damage Multiplier Received</th>
   <td coslapn="1">{{{damaged-mult|?}}}%</td>
   <td colspan="1">{{{damaged-mult|?}}}%</td>
   <td coslapn="1">{{{damaged-mult-max|?}}}%</td>
   <td colspan="1">{{{damaged-mult-max|?}}}%</td>
</tr>
</tr>
}}<!--
}}<!--
Line 200: Line 205:
<tr>
<tr>
   <th colspan="2">HP Recovered</th>
   <th colspan="2">HP Recovered</th>
   <td coslapn="1">{{{hp-recovery|?}}}</td>
   <td colspan="1">{{{hp-recovery|?}}}</td>
   <td coslapn="1">{{{hp-recovery-max|?}}}</td>
   <td colspan="1">{{{hp-recovery-max|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 208: Line 213:
<tr>
<tr>
   <th colspan="2">CP Added</th>
   <th colspan="2">CP Added</th>
   <td coslapn="2">{{{cp-add|?}}}</td>
   <td colspan="2">{{{cp-add|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 215: Line 220:
<tr>
<tr>
   <th colspan="2">Skill Proc Rate Up</th>
   <th colspan="2">Skill Proc Rate Up</th>
   <td coslapn="2">{{{rate-add|?}}}</td>
   <td colspan="2">{{{rate-add|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 222: Line 227:
<tr>
<tr>
   <th colspan="2">Unit Restrictions</th>
   <th colspan="2">Unit Restrictions</th>
   <td coslapn="2">{{{locks|?}}}</td>
   <td colspan="2">{{{locks|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 229: Line 234:
<tr>
<tr>
   <th colspan="2">Additional Aggro</th>
   <th colspan="2">Additional Aggro</th>
   <td coslapn="2">{{{hate-add|?}}}</td>
   <td colspan="2">{{{hate-add|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--

Revision as of 05:02, 15 May 2020

Description

This templates creates an infobox for a status effect, as well as a status effect subobject using the following properties:

Usage

{{Status extended infobox
| id = 
| en name = 
| jp name = 
| filename = 
| duration = 
| damage-add = 
| damage-add-max = 
| damage-mult = 
| damage-mult-max = 
| damaged-add = 
| damaged-add-max = 
| damaged_mult = 
| damaged_mult_max = 
| hp-recovery = 
| hp-recovery-max = 
| cp-add = 
| locks = 
| type = 
| note = 
}}

Parameters

en name
(Officially localized) English name of the status
jp-en name
(Unofficially) translated English name of the status
jp name
Original Japanese name of the status
filename
Filename the status icon uses
id
internal ID used
type
Whether this is a buff or a debuff
duration
How many turns the status effect persists
note
Note that displays when the status effect is added
jp-note
Original Japanese for the above
damage-add
Additional damage applied when attacking (constant)
damage-add-max
Max value for the above
damage-mult
Damage multiplier applied when attacking (coefficient)
damaged-add
Additional damage applied when attacked (constant)
damaged-add-max
Max value for the above
damage-mult-max
Max value for the above
damaged-mult
Damage multiplier applied when attacked (coefficient)
damaged-mult-max
Max value for the above
hp-recovery
HP recovered at end turn
hp-recovery-max
Max value for the above
cp-add
CP recovered at end turn
rate-add
Max value for the above
locks
Restrictions applied to unit. These include: movement, attack, skill, CS, blowback


Examples

{{Status extended infobox
| id = 41
| en name = Guts
| jp name = 根性
| filename = guts
| duration = 5
| type = buff
| note = HPゼロ時に復活
}}
Guts
Notes HPゼロ時に復活
Duration 5
Base Value Maximum Value
Used Skills