MediaWiki API súgó

Ez egy automatikusan generált MediaWiki API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/API

action=expandtemplates

(main | expandtemplates)

Minden sablon kibontása a wikiszövegben.

Paraméterek:
title

Lap címe.

text

Az átalakítandó wikiszöveg.

This parameter is required.
revid

Változatazonosító a {{REVISIONID}} és hasonló változók kibontásához.

Type: integer
prop

A lekérendő információk.

Ha nincs megadva érték, a válasz tartalmazni fogja a wikiszöveget, de a kimenet elavult formátumú lesz.

wikitext
A kibontott wikiszöveg.
categories
Bármilyen, a bemenetben szereplő kategória, ami nem jelenik meg a wikiszöveges kimenetben.
properties
A wikiszövegben kibontott varázsszavak által meghatározott laptulajdonságok.
volatile
Whether the output is volatile and should not be reused elsewhere within the page.
ttl
Maximális idő, ami után az eredmény gyorsítótárazása érvénytelenítendő.
modules
Any ResourceLoader modules that parser functions have requested be added to the output. Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
A lapra vonatkozó JavaScript-változók.
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
parsetree
The XML parse tree of the input.
Értékek (elválasztó: | vagy más): categories, encodedjsconfigvars, jsconfigvars, modules, parsetree, properties, ttl, volatile, wikitext
includecomments

A HTML-megjegyzések szerepeljenek-e a kimenetben.

Típus: logikai (részletek)
generatexml
Elavult.

Generate XML parse tree (replaced by prop=parsetree).

Típus: logikai (részletek)
templatesandboxprefix

Sablonhomokozó-előtag, mint a Special:TemplateSandbox lapon.

Az értékékeket a | karakterrel vagy az alternatív elválasztóval válaszd el.
Maximum number of values is 50 (500 for clients allowed higher limits).
templatesandboxtitle

Parse the page using templatesandboxtext in place of the contents of the page named here.

templatesandboxtext

Parse the page using this page content in place of the page named by templatesandboxtitle.

templatesandboxcontentmodel

Content model of templatesandboxtext.

A következő értékek egyike: Scribunto, css, javascript, json, sanitized-css, text, wikitext
templatesandboxcontentformat

Content format of templatesandboxtext.

A következő értékek egyike: application/json, text/css, text/javascript, text/plain, text/x-wiki