Module:GetShortDescription/doc

name
By providing only the required page name (including namespace), the module will look for an explicit in that page, but if not found, will try to fetch the wikidata description. If neither are found, the result will be an empty string.

If the result is a wikidata description, and it is declared (at the source) as being of a foreign language (i.e. not en), the result will be appropriately formatted by Module:Lang (the module powering ), in accordance with MOS:OTHERLANG; see (below).
 * Markup:
 * Result:

This is equivalent to stating explicit; see (below).

only
Providing a value for only will limit the search to being only for the stated description. If no description is found, the result will be an empty string, unless a fallback is provided; see (below).

explicit

 * Markup:
 * Result:

wikidata

 * Markup:
 * Result:

prefer
Providing a value for prefer will initiate the search for the stated description, but try for the alternative if none is found. If no description is found, the result will be an empty string, unless a fallback is provided; see (below).

explicit or wikidata

 * Markup:
 * Result:

wikidata or explicit

 * Markup:
 * Result:

fallback
If a value for fallback is provided, and no description is found by the expressed route, the result will be the stated fallback.

only or fallback

 * Markup:
 * Result:

prefer or fallback

 * Markup:
 * Result:

Foreign language wikidata descriptions
Should a wikidata description be retrieved, which is declared (at the source) as being of a foreign language (i.e. not en), per MOS:OTHERLANG, the return will be formatted as appropriate by Module:Lang by default. This may be disabled with yes or adjusted via the parameters for : lang_italic, lang_nocat, lang_size, lang_cat and lang_rtl; see lang's documentation for details.

Instances when a table is returned
Providing a value for objectify_alarm will cause alarming messages (red informational messages) to be returned as tables.

Providing a value for report_redlinks will cause the return of a report instead of nothing in the event that the page named is nonexistent (i.e. a WP:REDLINK) and a search for a template is processed.

A table will also be returned in the event that the module is instructed to explicit (its default), and returns a Wikidata description. If the reason for there being no explicit short description is because it was set to none; the table will include a value for

See below for examples of these behaviors: