Template talk:GoFastAttack

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

Handling of non-existent images

Currently, when no move image is present (|image != yes), there is an unnatural blank space in the right region of the template. How about replacing

| rowspan=3 | [[File:{{#ifeq:{{{image|yes}}}|yes|{{{move|Earthquake}}} GO|None}}.png|100px]]

with:

{{#ifeq:{{{image|yes}}}|yes|{{!}} rowspan=3 {{!}} [[File:{{{move|Earthquake}}} GO.png|100px]]}}

or:

| rowspan=3 {{#ifeq:{{{image|yes}}}|yes||style="display: none;"}} | [[File:{{#ifeq:{{{image|yes}}}|yes|{{{move|Earthquake}}} GO|None}}.png|100px]]

This is similar to how {{MoveInfobox}} will render if there is no gameimage or gameimage2. Chenzw (talk) 16:46, 21 July 2016 (UTC)

I had initially avoided it due to that option still leaving a gap, but I decided to just add a second #if for the colspan. Looks nicer than None.png, and it's only 1 additional parser function. --SnorlaxMonster 17:20, 21 July 2016 (UTC)

PvP information

Just to throw it out there, the template needs to be updated to also accommodate information for PvP battles. TehPerson (talk) 01:26, 12 January 2019 (UTC)