[Mediawiki-l] trying to create a TBD template

Jan 2036 at gmx.de
Thu Jan 18 12:07:46 UTC 2007


Hello Ittar,

I tried to reproduce this in my testwiki (1.9), and i had no problem.

The Result looks as desired ... take a look:
http://mwbeta.fokkograf.de/index.php/Spielwiese

Perhaps you have inserted an empty line (line break) in your template?
Or you are not using MW 1.9 ?!?!

Regards,
Jan


Ittay Dror schrieb:
> Hi,
> 
> I want a template that can be used as follows:
> {{TBD}}: some kind of message
> 
> the result of the above two will be:
> TBD: some kind of message
> 
> i want the 'TBD' to be highlighted as well
> 
> so this is my attempt:
> <span style="background: #ffff00">TBD</span>[[Category:TBD]]
> 
> the problem is, that when using it, i get this result:
> 
> TBD
> 
>     some kind of message
> 
> 
> apparently, the colon character is treated as if it is at the beginning of the line.
> 
> how can i fix this?
> 
> thanks,
> ittay
> 
> 



More information about the MediaWiki-l mailing list