You placed the reference before the credit. Hence why it shows up like that.
Template wise, I believe MediaWiki has all the perameters encapsulated, which is why the reference doesn't bleed through. It makes sense to prevent any overflow problems or exploits.
Template wise, I believe MediaWiki has all the perameters encapsulated, which is why the reference doesn't bleed through. It makes sense to prevent any overflow problems or exploits.