Template:Transclude random excerpt/doc: Difference between revisions

Content deleted Content added
Transclude repetitive text
Document new showall= parameter
Line 16:
*A link to the article itself such as <code>more=(more)</code>; the default is no link. Short cut: <code>more=</code> produces [[Wikipedia|Read more...]]
*<code>errors=</code> to allow Lua error messages to appear in the output
*<code>showall=</code> to show all articles simultaneously
paragraphs= and files= each accept a comma-separated list containing numbers and/or number ranges in the format min-max. Alternatively, files= can accept the name of a single image, e.g. <code>files=My image file.jpg</code>.
 
Line 88 ⟶ 89:
"example": "errors=true",
"default": "false"
},
"showall": {
"label": "ShowAll",
"description": "Show all excerpts simultaneously?",
"type": "string",
"required": false,
"example": "showall={{clear}}{{hr}}",
"default": "no arguments"
}
},