Difference between revisions of "Template:Code"
From Backstage Lore Wiki
m (Protected "Template:Code" [edit=sysop:move=sysop]) |
(KILL ME! KILL ME! D:) |
||
Line 6: | Line 6: | ||
<nowiki>{{Code|font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;}}</nowiki> | <nowiki>{{Code|font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;}}</nowiki> | ||
{{Code|font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;}} | {{Code|font-family: Lucida Console, Courier New, Bitstream Vera Sans Mono, sans serif;}} | ||
+ | |||
+ | Actually, none of this works thanks to Mediawiki ignoring <pre> content, thus making <pre>{{{1}}}</pre> fail miserably. | ||
</noinclude> | </noinclude> |
Revision as of 15:37, 10 December 2008
{{{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;
content, thus making <pre>{{{1}}}fail miserably.