Template:UKTrams preserved/doc

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

[edit] Usage

The {{UKTrams preserved}} project banner template should be added (not subst:ed) to the talk page of every article, related to preserved trams, within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. The full syntax is as follows:

{{UK Trams
| class           =
| importance      =
| small           =
| nested          =
}}

The parameters are used as follows:

  • class – The article's quality assessment. Valid values are: FA, A, GA, B, Start and Stub. Adds articles to the appropriate subcategory in Category:UK Trams articles by quality.
  • importance – The article subject's importance within WikiProject UK Trams. Valid values are: Top, High, Mid and Low. Adds articles to the appropriate subcategory in Category:UK Trams articles by importance.
  • small – Toggles between the wide and small version of the banner. Specifying small=yes produces the small banner; all other values produce the large banner.
  • nested – Toggles between the normal and nested version of the banner for use within {{WikiProjectBannerShell}}. Specifying nested=yes produces the nested banner; all other values produce the normal banner.