Florent,
No, you don't have to do anything with the Template namespace - just paste the definition from the Wikipedia source - the following is sufficient:
style="background:#90ff90; color:black;" class="table-yes" | {{{1|Yes}}}
I suggest you look at http://www.mediawiki.org/wiki/Help:Templates as these are a very powerful and easy way to make editing easier and source pages more elegant and less cluttered. Note that you can also include templates from other locations by including the path in the call to the template.
Cheers,
/Sam
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Florent Georges Sent: 26 January 2010 20:49 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Wikipedia like tables
Sam.Sexton@thomsonreuters.com wrote:
Have a look at http://en.wikipedia.org/wiki/Template:Yes - that should answer your questions - especially if you view the source.
Thanks, Sam. If I am right, I have to create the page Template:Yes on my own wiki. If I go to that page, mediawiki proposes to create the page, like any regular page. Though on Wikipedia the label of the first tab is "template".
Do I have to "activate" the template namespace in any way?
Also, to install several templates listed on the above Wikipedia page, do I have to create all templates by hand, one by one, or is there any kind of install process?
Thank you,