User:Sugarhoney

My sandbox

All my subpages

CSS
The Deus Ex wiki has two CSS:
 * MediaWiki:Wikia.css - the default Wikia skin (aka Oasis), which implements DXHR's black&gold theme.
 * MediaWiki:Common.css - old Monobook skin (Wikipedia-like). You can preview pages in this skin by appending  at the end of the URL, or you can activate this skin permanently in your preferences. Common.css code says it affects all skins, but in wikis created before July 2014 (like this wiki) it affects just the Monobook skin.

Only admins can edit Wikia CSS.

Guidelines to updating the CSS:
 * Layout styles, like TOC limits or horizontal lists, should go to both MediaWiki:Wikia.css and MediaWiki:Common.css.
 * Styles for DXHR's black&gold theme should go to MediaWiki:Wikia.css.

Testing CSS and JavaScript
Each user has their personal CSS and JavaScript that override Wikia globals: (See JavaScript and CSS Cheatsheet.)
 * Special:MyPage/common.css (for all skins)
 * Special:MyPage/common.js

Test all changes in your personal CSS and JavaScript before asking admins to update Wikia globals.

Ideally, test with both the default Wikia skin (aka Oasis) and the old Monobook skin.

Useful URL Parameters

 * loads the page with uncompressed/unminified CSS + JavaScript.
 * loads the page with the old Monobook skin (Wikipedia-like, black on white).

Templates
On Wikia, templates can be written in two ways:
 * 1) Using wiki markup and parser functions.
 * 2) Using Lua. Lua-based templates look like  . The actual Lua code of these templates is on the Module:TemplateName pages.

As of June 2015, the Deus Ex Wiki supports only the usual markup templates and doesn't support Lua.

When copying templates from Wikipedia and other wikis, first check the template code. If it looks like, it uses Lua and it won't work here. Try to find an alternative non-Lua implementation, for example, on templates.