Template:Infobox module: Difference between revisions

From PSP2i Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
<tr>
<tr>
<td colspan="2" style="text-align:center;">{{#if:{{{jp|}}}|{{Note|{{{jp}}}|{{{romaji}}}}}|{{{romaji}}}}}</td>
<td colspan="2" style="text-align:center;">{{#if:{{{jp|}}}|{{Note|{{{jp}}}|{{{romaji}}}}}|{{{romaji}}}}}</td>
</tr>
}}
{{#if:{{{image|}}}|
<tr>
<td colspan="2" style="text-align: center;">[[File:{{{image}}}{{#if:{{{imagealt|}}}|{{!}}alt={{{imagealt}}}}}{{!}}link=]]</td>
</tr>
</tr>
}}
}}
Line 49: Line 54:
</tr>
</tr>
}}
}}
{{#if:{{{element|}}}|
{{#if:{{{power|}}}|
<tr>
<th style="background-color: #A00000;">Power:</th>
<td>{{{power}}}</td>
</tr>
}}
{{#if:{{{hits|}}}|
<tr>
<th style="background-color: #A00000;">Hits:</th>
<td>{{{hits}}}</td>
</tr>
}}
{{#if:{{{attribute|}}}|
<tr>
<th style="background-color: #A00000;">Attribute:</th>
<td>{{{attribute}}}</td>
</tr>
}}
{{#if:{{{special|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">Element:</th>
<th style="background-color: #A00000;">Special:</th>
<td>{{#switch:{{{element}}}
<td>{{{special}}}</td>
  | Any = Any
  | Neutral = [[File:neutral.gif|link=]]
  | Fire = [[File:fire.gif|link=]]
  | Ice = [[File:ice.gif|link=]]
  | Lightning = [[File:lightning.gif|link=]]
  | Ground = [[File:ground.gif|link=]]
  | Light = [[File:light.gif|link=]]
  | Dark = [[File:dark.gif|link=]]
  | LightDark = [[File:light.gif|link=]]/[[File:dark.gif|link=]]
}}</td>
</tr>
</tr>
}}
}}
Line 73: Line 86:
</tr>
</tr>
</table></td></tr>
</table></td></tr>
{{#if:{{{power|}}}|
<tr>
<th style="background-color: #A00000;">Power:</th>
<td>{{{power}}}</td>
</tr>
}}
</td></tr>
</td></tr>
</table>
</table>

Latest revision as of 22:29, 25 August 2022