Admin Forum:Shorthand colour codes

I've been looking at the templates on the Final Fantasy Wiki for tips to help me make better templates, and I've found something. On many of the navigation templates (and others), I've noticed these cutom class codes which seem to be shorthand for colouring a certain secton of the template. For example, in the source of this page, there are two such codes, ""XIII-2a" and "XIII-2b", which are used to colour certain sections of the template dark purple and hot pink, respectively.

In conclusion, my question is thus: how do I make my own versions of those? Thanks in advance. YellowMage 22:59, April 18, 2012 (UTC)

P.S.: Could someone please tell me how to add the "view/edit/discuss" shorthand [v·e·d] to navigation template headers? I researched it and found something about a "subst" string in template brackets, but I don't get it. TIA. YellowMage 23:07, April 18, 2012 (UTC)


 * A quick look at the source shows they are 'classes' as you say - these style the display and are defined in the wikis MediaWiki:Common.css file and imported into the related MediaWiki:Wikia.css page; (as used by the Oasis skin). Note only admins can edit MediaWiki files on a wiki, as they effect the look of the whole wiki.


 * You can copy the source code but take care as it is used for allsorts of stuff and not all of it is relevant to the 'styling' bits you want on your wiki. You may be better asking an Admin on the finalfantasy wiki about how their template(s) work & what is required. (look in the page history to see who added the code & then ask on their talk page for help).
 * Tip - If you copy it add a note/edit summary on your wiki for future ref as to were it was from to help Admins/editors later if there are problems (and attribute the source Wiki & editors work).


 * The VDE links are added by several methods - some wikis use tnavbar which is derived from a wikipedia template. (see wikipedia version for full documentation as the version on this wikia has none & it also calls other templates such as Purge) Note:not all versions are the same - some can change how the links are displayed i.e V or View etc - IHBTD6-Drott 23:55, April 18, 2012 (UTC)


 * Well, I found the code on the Common page and it seems simple enough, but I think I'll wait until my wiki is a little bigger before implementing them. Thanks! YellowMage 12:03, April 22, 2012 (UTC)