Manual:Small padlock icon

Testing
first lets test it out.

Add the following code into any page.   

Changing it
   These change where the icon appears on the page.

  This changes the image.

  This changes the size of the image. 25px is recommended as its the same size as wikipedia.

  This makes a message appear when the mouse is over the icon.

Automaticlly Appearing When A Template Is On The Page
To make the small icon appear when a template is placed on the page, put the code for the small icon at the top of the template, and it will be added to a page when the template is placed on the page.

Only Showing The Icon When A Template Is On A Page
To do this, make a template, for example, lets call it. When making this template, only add the code to the template and save. Now, when you add it will only make a small icon appear.

NOTE
By adding a small icon or a protected template to a page does not mean its protected. Only administrators can protect pages.