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(a)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(a)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,
--
Florent Georges
http://www.fgeorges.org/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thomson Reuters.