Toggle menu
14
236
69
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:51, 18 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} {{Distinguish|Template:Subst}} {{Subst only}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == 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 <code><nowiki>{{subst:a}}</nowiki></code> is not saved as <code><nowiki>{{subst:a}}</nowiki></code> if <code><nowiki>{{template:a}}</nowi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: 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

"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