Editing User talk:Ender R. Musk/Template:SSBU Classic Mode
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
:#Sometimes, a "notes" cell will be left blank, but others will have content; if I don't have that #if function there, then in that scenario it simply displays the name of the parameter, which is not what we want. | :#Sometimes, a "notes" cell will be left blank, but others will have content; if I don't have that #if function there, then in that scenario it simply displays the name of the parameter, which is not what we want. | ||
:You are free to help without suggesting stuff on this page first! Sincerely, [[User:SamtheBKBoss|Samuel]] the [[User talk:SamtheBKBoss|<span style="color: #0123A8">'''Banjo-'''</span>]][[Special:Contributions/SamtheBKBoss|<span style="color: #FF1901">'''Kazooie'''</span>]] Boss. [[File:SamtheBKBossSIGN.png|16px]] 16:28, July 8, 2021 (EDT) | :You are free to help without suggesting stuff on this page first! Sincerely, [[User:SamtheBKBoss|Samuel]] the [[User talk:SamtheBKBoss|<span style="color: #0123A8">'''Banjo-'''</span>]][[Special:Contributions/SamtheBKBoss|<span style="color: #FF1901">'''Kazooie'''</span>]] Boss. [[File:SamtheBKBossSIGN.png|16px]] 16:28, July 8, 2021 (EDT) | ||
::For #3 you want to put the final double pipes in the #if (<code><nowiki>{{!}}{{!}}</nowiki></code> in this case), otherwise you have a column of empty cells if there are no notes. You can also replace <code><nowiki>{{#ifeq:{{{#var:notes|}}}|y|5|4}}</nowiki></code> with <code><nowiki>{{#if:{{{#var:notes|}}}|5|4}}</nowiki></code> because "notes" will always either be "y" or nothing, making a check for the only possible option pointless. | ::For #3 you want to put the final double pipes in the #if (<code><nowiki>{{!}}{{!}}</nowiki></code> in this case), otherwise you have a column of empty cells if there are no notes. You can also replace <code><nowiki>{{#ifeq:{{{#var:notes|}}}|y|5|4}}</nowiki></code> with <code><nowiki>{{#if:{{{#var:notes|}}}|5|4}}</nowiki></code> because "notes" will always either be "y" or nothing, making a check for the only possible option pointless. | ||