Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=templates (tl)
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸ÑполÑзован в каÑеÑÑве генеÑаÑоÑа.
- ÐÑÑоÑник: MediaWiki
- ÐиÑензиÑ: GPL-2.0+
Returns all pages transcluded on the given pages.
ÐаÑамеÑÑÑ:
- tlnamespace
ÐоказÑваÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ÑолÑко из данного ÑпиÑка имен
- Values (separate with |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- tllimit
Ðак много Ñаблонов Ð´Ð»Ñ Ð²Ð¾Ð·Ð²ÑаÑа
- РазÑеÑено не более Ñем 500 (5000 Ð´Ð»Ñ Ð±Ð¾Ñов).
- Тип: Ñелое ÑиÑло или max
- Ðо ÑмолÑаниÑ: 10
- tlcontinue
Ðогда доÑÑÑпно болÑÑе ÑезÑлÑÑаÑов, иÑполÑзоваÑÑ ÑÑÐ¾Ñ ÑÑÐ¾Ð±Ñ Ð¿ÑодолжиÑÑ.
- tltemplates
Only list these templates. Useful for checking whether a certain page uses a certain template.
- РазделÑйÑе знаÑÐµÐ½Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ |. ÐакÑималÑное колиÑеÑÑво знаÑений должно бÑÑÑ 50 (500 Ð´Ð»Ñ Ð±Ð¾Ñов).
- tldir
The direction in which to list.
- One value: ascending, descending
- Ðо ÑмолÑаниÑ: ascending
ÐÑимеÑÑ:
- Get the templates used on the page Main Page.
- api.php?action=query&prop=templates&titles=Main%20Page
- Get information about the template pages used on Main Page.
- api.php?action=query&generator=templates&titles=Main%20Page&prop=info
- Get pages in the УÑаÑÑник and Шаблон namespaces that are transcluded on the page Main Page.
- api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10