Help:Magic words: Difference between revisions

Content deleted Content added
m Parser functions: add space
General information: less words...
Line 29:
* The first parameter's syntax differs. In <code>{{#magic: <nowiki/>p1 | p2 | p3}}</code>, the name is <code>#magic</code>and it is followed by an unspaced <code>:</code>and a required input parameter, <code>p1</code>. With a template, <code>p1</code>is optional and it is preceded by a <code>|</code>(pipe) instead of a <code>:</code>, e.g. <code>{{template<nowiki/>|p1}}</code>.
 
Most magic words can be used in anywhere needed locations on a page;, but see [[MOS:ORDER]] for guidance on where Wikipedia prefers to placeplacing some magic words that are behavior switches (examples:such as DEFAULTSORT and DISPLAYTITLE).
 
== Behavior switches ==