Jump to content

SeptemWiki:Style Guide/Templates

From SeptemWiki

The judicious use of templates will make it easier for SeptemWiki editors to write clear, consistent articles. This guide contains information on templates which editors should know about and use appropriately.

Syntax

Main article: Help:Templates

Templates are embedded in your article using the template syntax described in the Help:Templates page. For each template described in this page, examples are given.

Subtypes

Main article: Help:Templates

Some templates take a lot of parameters, but most of the time, only a few of them are used. So we create a "subtype" template which provides most of the parameters for you, like Template:Stub, which just calls Template:Ambox but provides most of the parameters to produce a convenient "stub article" banner.

This process can subdivide further, and further. The Stub template itself has several subtypes, which produce different looking stubs, with different icons and text, for articles about Triparic, the Turnpike, and so forth.

Banners

Banners are nice boxes which run across the width of your article. Some common ones are the Stub template:

{{stub}}

which yields:



In general, banners are produced using the "Article Message Box" template, fully documented at Template:Ambox.