[Mediawiki-l] Wikipedia like tables

Sam.Sexton at thomsonreuters.com Sam.Sexton at thomsonreuters.com
Wed Jan 27 07:37:20 UTC 2010


No, you don't have to do anything with the Template namespace - just
paste the definition from the Wikipedia source - the following is

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



-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Florent
Sent: 26 January 2010 20:49
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Wikipedia like tables

Sam.Sexton at 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


MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org

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.

More information about the MediaWiki-l mailing list