Templates

Revision as of 18:43, 3 February 2009 by C Michael Gibson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is a template?

A template is a subroutine that generates content on multiple different pages.

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:

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 William Smith, M.D.; Greater City Hospital, Middletown USA would appear.