Adding Templates: Difference between revisions

No edit summary
No edit summary
Line 5: Line 5:
#Click on the '''Edit '''tab to edit your new page<br><br><br>[[Image:Edit tab.jpg|Image:Edit_tab.jpg]]<br><br>  
#Click on the '''Edit '''tab to edit your new page<br><br><br>[[Image:Edit tab.jpg|Image:Edit_tab.jpg]]<br><br>  
#Click on the '''Wikitext '''button in the editing toolbar (top left)<br><br><br>[[Image:Wiki text button.jpg|Image:Wiki_text_button.jpg]]<br><br>  
#Click on the '''Wikitext '''button in the editing toolbar (top left)<br><br><br>[[Image:Wiki text button.jpg|Image:Wiki_text_button.jpg]]<br><br>  
#Paste the following text '''<nowiki>{{subst:Tempalte Name}}</nowiki>''' into the text entry box. For example, for a condition page you would insert '''<nowiki>{{subst:Condition}}</nowiki>'''. <br><br><br>[[Image:Template embed code.jpg|Image:Template_embed_code.jpg]]<br><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><br><br>[[Image:Template embed code.jpg|Image:Template_embed_code.jpg]]<br><br>  
#Click the '''Save page''' button at the bottom of the page<br><br><br>[[Image:Save page button.jpg|Image:Save_page_button.jpg]]<br><br>
#Click the '''Save page''' button at the bottom of the page<br><br><br>[[Image:Save page button.jpg|Image:Save_page_button.jpg]]<br><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.

Revision as of 21:09, 31 August 2008

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. Create a new page

  3. Click on the Edit tab to edit your new page


    Image:Edit_tab.jpg

  4. Click on the Wikitext button in the editing toolbar (top left)


    Image:Wiki_text_button.jpg

  5. Paste the following text {{subst:Template Name}} into the text entry box. For example, for a condition page you would insert {{subst:Condition}}.


    Image:Template_embed_code.jpg

  6. Click the Save page button at the bottom of the page


    Image:Save_page_button.jpg

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.