Adding Templates: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
To add a template to a page you should follow these steps:<br> | |||
#Go to the [[Templates|Templates]] page and choose the template that you wish to use. Make a note of the name of the template that you are going to use.<br> | |||
To add a template to a page you should follow these steps:<br> | #If you are adding a template to a new page first you need to [[Creating a new page|create a new page]]. <br> | ||
#On an existing page, click the '''Edit Source '''link to edit the source code of your page.<br> | |||
#Go to the [[Templates|Templates]] page and choose the template that you wish to use.Make a note of the name of the template that you are going to use. | #Paste the following text '''<nowiki>{{subst:Template Name}}</nowiki>''' into the text entry box. For example, for a condition page you would insert '''<nowiki>{{subst:Condition}}</nowiki>'''. <br> | ||
#[[Creating a new page| | #Click the '''Save page''' button at the top of the page.<br> | ||
# | |||
#Paste the following text '''<nowiki>{{subst:Template Name}}</nowiki>''' into the text entry box. For example, for a condition page you would insert '''<nowiki>{{subst:Condition}}</nowiki>'''. | |||
#Click the '''Save page''' button at the | |||
When you now view your page it will be populated with the template content. To edit this content click on the '''Edit '''tab and edit as normal. | When you now view your page it will be populated with the template content. To edit this content click on the '''Edit '''tab and edit as normal. |
Revision as of 20:45, 6 August 2017
To add a template to a page you should follow these steps:
- Go to the Templates page and choose the template that you wish to use. Make a note of the name of the template that you are going to use.
- If you are adding a template to a new page first you need to create a new page.
- On an existing page, click the Edit Source link to edit the source code of your page.
- Paste the following text {{subst:Template Name}} into the text entry box. For example, for a condition page you would insert {{subst:Condition}}.
- Click the Save page button at the top of the page.
When you now view your page it will be populated with the template content. To edit this content click on the Edit tab and edit as normal.