Template talk:GoFastAttack: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(→PvP information: new section) |
|||
Line 16: | Line 16: | ||
This is similar to how {{tl|MoveInfobox}} will render if there is no <code>gameimage</code> or <code>gameimage2</code>. [[User:Chenzw|Chenzw]] ([[User talk:Chenzw|talk]]) 16:46, 21 July 2016 (UTC) | This is similar to how {{tl|MoveInfobox}} will render if there is no <code>gameimage</code> or <code>gameimage2</code>. [[User:Chenzw|Chenzw]] ([[User talk: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. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 17:20, 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. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 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. [[User:TehPerson|TehPerson]] ([[User talk:TehPerson|talk]]) 01:26, 12 January 2019 (UTC) |
Revision as of 01:26, 12 January 2019
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 Template:Tl 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)