Template:Colon character/Doc
From PCSAR
| Related Templates | |
|---|---|
| ; | produce a : | 
| ! | produce a | | 
| $ | produce an end of line | 
| (( | produce {{ | 
| ((( | produce Template:((( | 
| )) | produce }} | 
| ))) | produce Template:))) | 
| = | produce = | 
| ~ | produce a space | 
The template {{Colon character}}
produces a single colon character ( : )
without any special interpretation by the mediawiki parser.
For convenience, this template has the alias template:; and is more often called as:
{{;}}
Semicolon is used because the colon is a not a valid template name.
Normally a colon at the start of a line or element produces a line break and indentation. This template does not.
| You type... | You get... | 
|---|---|
 foo{{#if:||:bar}} 
 |  foo
  | 
 foo{{#if:||{{;}}bar}} 
 | foo:bar | 

