Difference between revisions of "Template:TMtr"
(hcard microformat) |
m (1 revision) |
(No difference)
|
Latest revision as of 07:25, 22 August 2014
Contents
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 (mis-spelling 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
- color (dark | pale)
- force (any value)
- oscoor (UKgridref}
Caveat
Coordinates specified using the oscoor parameter will not show on any map generated by {{GeoGroupTemplate}}.
Usage
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.|Image:Dawn mill1.jpg|Stott|{{Start date|1900}}||{{End date|1994}}|Unknown|color= light|oscoor= SD989020 }}
{{TMtr
- |Atlas
- |Ashton-under-Lyne
- |SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W{{#coordinates:53.4952|-2.0968|region:GB||||||
| |name= }}
- |<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.
- |Image:Dawn mill1.jpg
- |Stott
- |{{Start date|1900}}
- |
- |{{End date|1994}}
- |Unknown
- |color= dark
}}
{{TMtr|Atlas|Ashton|SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W{{#coordinates:53.4952|-2.0968|region:GB|||||| | |name= }}|[1]|||Stott|1900||1994|Unknown|color= light|force=true}}
{{TMtr|Pear New Mill| Bredbury ||[2]|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|File:Pear Mill, Bredbury - geograph.org.uk - 686556.jpg|A H Stott,
P S Stott|1912||Standing }}
{{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{{#coordinates:53.4952|-2.0968|region:GB|||||| | |||||
name=
}} |
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 | |||
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[2] | |||||||
Atlas | Stott | Ashton SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W{{#coordinates:53.4952|-2.0968|region:GB|||||| | name=
}} |
1900 | 1994 | ||
Notes: [1] | |||||||
|
While in the other format
{{TMbegin|Architect}}
{{TMtr|Atlas|Ashton|SD 989020 53°29′43″N 2°05′48″W / 53.4952°N 2.0968°W{{#coordinates:53.4952|-2.0968|region:GB|||||| | |name= }}|<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{{#coordinates:53.4952|-2.0968|region:GB|||||| | |||
name=
}}[1] |
1900 | 1994 | |||
Atlas | Stott | Ashton, SD989020 [1] | 1900 | 1994 | |
|
Ruler
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
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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
If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
See also
References
The above documentation is transcluded from Template:TMtr/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |