Templates

Jump to navigation Jump to search


Give an example of a template

Say you don't want to type the following sentence everytime you add your name to a page as Editor-in-Chief:

Editor-In-Chief: William Smith, M.D.; Greater City Hospital, Middletown USA

Instead of typing this everytime, you could create a template with a short name like WS. When you type in {{WS}} then

Editor-In-Chief: William Smith, M.D.; Greater City Hospital, Middletown USA

would appear.

How do I create a template to put my name in on multiple pages?

Create a page named after the abbreviation you want to use. The word Template: must proceed the name of the page. For William Smith, this would be:

Template:WS

On this new page called Template:WS type in the text you want to appear:

Editor-In-Chief: William Smith, M.D.; Greater City Hospital, Middletown USA

Save the page.

When you