Topic on Project:Support desk

Jump to navigation Jump to search

How can I add the asbox template to my Mediawiki?

5
24.121.54.67 (talkcontribs)
24.121.54.67 (talkcontribs)
Bawolff (talkcontribs)

"37 templates before failing, and didn't solve the problem" <-- Well sounds like it didn't solve the problem because it "failed". Please detail how the import failed.

Also, enwikipedia isn't restricted from copying, it is only restricted from modification, you can copy the template from there if you want (but enwikiquote is just as good)

24.156.121.36 (talkcontribs)

Thanks for replying. Turns out I needed to enable ParserFunctions in LocalSettings.php. The template works now.


I'd still like to get the aesthetics of the centered, outlined box with the graphic on the left and the different background color, but I've been unable to find any explanation of how that works, and it's not currently a top priority.

Bawolff (talkcontribs)

Its most likely that works via stuff in the page w:MediaWiki:Common.css (or equivalent from whatever wiki you are copying the template from). Sometimes templates use CSS in MediaWiki:Common.css (or rarely MediaWiki:Vector.css) to adjust colours and display stuff.

Some templates use the newer extension:TemplateStyles extension, but i don't think asbox is one of them.

Reply to "How can I add the asbox template to my Mediawiki?"