Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

prop=templates (tl)

(main | query | templates)
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all pages transcluded on the given pages.

Параметри:
tlnamespace

Show templates in these namespaces only.

Вредности (одделете ги со |): -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
tllimit

How many templates to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или 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.

Една вредност: ascending, descending
По основно: ascending
Примери:
Get the templates used on the page Main Page.
api.php?action=query&prop=templates&titles=Main%20Page [open in sandbox]
Get information about the template pages used on Main Page.
api.php?action=query&generator=templates&titles=Main%20Page&prop=info [open in sandbox]
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 [open in sandbox]