Template:TMtr/doc

Documentation
A template to help in the construction of lists of textile mills (TM). TMtr adds a data row to a list (table) that has been started with TMbegin; TMend closes each list. The formatting of the data row is complex, occurring on one or two lines in the list, and this can be of two different shades. There are ten unnamed parameters, and the named parameters force, and color. The parameter force, forces a 2 row format when there is no image or notes. color (misspelling to be consistent with css) may be set to dark or pale to assist with formatting. oscoor is used to input a raw UKgrid reference which is then processed by to give a clickable link. It overrides the third parameter field.

It is the final row in the list must be TMendas it contains the list-close syntax.

Unnamed parameters
 * 1) Mill name
 * 2) Location
 * 3) Coordinate
 * 4) Reference
 * 5) Notes- Description
 * 6) Image
 * 7) Architect/Owner (some lists use different info)
 * 8) Built
 * 9) Decommissioned
 * 10) Demolished   (This accepts the word Standing- but does not process it as this year:  yet.)

Named parameter


 * lbe= number (This adds a Listed Building England template to the notes section- this uid is not the same as in former Image of England records.)
 * grade= I II* II (Parameter for Listed Building England template)
 * location= text (Parameter only used for Listed Building England template) Should aways be a county.
 * display= inline|location (Positioning parameter for Listed Building England template)
 * color=dark | pale
 * force= value
 * oscoor= UKgridref

Caveat

Coordinates specified using the oscoor parameter will not show on any map generated by GeoGroup.

Usage
This shows a list of three mills, between the opening TMbegin and the closing TMend: This gives:

While in the other format Gives this

Ruler
Useful to cut and paste onto edit pages: to remember the order of parameters.