Template:Code

From James Dooley's Wiki
Revision as of 18:31, 27 February 2013 by Smsldoo (talk | contribs)
Jump to: navigation, search
{{#if: |----

Overview

This is a simple wrapper template for use with <syntaxhighlight></syntaxhighlight> since it does not provide any styles. The same styles that are used on the <pre></pre> will be applied to a <div></div> tag

Usage

{{code
|style= Allows for style overrides
|code=  Code to put inside the div tag
}}

example