MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=templates (tl)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
Returns all pages transcluded on the given pages.
Parametri:
- tlnamespace
 Show templates in these namespaces only.
- Valori (separati da | o alternativa): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
 - Per specificare tutti i valori, utilizza *.
 - tllimit
 Quanti template restituire.
- Tipo: intero o max
 - The value must be between 1 and 500.
 - Default: 10
 - tlcontinue
 Quando più risultati sono disponibili, usa questo per continuare.
- tltemplates
 Only list these templates. Useful for checking whether a certain page uses a certain template.
- Separa i valori con | o alternativa.
 - Maximum number of values is 50 (500 for clients that are allowed higher limits).
 - tldir
 La direzione in cui elencare.
- Uno dei seguenti valori: ascending, descending
 - Default: ascending
 
Esempi:
- Get the templates used on the page Main Page.
 - api.php?action=query&prop=templates&titles=Main%20Page [apri in una sandbox]
 - Get information about the template pages used on Main Page.
 - api.php?action=query&generator=templates&titles=Main%20Page&prop=info [apri in una sandbox]
 - Get pages in the Utente and Template namespaces that are transcluded on the page Main Page.
 - api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10 [apri in una sandbox]