Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Tgr (WMF)
.
Not 100% reliable as the template must include {{ambox}} on its template page. (Some templates are wrapped in <includeonly>; it should be rare for box templates, though.)
Toggle Highlighting
SQL
use enwiki_p; SELECT tmpl.page_title title, count(*) cnt FROM templatelinks tl JOIN page tmpl ON tmpl.page_namespace = tl.tl_namespace AND tmpl.page_title = tl.tl_title JOIN templatelinks tl2 ON tl2.tl_from = tmpl.page_id WHERE tmpl.page_namespace = 6 AND tl2.tl_namespace = 6 //AND tl2.tl_title = 'Ambox' GROUP BY tmpl.page_title ORDER BY cnt DESC ;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...