Template:Delay subst/doc

From blackwiki
< Template:Delay subst
Revision as of 20:14, 27 June 2014 by imported>Steel1943 (Undid revision 614658805 by Steel1943 (talk) never mind)
Jump to navigation Jump to search

Usage

With certain coding, subst: does not automatically convert when it is saved. An editor can create wikitext that is only converted when saved again.

Normally wikitext like {{subst:a}} is not saved as {{subst:a}} if {{template:a}} exists, because subst: pastes the coding of template:a in the saved page.

This template makes it easy to save preload pages such as Template:RMassist/preload.

Delaying template substitution

"Subst" can be delayed with one save by creating and using {{delay subst}}.

template used template coding Paste or type Save Result
Template:Delay subst {{subst: {{subst:delay subst}}a|b}} save page {{subst:a|b}}

On the next save (with or without edits elsewhere on the page) results in substitution of template "a".

See also