Template talk:16TeamBracket

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Protip: If you want to make a statement along the lines of

if (variable)
  use variable
else
  use defaultValue

You can do so using

{{{variable|defaultValue}}}

Instead of

{{#if:{{{variable}}}|{{{variable}}}|defaultValue}}

Thought you ought to know!  Sir Skullthumper, MD (criticize  writings  SU&W) 01:35 Mar 20, 2011

Reading further, it seems you do know this, though this presents the question of why there're statements like {{#if:{{{team-width|}}}|{{{team-width}}}|150}} earlier on in the code.  Sir Skullthumper, MD (criticize  writings  SU&W) 01:37 Mar 20, 2011