Template:Api help/es

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:Api help and the translation is 33% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎polski • ‎português • ‎русский • ‎فارسی • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어



Documentation icon Template documentation

This transcludes Special:ApiHelp/module-name and explains what's going on.

Uso

1
module name. No leading space. You can reference query submodules by module+submodule

Ejemplo

{{Api help|query+extracts}} produces





prop=extracts (ex)

(main | query | extracts)

Returns plain-text or limited HTML extracts of the given pages.

Parameters:
exchars

How many characters to return. Actual text returned might be slightly longer.

The value must be between 1 and 1,200.
Type: integer
exsentences

How many sentences to return.

The value must be between 1 and 10.
Type: integer
exlimit

How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.)

No more than 20 (20 for bots) allowed.
Type: integer or max
Default: 20
exintro

Return only content before the first section.

Type: boolean (details)
explaintext

Return extracts as plain text instead of limited HTML.

Type: boolean (details)
exsectionformat

How to format sections in plaintext mode:

plain
No formatting.
wiki
Wikitext-style formatting (== like this ==).
raw
This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).
One of the following values: plain, wiki, raw
Default: wiki
excontinue

When more results are available, use this to continue.

Type: integer

Nota Nota: You can't transclude the help of multiple API modules at once