Template:PTRow: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
Added the alt-text element in the off-chance that the image won't load.
Line 9: Line 9:
<td style="background-color: #{{{{#external_value:type2}}_color}};">[[{{#external_value:type2}}_(type)|<span style="color:#FFFFFF;">{{#external_value:type2}}</span>]]</td>
<td style="background-color: #{{{{#external_value:type2}}_color}};">[[{{#external_value:type2}}_(type)|<span style="color:#FFFFFF;">{{#external_value:type2}}</span>]]</td>
<td>{{#external_value:rarity}}</td>
<td>{{#external_value:rarity}}</td>
<td>{{#if:{{{Held|}}} | [[File:{{{Held}}}.png|link={{{Held}}}]]}}</td>
<td>{{#if:{{{Held|}}} | [[File:{{{Held}}}.png|link={{{Held}}}|alt={{{Held}}}]]}}</td>
</tr>
</tr>
</includeonly>
</includeonly>

Revision as of 09:20, 7 January 2017

Use this in tandem with Template:PokemonTable to construct the tabular contents in it.