Difference between revisions of "Template:Code"

From Backstage Lore Wiki
Jump to: navigation, search
m (Protected "Template:Code" [edit=sysop:move=sysop])
Line 1: Line 1:
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
<p style="background:#17181A;font-family: 'Lucida Console', 'Courier New', 'Bitstream Vera Sans Mono', 'sans serif';padding:4px;margin-left:10px;border:1px solid #373A3F;border-left: 3px solid #FFA500;">{{{1}}}</p>
+
<div style="background:#17181A;font-family: 'Lucida Console', 'Courier New', 'Bitstream Vera Sans Mono', 'sans serif';padding:4px;margin-left:10px;border:1px solid #373A3F;border-left: 3px solid #FFA500;">{{{1}}}</div>
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 08:19, 26 May 2014

{{{1}}}

Usage

Use for code blocks requiring big chunks of preformatted code. Example: {{Code|font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;}}

font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;


Actually, none of this works thanks to Mediawiki ignoring
 content, thus making <pre>{{{1}}}
fail miserably.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools