Module:GetShortDescription/doc: Difference between revisions

Content deleted Content added
information for requisition and about objectify_alarm
alter docs inline with alteration of module; now using Module:Arguments (again)
Line 1:
{{Module rating|beta}}
{{Lua|Module:Arguments|Module:Lang}}
{{info|This module is required by [[Module:AnnotatedLink]].}}
{{info|This module may, by design, output alarming informational messages under certain circumstances; if these messages are displayed on any page invoking this module directly or via any other module or template using it, the page will be added to [[:Category:Pages displaying alarming messages about Module:GetShortDescription]].}}
Line 60:
 
local short_description = getShortDescription( {
-- required
args = {
name = --'page requiredname',
name = 'page name',
 
-- optional
prefer = 'explicit' or 'wikidata',
only = 'explicit' or 'wikidata',
fallback = 'fallback',
objectify_alarm = true or false,
lang_no = true or false,
 
-- optional {{lang}} options
lang_italic = <yes, no, unset, invert, default>,
lang_nocat = <yes, y, true, t, on, 1>,
lang_size = <CSS font-size e.g. '1.5em'>,
lang_cat = <no, n, false, f, off, 0>,
lang_rtl = <no (default), yes>
}
} )