Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

MediaWiki Templates

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


pmarkiewicz at sim-gtech

Aug 19, 2008, 9:47 AM

Post #1 of 2 (735 views)
Permalink
MediaWiki Templates

Hi,

I was skimming through the mediawiki template help page, and
thought I understood the examples. So I copied the Template:Infobox
Page from the Mediawiki to my wiki. But instead of getting simply
{{{LANGUAGE1}}} appearing on a gray background, I got the outline of an
Infobox preceded by a bunch of "#if"s. Can anyone explain why? Thanks.

I've attached a screenshot of my results.

Patrick


michael.daly at kayakwiki

Aug 22, 2008, 10:06 AM

Post #2 of 2 (698 views)
Permalink
Re: MediaWiki Templates [In reply to]

Patrick Markiewicz wrote:

> I was skimming through the mediawiki template help page, and
> thought I understood the examples. So I copied the Template:Infobox
> Page from the Mediawiki to my wiki. But instead of getting simply
> {{{LANGUAGE1}}} appearing on a gray background, I got the outline of an
> Infobox preceded by a bunch of "#if"s. Can anyone explain why? Thanks.

Infoboxes are some of the most complex templates that everyone seems to
copy.

You'll need to install the ParserFunctions extension and enable Tidy.
You'll also need to copy any CSS required by template from the Wikipedia
Mediawiki:Common.css page to the same-named page on your wiki.

It's likely you'll have to copy a few other templates such as Template:!
and Template:!-. If you look at the edit page for the Infobox template,
you'll see a list of embedded templates at the bottom of the page -
without these, Infobox won't work.

Mike




_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.