Difference between revisions of "Template:C"
From Maths
(Created page with "<noinclude> This is like the <code>M</code> template on [http://maths.kisogo.com maths.kisogo.com] only for code instead, adds a code block with optional styling. {| class="w...") |
m (Fixed typo) |
||
Line 16: | Line 16: | ||
| Optional styling, eg <code>color:#ffffff;</code> for white font | | Optional styling, eg <code>color:#ffffff;</code> for white font | ||
|} | |} | ||
− | </noinclude><code {{#if:{{{style}}}|style="{{{style}}}"|}}>{{{1|}}}</code> | + | </noinclude><code{{#if:{{{style|}}}|style="{{{style}}}"|}}>{{{1|}}}</code> |
Revision as of 19:23, 16 October 2015
This is like the M
template on maths.kisogo.com only for code instead, adds a code block with optional styling.
Attribute | Default | Comment |
---|---|---|
1 | (empty string) | This is the code to show |
style
|
(empty string) | Optional styling, eg color:#ffffff; for white font
|