Those are part of the wiki design tools that Wikia has. The easiest thing to do would be to use the inspect tool brion mentioned, which also tells you what css rules are applied to the element, and use it to recreate the css classes you need.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-02-05 1:59 PM, Brenton Horne wrote: > This is no such info in the MediaWiki:Common.css page and I don't > understand HTML well enough to really tell where the Infobox class is > but I know where I found this formatting I wanted was a Wikia site and > the infobox's code includes > > |class="color1" colspan="2" style="text-align: center; padding:1em; > font-size:120%" |{{{Box title|{{PAGENAMEF}}}}} > I think color1 is what I need. Any ideas of how to get this colouring > option? > > On 6/02/2015 7:38 AM, Brion Vibber wrote: >> Most probably the template sets the color via a CSS class, that on >> the wiki >> you got the template from lives in the 'MediaWiki:Common.css' page (you >> must be logged in as sysop to edit this magic page, which sets >> additional >> CSS style rules for your wiki). >> >> If you can't find the relevant styles where you got the template, try >> checking the HTML of the table for class names (you can use the >> developer >> tools in your browser for this, in most browsers you can right-click on >> something and select 'Inspect' or similar from the popup menu to open >> that >> up). Once you have the class name you can write your own CSS styles >> to set >> the blue background etc. >> >> -- brion >> >> On Thu, Feb 5, 2015 at 12:20 PM, Brenton Horne >> <[email protected]> >> wrote: >> >>> Hi, >>> >>> Currently my Windows 7 installation of MediaWiki creates infoboxes that >>> look like http://imgur.com/g2Tlh4f when I'd like it look more like >>> http://imgur.com/s0UHES4. I'd especially like the blue title >>> background. >>> How do I do this? >>> >>> Thanks for your time, >>> Brenton >>> >>> _______________________________________________ >>> MediaWiki-l mailing list >>> To unsubscribe, go to: >>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >>> >> _______________________________________________ >> MediaWiki-l mailing list >> To unsubscribe, go to: >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
