Magic Book: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{#forminput:form=Contact|size=60|query string=namespace=Contact|autocomplete on namespace=Contact}} | {{#forminput:form=Contact|size=60|query string=namespace=Contact|autocomplete on namespace=Contact}} | ||
== | <div class="row"> | ||
<div class="large-6 columns"> | |||
{{#cargo_query: | |||
tables=Contact | |||
|fields= _pageName=Name,Type,Address,Coordinates | |||
|format=googlemaps | |||
|width=100% | |||
}} | |||
</div> | |||
<div class="large-6 columns"> | |||
{{#cargo_query: | |||
tables=Contact | |||
|fields= CONCAT("[[",_pageName,"|",_pageTitle,"]]")=Name,CONCAT("<span class='plainlinks'>[http://www.mentalhealthlaw.co.uk/Special:Drilldown/Contact?Type=", REPLACE(Type," ","_"), " ", Type, "]</span>")=Type,Address | |||
|format=dynamic table | |||
}} | |||
</div> | |||
</div> | |||
==View== | |||
Click on a name to see further details - including maps and a link to find directions on Google. | Click on a name to see further details - including maps and a link to find directions on Google. | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 15: | Line 35: | ||
|format=dynamic table | |format=dynamic table | ||
}} | }} | ||
==Google Map== | ==Google Map== | ||
Line 28: | Line 45: | ||
|width=inherit | |width=inherit | ||
}} | }} | ||
==Search== | |||
You can search using the table above, or for a more detailed search click here: [[Special:Drilldown/Contact]]. | |||
==Places with no coordinates saved== | ==Places with no coordinates saved== |
Revision as of 00:50, 18 December 2016
This is all still in draft format. The Magic Book is named after an old database of hospitals, experts etc, which I used in a previous job.
Create or edit
(1) Hospitals/places: please add everything from your address book! The Magic Book will only be a success if everyone joins in. (2) People: add personal information (e.g. experts) with permission, unless publicly available already; no opinions; inclusion does not imply recommendation.
Type a place (e.g. hospital) or person (e.g. independent expert) name in the box below. If it exists already, it will be auto-completed for you: just click on the blue text to view/edit that page.
Function: CargoSQLQuery::run Query: SELECT `wm_cargo__Contact`.`_pageID` AS `cargo_backlink_page_id_Contact`,CONCAT("",_pageTitle,"") AS `Name`,CONCAT("<span class='plainlinks'>", REPLACE(Type," ","_"), " ", Type, "</span>") AS `Type`,`Address` AS `Address` FROM `wm_cargo__Contact` ORDER BY `wm_cargo__Contact`.`_pageID`,CONCAT("",_pageTitle,""),CONCAT("<span class='plainlinks'>", REPLACEContact.Type__full " ","_"), " ",`wm_cargo__Contact`.`Type__full` "</span>"),`Address` LIMIT 100
View
Click on a name to see further details - including maps and a link to find directions on Google.
Function: CargoSQLQuery::run Query: SELECT `wm_cargo__Contact`.`_pageID` AS `cargo_backlink_page_id_Contact`,CONCAT("",_pageTitle,"") AS `Name`,CONCAT("<span class='plainlinks'>", REPLACE(Type," ","_"), " ", Type, "</span>") AS `Type`,`Address` AS `Address` FROM `wm_cargo__Contact` ORDER BY `wm_cargo__Contact`.`_pageID`,CONCAT("",_pageTitle,""),CONCAT("<span class='plainlinks'>", REPLACEContact.Type__full " ","_"), " ",`wm_cargo__Contact`.`Type__full` "</span>"),`Address` LIMIT 100
Google Map
This shows every place which has coordinates saved. Click on the red marker to see what it is, then click on the place name to view its details.
Search
You can search using the table above, or for a more detailed search click here: Special:Drilldown/Contact.
Places with no coordinates saved
If you know where these places are, help by locating them on the map:
- Alex Ruck Keene (Address: N/A)
- Alison Ward
- Amanda Weston (Address: N/A)
- Bexley Home Treatment Team
- Carla Espirito Santo (Address: Watford)
- Cate Short
- Charlotte Emmett
- Craig Ward
- Dr Jens Wiebe
- Dr Matthew Tovey
- Dr Nicholas Todd (Address: Yorkshire, North East & North West England)
- Dr Prakash Raviraj
- Helen Curtis
- Helen Turton (Address: Manchester)
- Karen McCulloch
- Kate Jackson
- Kathryn Morgan
- Leeds and York NHS Partnership Foundation Trust
- Lisa Marie McNulty Solicitors (Address: 756 Whalley New Road, Blackburn BB1 9BA)
- Louise Wilson (Address: No.1 St Paul's Square, Liverpool, L3 9SJ)
- Lynn Hannon (Address: Lancashire)
- Mike O'Leary
- Neil Humphreys (Address: Manchester)
- Rebecca Baseley
- Rhodes Wood Hospital (Address: Rhodes Wood Hospital, Elysium Healthcare, Shepherds Way, Brookmans Park, Hatifled, AL9 6NN)
- Thomas Webb
- Tim Spencer-Lane
- Woodlands Unit
- Yinka Kumuyi (Address: Hackney, London)