When "main" is passed to magic word {{ns:}}, the wiki software doesn't recognize it as a magic word but instead fuses the whole into a call to this template. This template gives the template call a predicable behavior.