Template:~

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude>{{documentation}}</noinclude><includeonly>&nbsp;</includeonly>)
Current revision (21:35, 27 January 2012) (edit) (undo)
 
Line 1: Line 1:
-
<noinclude>{{documentation}}</noinclude><includeonly>&nbsp;</includeonly>
+
<noinclude>{{documentation}}</noinclude><includeonly><nowiki> </nowiki></includeonly>

Current revision

This is the documentation for the template Template:~

Template:~/Doc:

{{~}} is a template that inserts a single space.

Sometimes when writing templates, it's difficult to get a space inserted by simply typing a space. The template parsing code, strips the space away. Use of this template, bypasses the parser and gives you a space regardless.

See for example Template:Task.


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