We are going to use the URL method to create a new template. When we do this, we will create an empty page where we can create the template. Once it is saved, it can be added to any page we choose with the template tag {{templatename}}
. Of course, the name we save our template as will be substituted for templatename
.
For our sample wiki, we will create a template that adds a thank you to the user for supporting free and open source software. A link to both the Free Software Foundation and the Open Source Initiative will be included as well. This template can then be added to the bottom of each page that describes software.
1. Open your web browser. In the address bar, type http://www.wikiname.com /index.php/Template:nameofyourtemplate. For the example wiki, we will enter http://www.flosspropopulo.com/index.php/Template:Thank you. Hit Enter.
2. After you hit the Enter key, you will be taken to the new Template page. Click on edit this page to create and...