Template:PlaceNamesItemTop: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:PlaceNamesInterest|{{{Interest|}}}}}{{#vardefine:Vicinity|{{{Vicinity|}}}}}{{#vardefine:PlaceNamesType|{{{Type|}}}}}{{#vardefine:PlaceNamesStatus|{{{Status|}}}}}{{#vardefine:Coords|{{{Lat}}},{{{Lon}}}}}{{#vardefine:Coords|{{#ifeq:{{#var:Coords}}|,||{{#var:Coords}}}}}}{{#vardefine:Demonym|{{#ifeq:{{{Demonym|}}}||English|{{{Demonym|}}}}}}}{{#vardefine:AdministrativeDivision|{{{AdministrativeDivision|}}}}}{{#vardefine:Riding|{{{Riding|}}}}}{{#vardefine:Glondon|{{#ifeq:{{{GreaterLondon|}}}|||Yes}}}}{{#vardefine:Pnyear|{{{Year|}}}}}{{#vardefine:Aka|{{{Aka|}}}}}{{#vardefine:Century|{{#ifeq:{{#var:PlaceNamesInterest}}|Robin Hood name|{{#ifeq:{{{Century|}}}||{{#ifeq:{{{Year|}}}|||{{#expr:{{#sub:{{#expr:{{{Year}}}-{{#ifeq:{{#rpos:{{{Year|}}}|00}}|2|1|0}}}}|0|2}}+1}}}}|{{{Century}}}}}|}}}}{{#vardefine:CenturyOrdinal|{{#ifeq:{{#var:Century}}|||{{#ifeq:{{#var:Century}}|21|21st|{{#var:Century}}th}}}}}}{{#vardefine:Cluster1|{{{Cluster1|}}}}}{{#vardefine:Cluster2|{{{Cluster2|}}}}}{{#vardefine:Cluster3|{{{Cluster3|}}}}}{{#vardefine:Image|{{{Image|}}}}}{{#vardefine:Postcards|{{#ifeq:{{{Postcards|}}}|||[[Category:{{#var:AdministrativeDivision}} postcards]]{{#ifeq:{{#var:Riding}}|||[[Category:{{#var:Riding}} Riding of Yorkshire postcards]]}}{{#ifeq:{{#var:Glondon}}|||[[Category:London postcards]]}}}}}}{{#vardefine:ExtraCat1|{{{ExtraCat1|}}}}}{{#vardefine:ExtraCat2|{{{ExtraCat2|}}}}}{{#vardefine:ExtraCat3|{{{ExtraCat3|}}}}}{{#vardefine:ExtraCat4|{{{ExtraCat4|}}}}}{{#vardefine:ExtraCat5|{{{ExtraCat5|}}}}}{{#vardefine:ExtraLink1|{{{ExtraLink1|}}}}}{{#vardefine:ExtraLink2|{{{ExtraLink2|}}}}}{{#vardefine:ExtraLink3|{{{ExtraLink3|}}}}}{{#vardefine:ExtraLink4|{{{ExtraLink4|}}}}}{{#vardefine:ExtraLink5|{{{ExtraLink5|}}}}}{{#vardefine:ExtraLink6|{{{ExtraLink6|}}}}}{{#vardefine:ExtraLink7|{{{ExtraLink7|}}}}}{{#vardefine:ExtraLink8|{{{ExtraLink8|}}}}}{{#vardefine:ExtraLink9|{{{ExtraLink9|}}}}}{{#vardefine:ExtraLink10|{{{ExtraLink10|}}}}}{{#vardefine:ExtraLinkName1|{{{ExtraLinkName1|}}}}}{{#vardefine:ExtraLinkName2|{{{ExtraLinkName2|}}}}}{{#vardefine:ExtraLinkName3|{{{ExtraLinkName3|}}}}}{{#vardefine:ExtraLinkName4|{{{ExtraLinkName4|}}}}}{{#vardefine:ExtraLinkName5|{{{ExtraLinkName5|}}}}}{{#vardefine:ExtraLinkName6|{{{ExtraLinkName6|}}}}}{{#vardefine:ExtraLinkName7|{{{ExtraLinkName7|}}}}}{{#vardefine:ExtraLinkName8|{{{ExtraLinkName8|}}}}}{{#vardefine:ExtraLinkName9|{{{ExtraLinkName9|}}}}}{{#vardefine:ExtraLinkName10|{{{ExtraLinkName10|}}}}}{{#vardefine:Utitle|{{#replace:{{uc:{{PAGENAME}}}}|'|'}}}}{{#vardefine:RidingPrefixed|{{#ifeq:{{#var:AdministrativeDivision}}|Yorkshire|{{#ifeq:{{#var:Riding}}||?|{{#var:Riding}} Riding of}}|}}}} | |||
{{Infobox | {{Infobox | ||
|header1=Locality | |header1=Locality | ||
Line 59: | Line 5: | ||
|data2={{{GeopointPrefix|}}}[[Geopoint::{{#var:Coords}}]]{{{GeopointSuffix|}}} | |data2={{{GeopointPrefix|}}}[[Geopoint::{{#var:Coords}}]]{{{GeopointSuffix|}}} | ||
|label3=Adm. div. | |label3=Adm. div. | ||
|data3={{#var:RidingPrefixed}} [[ | |data3={{#var:RidingPrefixed}} [[AdministrativeDivision::{{#var:AdministrativeDivision}}]]{{#ifeq:{{#var:Glondon}}|||, now Greater London}} | ||
|label4=Vicinity | |label4=Vicinity | ||
|data4 = [[ | |data4 = [[Vicinity::{{#var:Vicinity}}]] | ||
|label5=Type | |label5=Type | ||
|data5=[[ | |data5=[[PlaceNamesType::{{#var:PlaceNamesType}}]] | ||
|label6=Interest | |label6=Interest | ||
|data6=[[ | |data6=[[PlaceNamesInterest::{{#var:PlaceNamesInterest}}]] | ||
|label7=Status | |label7=Status | ||
|data7=[[ | |data7=[[PlaceNamesStatus::{{#var:PlaceNamesStatus}}]]{{{StatusSuffix}}} | ||
|label8=First Record | |label8=First Record | ||
|data8={{{DatePrefix|}}}[[ | |data8={{{DatePrefix|}}}[[FirstRecord::{{#var:Pnyear}}]]{{{DateSuffix|}}} | ||
|label9=A.k.a. | |label9=A.k.a. | ||
|data9={{#var: | |data9={{#var:Aka}} | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Interest": { | |||
"description": "The criterion for inclusion of this place-name or locality", | |||
"example": "One of: Robin Hood name; Local tradition; Literary locale; Artifacts; Miscellaneous", | |||
"type": "string", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Vicinity": { | |||
"description": "Brief text to specify location", | |||
"example": "''c.'' 1.5 km SW of Tadcaster", | |||
"type": "string", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Type": { | |||
"description": "The type of locality or other named entity", | |||
"example": "One of: Public house; Natural feature; Establishment; Church; Monument; Building; Prehistoric site; Thoroughfare; Settlement; Area; Transport; Association; Artifact; Miscellaneous\"example\": \"One\tof: Public house; Natural feature; Establishment; Church; Monument; Building; Prehistoric site; Thoroughfare; Settlement; Area; Transport; Association; Artifact; Miscellaneous", | |||
"type": "string", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Status": { | |||
"description": "Is the locality/local tradition/work of art still extant?", | |||
"example": "One of: Defunct; Extant", | |||
"type": "string", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Lat": { | |||
"label": "Latitude", | |||
"description": "Latitude part of coordinate (always decimal value)", | |||
"example": "54.456", | |||
"type": "number", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Lon": { | |||
"label": "Longitude", | |||
"description": "Longitude part of coordinate (always decimal value)", | |||
"example": "-2.345", | |||
"type": "number", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Demonym": { | |||
"description": "Demonym (adjective)", | |||
"example": "For instance: English; Scottish; US, German", | |||
"type": "string", | |||
"default": "English", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"AdministrativeDivision": { | |||
"label": "Administrative Division", | |||
"description": "For England usually the pre-1972 county in which the locality denoted by the place-name is located. Only use value 'London' (without quotation marks) for the City of London", | |||
"example": "Shropshire", | |||
"type": "string", | |||
"required": true, | |||
"suggested": false | |||
}, | |||
"Riding": { | |||
"description": "The Yorkshire riding in which the locality is situated", | |||
"example": "One of: East; North; West", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"GreaterLondon": { | |||
"label": "Greater London", | |||
"description": "For localities now in London (outside the City) but formerly in Essex, Middlesex, Surrey and Kent", | |||
"example": "Any non-empty value indicates Yes. Preferred value: Yes", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Year": { | |||
"description": "Four digit value representing 1) Year of earliest known record, 2) Year of creation/establishment, 3) Year when first mentioned in planning documents/records. For literary locales: Year when first figuring in literay sources. For local tradition: Year first mentioned", | |||
"example": "1548", | |||
"type": "number", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Aka": { | |||
"label": "A.k.a.", | |||
"description": "Alternative name(s) of the locality, establishment etc. For multiple values use semi-colon without spaces as separator", | |||
"example": "Mock Beggars Hall", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Century": { | |||
"description": "Century when first recorded; two digits, use when no value for Year can be provided; overrides century calculated from value of Year parameter", | |||
"example": "16", | |||
"type": "number", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Cluster1": { | |||
"label": "Cluster 1", | |||
"description": "The name of the place-name cluster to which the locality belongs", | |||
"example": "Little Gaddesden", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Cluster2": { | |||
"label": "Cluster 2", | |||
"description": "The name of the place-name cluster to which the locality belongs", | |||
"example": "Little Gaddesden", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Cluster3": { | |||
"label": "Cluster 3", | |||
"description": "The name of the place-name cluster to which the locality belongs", | |||
"example": "Little Gaddesden", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Image": { | |||
"description": "image filename, including extension, which is preferably: .jpg", | |||
"example": "some_filename.jpg", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"Postcards": { | |||
"description": "Indicates that IRHB holds image(s) of topographical postcard depicting the locality", | |||
"example": "Any non-empty value indicates Yes. Preferred value: Yes", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraCat1": { | |||
"label": "Extra Category 1", | |||
"description": "Name of additional category", | |||
"example": "Ship names", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraCat2": { | |||
"label": "Extra Category 2", | |||
"description": "Name of additional category", | |||
"example": "Ship names", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraCat3": { | |||
"label": "Extra Category 3", | |||
"description": "Name of additional category", | |||
"example": "Ship names", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraCat4": { | |||
"label": "Extra Category 4", | |||
"description": "Name of additional category", | |||
"example": "Ship names", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraCat5": { | |||
"label": "Extra Category 5", | |||
"description": "Name of additional category", | |||
"example": "Ship names", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink1": { | |||
"label": "Extra Link 1", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink2": { | |||
"label": "Extra Link 2", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink3": { | |||
"label": "Extra Link 3", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink4": { | |||
"label": "Extra Link 4", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink5": { | |||
"label": "Extra Link 5", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink6": { | |||
"label": "Extra Link 6", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink7": { | |||
"label": "Extra Link 7", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink8": { | |||
"label": "Extra Link 8", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink9": { | |||
"label": "Extra Link 9", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLink10": { | |||
"label": "Extra Link 10", | |||
"description": "Use for extra links in category links section", | |||
"example": "Barnsdale (Doncaster)", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName1": { | |||
"label": "Extra Link Name 1", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName2": { | |||
"label": "Extra Link Name 2", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName3": { | |||
"label": "Extra Link Name 3", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName4": { | |||
"label": "Extra Link Name 4", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName5": { | |||
"label": "Extra Link Name 5", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName6": { | |||
"label": "Extra Link Name 6", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName7": { | |||
"label": "Extra Link Name 7", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName8": { | |||
"label": "Extra Link Name 8", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName9": { | |||
"label": "Extra Link Name 9", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"ExtraLinkName10": { | |||
"label": "Extra Link Name 10", | |||
"description": "Anchor (link) text for the extra link with the corresponding number", | |||
"example": "Barnsdale in the West Riding of Yorkshire", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"GeopointPrefix": { | |||
"label": "Geopoint Prefix", | |||
"description": "Word preceding coordinate when the latter is imprecise", | |||
"example": "Near", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"GeopointSuffix": { | |||
"label": "Geopoint Suffix", | |||
"description": "For instance a query when coordinate is uncertain", | |||
"example": "?", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"StatusSuffix": { | |||
"label": "Status Suffix", | |||
"description": "Value to append when status is uncertain", | |||
"example": "Usual value if any: ?", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"DatePrefix": { | |||
"label": "Date Prefix", | |||
"description": "Prefix to modify year", | |||
"example": "Typically: c.", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"DateSuffix": { | |||
"label": "Date Suffix", | |||
"description": "Suffix to append to year when it is uncertain", | |||
"example": "Usually: ?", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
} | |||
}, | |||
"description": "Sets up page variables on item pages in IRHB's place-names section" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 13:44, 5 June 2021
Sets up page variables on item pages in IRHB's place-names section
Parameter | Description | Type | Status | |
---|---|---|---|---|
Interest | Interest | The criterion for inclusion of this place-name or locality
| String | required |
Vicinity | Vicinity | Brief text to specify location
| String | required |
Type | Type | The type of locality or other named entity
| String | required |
Status | Status | Is the locality/local tradition/work of art still extant?
| String | required |
Latitude | Lat | Latitude part of coordinate (always decimal value)
| Number | required |
Longitude | Lon | Longitude part of coordinate (always decimal value)
| Number | required |
Demonym | Demonym | Demonym (adjective)
| String | optional |
Administrative Division | AdministrativeDivision | For England usually the pre-1972 county in which the locality denoted by the place-name is located. Only use value 'London' (without quotation marks) for the City of London
| String | required |
Riding | Riding | The Yorkshire riding in which the locality is situated
| String | optional |
Greater London | GreaterLondon | For localities now in London (outside the City) but formerly in Essex, Middlesex, Surrey and Kent
| String | optional |
Year | Year | Four digit value representing 1) Year of earliest known record, 2) Year of creation/establishment, 3) Year when first mentioned in planning documents/records. For literary locales: Year when first figuring in literay sources. For local tradition: Year first mentioned
| Number | optional |
A.k.a. | Aka | Alternative name(s) of the locality, establishment etc. For multiple values use semi-colon without spaces as separator
| String | optional |
Century | Century | Century when first recorded; two digits, use when no value for Year can be provided; overrides century calculated from value of Year parameter
| Number | optional |
Cluster 1 | Cluster1 | The name of the place-name cluster to which the locality belongs
| String | optional |
Cluster 2 | Cluster2 | The name of the place-name cluster to which the locality belongs
| String | optional |
Cluster 3 | Cluster3 | The name of the place-name cluster to which the locality belongs
| String | optional |
Image | Image | image filename, including extension, which is preferably: .jpg
| String | optional |
Postcards | Postcards | Indicates that IRHB holds image(s) of topographical postcard depicting the locality
| String | optional |
Extra Category 1 | ExtraCat1 | Name of additional category
| String | optional |
Extra Category 2 | ExtraCat2 | Name of additional category
| String | optional |
Extra Category 3 | ExtraCat3 | Name of additional category
| String | optional |
Extra Category 4 | ExtraCat4 | Name of additional category
| String | optional |
Extra Category 5 | ExtraCat5 | Name of additional category
| String | optional |
Extra Link 1 | ExtraLink1 | Use for extra links in category links section
| String | optional |
Extra Link 2 | ExtraLink2 | Use for extra links in category links section
| String | optional |
Extra Link 3 | ExtraLink3 | Use for extra links in category links section
| String | optional |
Extra Link 4 | ExtraLink4 | Use for extra links in category links section
| String | optional |
Extra Link 5 | ExtraLink5 | Use for extra links in category links section
| String | optional |
Extra Link 6 | ExtraLink6 | Use for extra links in category links section
| String | optional |
Extra Link 7 | ExtraLink7 | Use for extra links in category links section
| String | optional |
Extra Link 8 | ExtraLink8 | Use for extra links in category links section
| String | optional |
Extra Link 9 | ExtraLink9 | Use for extra links in category links section
| String | optional |
Extra Link 10 | ExtraLink10 | Use for extra links in category links section
| String | optional |
Extra Link Name 1 | ExtraLinkName1 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 2 | ExtraLinkName2 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 3 | ExtraLinkName3 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 4 | ExtraLinkName4 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 5 | ExtraLinkName5 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 6 | ExtraLinkName6 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 7 | ExtraLinkName7 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 8 | ExtraLinkName8 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 9 | ExtraLinkName9 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Extra Link Name 10 | ExtraLinkName10 | Anchor (link) text for the extra link with the corresponding number
| String | optional |
Geopoint Prefix | GeopointPrefix | Word preceding coordinate when the latter is imprecise
| String | optional |
Geopoint Suffix | GeopointSuffix | For instance a query when coordinate is uncertain
| String | optional |
Status Suffix | StatusSuffix | Value to append when status is uncertain
| String | optional |
Date Prefix | DatePrefix | Prefix to modify year
| String | optional |
Date Suffix | DateSuffix | Suffix to append to year when it is uncertain
| String | optional |