• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Delay subst

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
Not to be confused with Template:Subst.
This template should always be substituted – use {{subst:Delay subst}}.

Usage

edit

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: saves the coding of template:a in its place.

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

Delaying template substitution

edit

"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

edit
  • mw:Manual:Recursive conversion of wikitext
The above documentation is transcluded from Template:Delay subst/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Delay_subst&oldid=1297006586"