Template:C
From Tardis Wiki, the free Doctor Who reference
Instructions for {{C}}
{{c}} is a quick and dirty template for rendering code into text. Therefore, the c stands for code. It's mainly used for instructional purposes, whenever you want to clearly demonstrate the way to properly wikify a few words.
When to use
For instance, if I wanted to show someone how to use brackets to create a link, I'd type:I create a link like this: {{c|[[link]]}}. Easy, isn't it?
That would result in the following:
- I create a link like this:
{{{1}}}
. Easy, isn't it? Note that it changes the font to a dark monospace, which should set it off from the normal text which surrounds it. Also, for most users, the particular monospace which is called by the underlying CSS is one which clearly distinguishes between:
- the number 1 and the lower-case letter l
- the number 0 and the capital letter O
If you're wanting to drop a little snippet of code into a sentence, {{c}} is the easiest way to do it.
When not to use
If you have a multi-line snippet of code, you won't get the best formatting out of {{c}}. Instead, consider wrapping the text in{{{1}}}
tags.