On 29/12/06, DS <dannyboy(a)hemuco.com> wrote:
I did create the correct Templates, but on the pages I
use infoboxes on,
they´re messed up. Instead of actual tables / infoboxes as seen on
Wikipedia, the data which is supposed to go into the box is printed without
a box around it, and I get a lot of "{{#if:"
The {{#if}} and similar come from the ParserFunctions extension
(
http://meta.wikimedia.org/wiki/ParserFunctions), which needs to be
installed if using them.
Is it possible that this has to do with the
class="infobox"-tag? I lack a
lot of experience here, and from what I gathered from tutorials at
mediawiki... is it possible I have to add tables to the MySQL database for
the class="infobox" to work?
Infoboxes on Wikipedia generally use CSS classes defined in
MediaWiki:Common.css or MediaWiki:Monobook.css. You can "borrow" these
from Wikipedia itself; visit
http://en.wikipedia.org/wiki/MediaWiki:Common.css, and click "view
source", for instance - a little searching will be needed to pinpoint
the required CSS. This can then be pasted into the same page on your
local wiki - visit MediaWiki:Common.css and hit the "edit" button,
then paste it in, and do a hard refresh in the browser.
Rob Church