Contents |
To create a template, just create a link of the form [[Template:Template title]].
Ordinarily, templates must be edited on the template's page. All pages containing the template will be updated when the template page is saved. When the user edits a page containing a template, she will only see the {{Template title}}; she will not be able to view or edit the template text on the recipient page's edit screen.
The Subst commands makes the template temporary. That is, when the recipient page is saved, the current text of the template with its wiki commands is copied onto the recipient page. The recipient page is not connected to the Template page after it is saved. Any future changes to the template will not be updated on the recipient page.
This is very helpful in applications like our welcome protocol. The Welcome1 message can be edited on its template page as the system changes. Older welcomes containing the "subst" command will not be updated. But, when the new user edits his talk page, he can see all the wiki commands in the welcome message. This helps him learn to use the wiki commands.
Use the Subst command as follows {{Subst:Name of Template}}
Use this template to mark pages that are candidates to be merged with other pages.