Anonymous user
General usage and invocation syntax: Difference between revisions
m
removing extra curly brackets in example
(fixed) |
m (removing extra curly brackets in example) |
||
Line 26:
* This may be useful if you want to pass wiki syntax elements to DPL3 as arguments (see the {{dpl3|format}} option, for example).
* [[mw:Magic words|Magic words]] like <code><nowiki>{{PAGENAME}}</nowiki></code> or <code><nowiki>{{CURRENTDAY}}</nowiki></code> '''cannot''' be used.
* Template calls like <code><nowiki>
* Parser function calls like <code><nowiki>{{#if:...|...|...}}</nowiki></code> cannot be used within arguments.
* To pass wiki syntax elements to DPL as parameters it is sometimes necessary to enforce a line break. The reason is that wiki syntax depends on line breaks. Instead, use <code>\n</code> or <code>¶</code> for that purpose.
Line 55:
Wiki markup expansions (not the final conversion to HTML) take place before the commands are handed over to the extension module.
* Magic words like <code><nowiki>{{PAGENAME}}</nowiki></code> or <code><nowiki>{{CURRENTDAY}}</nowiki></code> '''can''' be used.
* Template calls like <code><nowiki>
* Parser function calls like <code><nowiki>{{#if:...|...|...}}</nowiki></code> can be used within arguments.
|