Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Formatnum

Template page
Revision as of 17:24, 28 December 2011 by CzechOut (talk | contribs) (Created page with "<strong class="error">Use the colon (<tt>:</tt>) to invoke the magic word directly instead of the pipe (<tt>|</tt>) which invokes the template.</strong><n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use the colon (:) to invoke the magic word directly instead of the pipe (|) which invokes the template.

Instructions for {{Formatnum}}
This template doesn't do an awful lot on its own. It's basically just an error message. It displays when people accidentally invoke a magic word that has the same name as a template. It explains that magic words are called when a straight line (|) is used after the name, whereas a template requires a colon (:)

In other words, as is explained in greater detail at the MediaWiki site, there is a big difference between these two statements:

{{DEFAULTSORT:Last name, First name}} <-- template
{{DEFAULTSORT|Last name, First name}} <-- magic word

This template can thus be used to inform a user that they've used the wrong format for their purpose.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.