Help:Subst: Difference between revisions

→‎Subst-only: added new "Subst-only" section
(stubby quicky page)
 
(→‎Subst-only: added new "Subst-only" section)
Line 3:
 
This Help page ([[Help:Subst template]]) tries to describe how "subst" templates work. Except it does a really poor job. Go check out [[wikipedia:Help:Substitution]], since that will probably be more helpful.
 
 
== Subst-only ==
 
Some templates are really only designed to be used with the "<code>subst</code>" keyword.
 
Most templates get included like this:
 
<code><nowiki>
{{Wikipedia}}
</nowiki></code>
 
But a subst template gets included like this:
<code><nowiki>
{{subst:Wikipedia}}
</nowiki></code>
 
What happens is that the generated wiki text replaces the template.
 
That's not a great explanation. Search for "subst-only" and "Wikipedia" using your favorite search engine, and you'll probably find a better explanation.