This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
select replace(page_title, '_', ' ') as template, count(*) as transclusions
from page join categorylinks join linktarget join templatelinks
on cl_from = page_id
and lt_namespace = page_namespace
and lt_title = page_title
and tl_target_id = lt_id
where cl_to = "Шаблоны-карточки_по_алфавиту"
and tl_from_namespace = 0
group by page_title
order by transclusions desc
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...