4,193
edits
(stubby quicky page) |
(→Subst-only templates: renaming section to "Subst-only templates". With any luck Help:Subst#Subst-only will also still work) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2:
:''parent: [[Help:Contents]]''
This Help page (
== Subst-only templates==
<div id="Subst-only"></div>
Some templates are really only designed to be used with the "<code>subst</code>" keyword. These are also known as '''Subst-only templates'''
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.
|