Template:Transclude random excerpt/doc: Difference between revisions

Content deleted Content added
list= option to add a collapsed list of pages which might appear
Line 17:
*<code>errors=</code> to allow Lua error messages to appear in the output
*<code>showall=</code> to show all articles simultaneously
*<code>list=</code> to show a list of articles
<code>paragraphs=</code> and <code>files=</code> each accept a comma-separated list containing numbers and/or number ranges in the format min-max. Alternatively, <code>files=</code> can accept the name of a single image, e.g. <code>files=My image file.jpg</code>.
 
Line 100 ⟶ 101:
"example": "showall={{clear}}{{hr}}",
"default": "no arguments"
},
"list": {
"label": "List",
"description": "Show a list of excerpts?",
"type": "string",
"required": false,
"example": "list=List of articles",
"default": "no list"
}
},