Search code examples
mediawikimediawiki-extensionsmediawiki-templates

"Template:!" output from imported MediaWiki template (Infobox)


I am quite new to Mediawiki and am trying to get infoboxes work.

I managed to get a simple one working but am now trying to get the 'Infobox video game' one working.

I am getting the following errors:

Template:!- style="" Template:! Developer(s) || Peter Harrap, Shaun     Hollingworth Template:!- style="background: #F0F0F0;" Template:! Publisher(s) || Gremlin Graphics

The page is www.retroresource.co.uk/mediawiki

To try and solve this myself I have been to http://en.wikipedia.org/wiki/Special:Export

and entered in:

Template:Infobox

and

Template:Infobox video game

into the box, ticked all boxes, done a find a replace on replace text/plain with CONTENT_FORMAT_TEXT

I have imported the file through special imports.

I have also copied in the default CSS MediaWiki:Common.css into my own wiki.

What am I missing?

Thanks


Solution

  • You are missing Template:!. MediaWiki 1.24 removed the need for that template, but you are still on version 1.23

    You can either update your wiki to 1.24 or add this in Template:!:

    <onlyinclude>|</onlyinclude>