Template:Colon character

From PCSAR

(Redirected from Template:;)
Jump to: navigation, search

This is the documentation for the template Template:Colon character

Template:Colon character/Doc:
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
bar
foo{{#if:||{{;}}bar}} 
foo:bar


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools