Template:PlaceNamesPopUp: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{Image|}}}|||[[File:{{{Image|}}}|thumb|left|class=popupimg|link=]]}} | |||
<table class="pnpopup"> | <table class="pnpopup"> | ||
<tr><td>Adm. Div.</td><td>{{{ | <tr><td>Lat.</td><td>{{{latitude|}}}</td></tr> | ||
<tr><td>Vicinity</td><td>{{{ | <tr><td>Lon.</td><td>{{{longitude|}}}</td></tr> | ||
<tr><td>Type</td><td>{{{ | <tr><td>Adm. Div.</td><td>{{{AdministrativeDivision|}}}</td></tr> | ||
<tr><td>Interest</td><td>{{{ | <tr><td>Vicinity</td><td>{{{Vicinity|}}}</td></tr> | ||
<tr><td>Status</td><td>{{{ | <tr><td>Type</td><td>{{{PlaceNamesType|}}}</td></tr> | ||
<tr><td>First Rec.</td><td>{{ | <tr><td>Interest</td><td>{{{PlaceNamesInterest|}}}</td></tr> | ||
<tr><td>Status</td><td>{{{PlaceNamesStatus|}}}</td></tr> | |||
<tr><td>First Rec.</td><td>{{{FirstRecord|}}}</td></tr> | |||
<tr><td>Century</td><td>{{{CenturyOrdinal|}}}</td></tr> | |||
</table></includeonly> | </table></includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Image": { | |||
"description": "The image shown in the pop-up", | |||
"type": "string" | |||
}, | |||
"longitude": { | |||
"description": "The longitude component of the coordinate (type Geopoint)", | |||
"type": "number" | |||
}, | |||
"latitude": { | |||
"description": "The latitude component of the coordinate (type Geopoint)", | |||
"type": "number" | |||
}, | |||
"AdministrativeDivision": { | |||
"description": "The administrative division (in England typically county or shire) in which the locality is located", | |||
"type": "string" | |||
}, | |||
"Vicinity": { | |||
"description": "The neighbourhood in which the locality is located", | |||
"type": "string" | |||
}, | |||
"PlaceNamesType": { | |||
"description": "TYpe of place-name/locality: Public house, Area, Natural feature etc.", | |||
"type": "string" | |||
}, | |||
"PlaceNamesInterest": { | |||
"description": "Reason why this item is relevant: Robin Hood name, Local tradition, Literary locale etc.", | |||
"type": "string" | |||
}, | |||
"PlaceNamesStatus": { | |||
"description": "Status either Extant or Defunct (typically refers to the place-name rather than the locality)", | |||
"type": "string" | |||
}, | |||
"FirstRecord": { | |||
"description": "Date when the place-name is first recorded", | |||
"type": "number" | |||
}, | |||
"CenturyOrdinal": { | |||
"description": "Century in which the place-name is first recorded: 15th, 16th etc.", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Generates Pop-ups that appear when users click on markers on maps on pages in the Place-Names section of IRHB, used by SMW queries." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 21:13, 19 April 2022
Generates Pop-ups that appear when users click on markers on maps on pages in the Place-Names section of IRHB, used by SMW queries.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | Image | The image shown in the pop-up | String | optional |
longitude | longitude | The longitude component of the coordinate (type Geopoint) | Number | optional |
latitude | latitude | The latitude component of the coordinate (type Geopoint) | Number | optional |
AdministrativeDivision | AdministrativeDivision | The administrative division (in England typically county or shire) in which the locality is located | String | optional |
Vicinity | Vicinity | The neighbourhood in which the locality is located | String | optional |
PlaceNamesType | PlaceNamesType | TYpe of place-name/locality: Public house, Area, Natural feature etc. | String | optional |
PlaceNamesInterest | PlaceNamesInterest | Reason why this item is relevant: Robin Hood name, Local tradition, Literary locale etc. | String | optional |
PlaceNamesStatus | PlaceNamesStatus | Status either Extant or Defunct (typically refers to the place-name rather than the locality) | String | optional |
FirstRecord | FirstRecord | Date when the place-name is first recorded | Number | optional |
CenturyOrdinal | CenturyOrdinal | Century in which the place-name is first recorded: 15th, 16th etc. | String | optional |