Wiki template

From DPWiki
Jump to navigation Jump to search
Jargon Guides

A page template is a pre-developed page layout used to create new pages (paper or electronic) from the same design, pattern, or style.

In wiki style, templates are texts, text boxes, subpages or pages used to duplicate the same content across more than one page. You can change a template in one place and it will immediately propagate to the pages that use it.

For example, consider a template named Template:site-doc (follow the link to see the page where it can be edited). To insert the template's content into an article, type {{site-doc}} in the wiki page ( {{site-doc}} is called a template tag). Every article with that tag in it will display the following text:

Exquisite-khelpcenter.png This page will eventually become site documentation.

Because you as a DP user can edit the text of it, the information within can still become more useful. If you see a way to improve this page, please do so! Note that because of its eventual destination, formatting conventions may differ from other wiki pages.


Templates like the one above "{{site-doc}}" are usually stuck at the top of a page.