Template:Move Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Template:Move_Infobox/styles.css"/> | <templatestyles src="Template:Move_Infobox/styles.css"/> | ||
<table class="pkmn-infobox move-infobox" | <table class="pkmn-infobox move-infobox" | ||
| Line 17: | Line 12: | ||
"> | "> | ||
<!-- title bar | <!-- title bar --> | ||
<tr> | <tr> | ||
<th colspan="2" class="header-main"style="background-color:#{{{{lc:{{{type|Normal}}}}} color}};">{{{name}}} | <th colspan="2" class="header-main" | ||
style="background-color:#{{{{lc:{{{type|Normal}}}}} color}};"> | |||
{{{name}}} | |||
</th> | </th> | ||
</tr> | </tr> | ||
<!-- core fields --> | <!-- core fields --> | ||
<tr><th scope="row">Type</th> <td>{{{type|—}}}</td></tr> | <tr><th scope="row">Type</th> <td>{{{type|—}}}</td></tr> | ||
| Line 29: | Line 27: | ||
<tr><th scope="row">PP</th> <td>{{{pp|—}}}</td></tr> | <tr><th scope="row">PP</th> <td>{{{pp|—}}}</td></tr> | ||
<!-- optional targeting grid (nested table) --> | |||
{{#if:{{{target|}}} | |||
|<tr> | |||
<td colspan="2" style="padding:4px 2px;"> | |||
{{{target}}} | |||
</td> | |||
</tr>}} | |||
</table> | </table> | ||
</includeonly> | </includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> | ||