Template talk:Sent off

From Wikipedia, the free encyclopedia

[edit] Whitespace

This template has some whitespace issues, which I can't see how to fix:

  • {{sent off}}test -> Sent offtest
  • {{sent off|1}}test -> BookedSent offtest
  • {{sent off|2}}test -> BookedBooked againSent offtest
  • {{sent off|0|27}}test -> Sent off after 27' 27'test
  • {{sent off|1|67|88}}test -> Booked after 67'Sent off after 88' 67', 88'test
  • {{sent off|2|23|60}}test -> Booked after 23'Booked again after 60'Sent off after 60' 23', 60'test

Ideally, there should be no space between the template's output and the "test" text. This is needed to make the template align properly when used in a {{footballbox}}. ——StuartBrady (Talk) 13:31, 4 October 2007 (UTC)

I should have spotted this earlier, but from the above, it looks as though the use of the span tag is causing the problem. Any ideas? ——StuartBrady (Talk) 13:54, 4 October 2007 (UTC)