Template:TMtr/sandbox
This is the template sandbox page for Template:TMtr (diff). |
Documentation
[edit]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 {{oscoor}} to give a clickable link. It overrides the third parameter field.
It is the final row in the list must be {{TMend}}as it contains the list-close syntax.
Unnamed parameters
- Mill name
- Location
- Coordinate
- Reference
- Notes- Description
- Image
- Architect/Owner (some lists use different info)
- Built
- Decommissioned
- Demolished (This accepts the word Standing- but does not process it as this year: 2024 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
[edit]This shows a list of three mills, between the opening {{TMbegin}} and the closing {{TMend}}:
{{TMbegin|Architect}}
{{TMtr|Atlas|Ashton|SD 989020 {{coord|53.4952|-2.0968|display=inline|region:GB|format=dms}}|<ref name="Ashton">{{cite web|url=http://www.ashton-under-lyne.com/photos/gallery101.htm|title=Cotton Mills of Ashton — Archive Photographs|accessdate=2009-01-09}}</ref>|Atlas Mill, Waterloo. was last spinning mill still working, although with artificial fibres, It was demolished in 1994 and the site is now a housing estate.||Stott|{{Start date|1900}}||{{End date|1994}}|Unknown|color= light|oscoor=SD989020|}}
{{TMtr
|Atlas
|Ashton-under-Lyne
|SD 989020 {{coord|53.4952|-2.0968|display=inline|region:GB|format=dms}}|<ref name="Ashton"/>|Atlas Mill, Waterloo. was last spinning mill still working, although with artificial fibres, It was demolished in 1994 and the site is now a housing estate.|
|Stott
|{{Start date|1900}}
|
|{{End date|1994}}
|Unknown
|color= dark
}}
{{TMtr
|Pear New Mill
| Bredbury
||<ref name="Holden">{{cite journal|last=Holden|first= Roger N.|date=Spring 1988|title=Pear New Mill, Stockport|journal=Industrial Archaeology Review|volume=10|issue=2|pages= 162–174|url=http://www.ingentaconnect.com/content/maney/iar/1988/00000010/00000002/art00004|accessdate=2010-01-06}}</ref>
|A [[Grade II* listed buildings in Greater Manchester|GradeII* listed building]], Pear Mill, Stockport, was an Edwardian mill, one of the last cotton spinning mills to be built, commencing production in July 1913. The architects were A.H. Stott & Sons and the building is typical of their work. It was constructed with concrete floors, and meticulous detailing. The power was provided by a Manhattan type steam engine by George Saxon. Transmission was by a rope drives. The mill had 137,312 mule spindles which remained until the 1950s when they were replaced by 33,636 ring spindles, the mill being electrified at the same time. It ceased operation as a textile mill in March 1978
|File:Pear Mill, Bredbury - geograph.org.uk - 686556.jpg
|A H Stott, <br/>P S Stott
|1912
||Standing
|color= light
|force= true
|lbe= 1240634
|grade= II*
|display= hatnote
|location= Greater Manchester
}}
{{TMtr|Atlas|Ashton|SD 989020 {{coord|53.4952|-2.0968|display=inline|region:GB|format=dms}}|<ref name="Ashton">{{cite web|url=http://www.ashton-under-lyne.com/photos/gallery101.htm|title=Cotton Mills of Ashton — Archive Photographs|accessdate=2009-01-09}}</ref>|||Stott|1900||1994|Unknown|color= light|force=true }}
{{TMend|{{reflist}} }}
This gives:
Name | Architect | Location | Built | Demolished | Served (Years) |
---|---|---|---|---|---|
Atlas | Stott | Ashton SD989020 | 1900 | 1994 | |
Notes: Atlas Mill, Waterloo. was last spinning mill still working, although with artificial fibres, It was demolished in 1994 and the site is now a housing estate.[1] | |||||
Atlas | Stott | Ashton-under-Lyne SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W | 1900 | 1994 | |
Notes: Atlas Mill, Waterloo. was last spinning mill still working, although with artificial fibres, It was demolished in 1994 and the site is now a housing estate.[1] | |||||
Pear New Mill | A H Stott, P S Stott |
Bredbury | 1912 | Standing | 112 |
Grade II* listed building.[2]Notes: A GradeII* listed building, Pear Mill, Stockport, was an Edwardian mill, one of the last cotton spinning mills to be built, commencing production in July 1913. The architects were A.H. Stott & Sons and the building is typical of their work. It was constructed with concrete floors, and meticulous detailing. The power was provided by a Manhattan type steam engine by George Saxon. Transmission was by a rope drives. The mill had 137,312 mule spindles which remained until the 1950s when they were replaced by 33,636 ring spindles, the mill being electrified at the same time. It ceased operation as a textile mill in March 1978[3] | |||||
Atlas | Stott | Ashton SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W | 1900 | 1994 | 94 |
Notes: [1] | |||||
|
While in the other format
{{TMbegin|Architect}}
{{TMtr|Atlas|Ashton|SD 989020 {{coord|53.4952|-2.0968|display=inline|region:GB|format=dms}}|<ref name="Ashton">{{cite web|url=http://www.ashton-under-lyne.com/photos/gallery101.htm|title=Cotton Mills of Ashton — Archive Photographs|accessdate=2009-01-09}}</ref>|||Stott|1900||1994|Unknown|color= light}}
{{TMtr|Atlas|Ashton||<ref name="Ashton">{{cite web|url=http://www.ashton-under-lyne.com/photos/gallery101.htm|title=Cotton Mills of Ashton — Archive Photographs|accessdate=2009-01-09}}</ref>|||Stott|1900||1994|Unknown|color= dark|oscoor= SD989020}}
{{TMend|{{reflist}} }}
Gives this
Name | Architect | Location | Built | Demolished | Served (Years) |
---|---|---|---|---|---|
Atlas | Stott | Ashton, SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W[1] | 1900 | 1994 | 94 |
Atlas | Stott | Ashton, SD989020[1] | 1900 | 1994 | 94 |
|
Ruler
[edit]Useful to cut and paste onto edit pages: to remember the order of parameters.
<!--{{TMtr|Mill|Location|Coords|Refs| Notes|Image|Architect| Built|Decomm|Demolished }} -->
{{TMbegin|Architect}}
{{TMend| ref }}
Microformat
[edit]The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[edit]If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[edit]hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
[edit]When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.