Hi,I have been trying to copy some of the Infobox templates (e.g. http://en.wikipedia.org/wiki/Template:Infobox_generic) and other great templates (http://en.wikipedia.org/wiki/Category:WikiProject_templates) from Wikipedia to our own wiki installation (http://mike2.openmethodology.org). I have had limited success, because there are so many dependencies and there appear to be also many configuration settings required.
Is anyone aware of some simple instructions on how to copy the templates and what extensions or configuration are required? I am particularly interested in the Infoboxes on the right hand side and on the bottom of articles.
I am also struggling to get common.css or skin.css to control the layout of the templates as it is used on Wikipedia. The templates just seem to ignore the classes defined in the css articles.
Any help would be welcome!
Thanks, Andi
Andreas Rindler wrote:
Is anyone aware of some simple instructions on how to copy the templates and what extensions or configuration are required?
If you search for "infobox" in the forums on mwusers.com, you will find lots of discussion on this topic. The key solution steps are:
1 - Install the ParserFunctions extension 2 - Enable Tidy 3 - Always do a "deep copy" of an Infobox (or any template for that matter. 4 - Ensure that you have copied the relevant CSS from Mediawiki:Common.css
Deep copy means you not only need the template itself but the templates that it includes. This is a straightforward task - see http://www.mwusers.com/wiki/index.php?title=How_do_I_copy_a_template_from_an...
Remember that Mediawiki:Common.css is a page, not a file - i.e. http://example.com/wiki/Mediawiki:Common.css.
Mike
mediawiki-l@lists.wikimedia.org