Template:Code display/doc

Purpose
 is a wrapper template for JavaScript or CSS code.

Syntax

 * For cascading style sheets:

…


 * For javascript:

… …

At the start of the code, you need to put the template and specify the type of code (CSS or JavaScript, you can also use JS as a shorthand). At the end of the code put the template with "end" as the first parameter.

Examples
js // Put here the JavaScript code alert('hello'); end


 * produces …

js // Put here the JavaScript code alert('hello'); end

Maintainer

 * maintainer : used when the code is complex, or there are chances that changes by Wikia cause it to stop working. This gives users the ability to contact the code’s maintainer if there occur and problems with it. Use it with the opening template.

Examples
js // Some complex JavaScript code alert('hello'); end


 * produces …

js // Some complex JavaScript code alert('hello'); end