966
edits
m (Added missing category) Tag: Reverted |
(Removed Categories) Tags: Manual revert Visual edit: Switched |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 42: | Line 42: | ||
# '''Use the template''': To use the template, insert the code <code><nowiki>{ {Welcome}}</nowiki></code> (without spaces between the braces) in any other page. When that page is viewed, the text “Hello! Welcome to the wiki.” will appear instead of <code><nowiki>{ {Welcome}}</nowiki></code>. This process is called "transclusion". | # '''Use the template''': To use the template, insert the code <code><nowiki>{ {Welcome}}</nowiki></code> (without spaces between the braces) in any other page. When that page is viewed, the text “Hello! Welcome to the wiki.” will appear instead of <code><nowiki>{ {Welcome}}</nowiki></code>. This process is called "transclusion". | ||
# '''Update the template''': If you change the content of the template, all pages that use the template will display the new content. For example, if you change the template contents to “Hi there! Welcome to this wonderful wiki.”, any page where the template was used will display the new text instead of the original one. | # '''Update the template''': If you change the content of the template, all pages that use the template will display the new content. For example, if you change the template contents to “Hi there! Welcome to this wonderful wiki.”, any page where the template was used will display the new text instead of the original one. | ||