Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Chabadpedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Help:Substitution
(section)
Help page
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== When to use substitution == Generally speaking, templates are [[Help:Transclusion|transcluded]] rather than substituted, although there are some that are specifically designed to be substituted (and may not work if transcluded). Some reasons for substituting templates include: * making the resulting page independent of future changes to the template * enabling other automatic replacements to occur (for example, a template may contain four tildes, which will be replaced by the user's signature and timestamp provided the template is substituted) * enabling the page to be copied to another project without copying the template * making page rendering faster for the server * making the correspondence between wikitext and rendered page easier to understand (the opposite may also apply) Disadvantages of substitution may include: * Updates to the template will not be reflected on the target page * The resulting wikitext is longer and more complicated * Other users cannot see that the text was produced using a template (and will not learn to use the template) ** Many templates add a hidden comment such as <code><nowiki><!-- Template:Foo --></nowiki></code> to the end of their output to mitigate this issue. Time-dependent variables are substituted to make the rendered page independent of the time at which it is viewed. Substituting page-dependent variables makes the resulting wikitext independent of renaming of the page and of copying to another page. For more detailed guidance, including lists of templates which should or should not be substituted, see [[Wikipedia:Substitution]].
Edit summary
(Briefly describe your changes)
Please note that all contributions to Chabadpedia are considered to be released under the GNU Free Documentation License 1.3 or later (see
Chabadpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
This page is a member of 2 hidden categories:
Category:Chabadpedia help
Category:Pages with missing files