Adding Templates: Difference between revisions

mNo edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ev:youtube|JZpUj60UdxU}}
To add a template to a page you should follow these steps:<br>
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>  
#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>  
Line 4: Line 6:
#On an existing page, click the '''Edit Source '''link to edit the source code of your page.<br>  
#On an existing page, click the '''Edit Source '''link to edit the source code of your 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>'''. <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>'''. <br>  
#Click the '''Save page''' button at the top of the page.<br>
#It is always a good idea to let people know that the page is a work in progress and under construction.  You can do this by pasting the following text at the top of the page  '''<nowiki><div class="noeditbox">This article or area is currently under construction and may only be partially complete. Please come back soon to see the finished work! ({{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}})</div></nowiki>''' or you can visit the template [[Template:Under Construction|Under Construction]]<br>
#Click the '''Save page''' button at the bottom of the page.<br>
#Do not forget to remove the Under Construction template once you have completed the work on your page.<br>


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.  
Line 11: Line 15:


[[Category:Help]]
[[Category:Help]]
[[Category:User Tutorials]]

Latest revision as of 12:17, 13 April 2021

To add a template to a page you should follow these steps:

  1. 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.
  2. If you are adding a template to a new page first you need to create a new page.
  3. On an existing page, click the Edit Source link to edit the source code of your page.
  4. Paste the following text {{subst:Template Name}} into the text entry box. For example, for a condition page you would insert {{subst:Condition}}.
  5. It is always a good idea to let people know that the page is a work in progress and under construction. You can do this by pasting the following text at the top of the page <div class="noeditbox">This article or area is currently under construction and may only be partially complete. Please come back soon to see the finished work! ({{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}})</div> or you can visit the template Under Construction
  6. Click the Save page button at the bottom of the page.
  7. Do not forget to remove the Under Construction template once you have completed the work on your 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.