MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=templates (tl)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0+
 
Returns all pages transcluded on the given pages.
Parametri:
- tlnamespace
 Show templates in these namespaces only.
- Valori (separati da | o alternativa): -2, -1, 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.
- Non più di 500 (5 000 per bot) consentito.
 - Tipo: intero o max
 - Predefinito: 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. Il numero massimo di valori è 50 (500 per i bot).
 - tldir
 La direzione in cui elencare.
- Uno dei seguenti valori: ascending, descending
 - Predefinito: 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]