|
|
Content Type Templates (Help)
Content Type Templates are core templates that are included first in every managed wiki page. The template consolidates as much base information and markup as possible into a single template call, such as: page titles, default categories, specified subcategories and consistent page layouts. Content Type Templates should always be on the first line of the page's markup! Content Type Templates are used by enclosing the name in a set of double curly braces:
In the {{Article}} example, this automatically supplies a bold Page Title and inclusion to the Access Wiki Index and Table of Contents categories. It also includes less notable features such as the page's TOC management and other formatting layouts that should remain consistent throughout wiki Articles. Additionally, subcategories can be defined through the Core Type Template without requiring further calls for category inclusion. Enter as many additional categories as you would like your page to appear in as parameters after the Content Type Template call:
The above example would include everything that the {{Article}} call alone does, plus inclusion to the "The Category" and "That Category" category pages.
|
|||||||||||||||||||||||
| This page was last modified 11:46, 19 January 2012. This page has been accessed 157 times. Disclaimers |