MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de

prop=templates (tl)

(main | query | templates)
  • Dieses Modul erfordert Leserechte.
  • Dieses Modul kann als Generator verwendet werden.
  • Quelle: MediaWiki
  • Lizenz: GPL-2.0+

Returns all pages transcluded on the given pages.

Parameter:
tlnamespace

Show templates in these namespaces only.

Werte (mit | trennen oder Alternative): -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 102, 103, 114, 115, 116, 117, 118, 119, 130, 131, 2300, 2301, 2302, 2303
Um alle Werte anzugeben, verwende *.
tllimit

Wie viele Vorlagen zurückgegeben werden sollen.

Nicht mehr als 500 (5.000 für Bots) erlaubt.
Typ: Ganzzahl oder max
Standard: 10
tlcontinue

Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden.

tltemplates

Only list these templates. Useful for checking whether a certain page uses a certain template.

Werte mit | trennen oder Alternative. Maximale Anzahl der Werte ist 50 (500 für Bots).
tldir

Die Auflistungsrichtung.

Einer der folgenden Werte: ascending, descending
Standard: ascending
Beispiele:
Get the templates used on the page Main Page.
api.php?action=query&prop=templates&titles=Main%20Page [in Spielwiese öffnen]
Get information about the template pages used on Main Page.
api.php?action=query&generator=templates&titles=Main%20Page&prop=info [in Spielwiese öffnen]
Get pages in the Benutzer and Vorlage namespaces that are transcluded on the page Main Page.
api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10 [in Spielwiese öffnen]