Template: Difference between revisions
Infobox>Wmahan m seperate->separate |
Infobox>Eequor m Cleanup. |
||
Line 1: | Line 1: | ||
A '''template''' is some form of device to provide a separation of form or structure from content. | A '''template''' is some form of device to provide a separation of form or structure from content. | ||
Revision as of 19:38, 4 October 2004
A template is some form of device to provide a separation of form or structure from content.
In publishing for example, a template may be a predefined layout to give you an idea what to write where with boxes and lines; a single-page newsletter template (for instance), might have a few columns, space for a picture and gaps for the headline and name of the newsletter.
Templates can be used by humans or by automated systems; many web-based software packages now use a templating system to separate the logic of the program from the displayed formatting. Typically, these templates will include variables (often denoted {VARIABLE}), and possibly a few logical operators to allow better adaptability of the template.
Templates are used in Wikimedia Projects, including Wikipedia, to show messages. See Wikipedia:Template messages.