Template:Infobox module: Difference between revisions

From PSP2i Wiki
(Created page with "<table align="right" style="border: 1px solid #aaa; font-size: 95%; margin-bottom: 10px;" cellpadding="0"> <tr><td><table align="center" style="width:100%;"> <tr> <th colspan="2" style="font-size: larger; text-align: center; background-color: #A00000;">{{{title|{{PAGENAME}}}}}</th> </tr> {{#if:{{{romaji|}}}| <tr> <td colspan="2" style="text-align:center;">{{#if:{{{jp|}}}|{{Note|{{{jp}}}|{{{romaji}}}}}|{{{romaji}}}}}</td> </tr> }} {{#if:{{{stars|}}}| <tr> <td title="{{{s...")
 
No edit summary
 
(6 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>
<tr>
<th style="background-color: #A00000;">Element:</th>
<th style="background-color: #A00000;">Power:</th>
<td>{{#switch:{{{element}}}
<td>{{{power}}}</td>
  | Any = Any
</tr>
  | Neutral = [[File:neutral.gif|link=]]
}}
  | Fire = [[File:fire.gif|link=]]
{{#if:{{{hits|}}}|
  | Ice = [[File:ice.gif|link=]]
<tr>
  | Lightning = [[File:lightning.gif|link=]]
<th style="background-color: #A00000;">Hits:</th>
  | Ground = [[File:ground.gif|link=]]
<td>{{{hits}}}</td>
  | Light = [[File:light.gif|link=]]
</tr>
  | Dark = [[File:dark.gif|link=]]
}}
  | LightDark = [[File:light.gif|link=]]/[[File:dark.gif|link=]]
{{#if:{{{attribute|}}}|
}}</td>
<tr>
<th style="background-color: #A00000;">Attribute:</th>
<td>{{{attribute}}}</td>
</tr>
}}
{{#if:{{{special|}}}|
<tr>
<th style="background-color: #A00000;">Special:</th>
<td>{{{special}}}</td>
</tr>
</tr>
}}
}}

Latest revision as of 22:29, 25 August 2022