Template talk:Mbox

From TrainzOnline
Jump to: navigation, search
This talk page is linked
from the associated article page as containing additional technical details, so also imported // FrankB 15:22, 2 July 2013 (EST)

Exporting Mbox

What pages and images do I need to export to correctly get Template:Mbox to work on my own wiki, documentation included? It is clearly using sub pages, documentation templates, various images and more templates on the documentation, etc. I'd love just a strait up list that I can cut & copy into the export page. (Brian) --67.139.165.42 18:14, 19 October 2011 (UTC)

--wargo 12:12, 22 October 2011 (UTC)
    • What about extensions it relies on though? I just exported to xml and imported in my wiki and it's definitely not rendering correctly. From what I understand parser functions should be packaged with mw as of 1.18 (Im on like 1.20). SMW relies on parser functions and that's working so I'm pretty sure they're working on mine. --160.111.254.15 16:06, 22 January 2013 (UTC)

No boxes

I have imported this template to my wiki, but i don't get the outlined boxes around the icon and text. any ideas?

Some mbox classes missing

I try to implement this template on my own wiki. After some weird errors about this message box is using an invalid "type=X" parameter and needs fixing. (where X = critical and some others, I forgot), which I managed to solve<ref>Somehow, exporting the Template:Ombox/core template gave me older version which excluded some classes. Manually copying the template from MediaWiki into my wiki fixes this problem.</ref>, I realized that almost all boxes look the same. I searched for MediaWiki:Common.css (which now is MediaWiki:Gadget-site.css, anyone know the reason why they changed the CSS?) and didn't find anything for these classes:

  • mbox-critical
  • mbox-important
  • mbox-warning
  • mbox-caution
  • mbox-license

although I find one wiki that implements them. Are these classes deleted on purpose, so we need to create them ourselves?

I also inspect the elements of Mbox and get ombox-notice, ombox-move, and ombox-protection classes for type=notice|move|protection. Should them be mbox-notice, mbox-move, and mbox-protection? <references /> Exsharaen (talk) 14:50, 30 April 2013 (UTC)

Personal tools