Template:Lorem/doc

This template adds &lt;div style="clear:both;"&gt;&lt;/div&gt;; for technical XHTML details, see wikipedia:Template talk:Lorem ipsum.

Documentation
This template outputs the "lorem ipsum" filler text. It takes four parameters: the number of paragraphs to generate, paragraph prefix, paragraph suffix, and an option to link lorem ipsum. There are 10 distinct paragraphs, but it can produce up to 20.

Syntax
{	"description": "This template generates a filler text for test purposes. Text generated is the well-known \"Lorem ipsum\" passage, which is gibberish that somewhat resembles Latin. There are 10 distinct paragraphs, but it can produce up to 20.", "params": { "1": {			"label": "Number of paragraphs", "description": "Number of paragraphs to be shown. A number from 1 to 20 is acceptable.", "type": "number", "suggested": true, "default": "1" },		"2": {			"label": "Paragraph prefix", "description": "Wikicode or text to prefix to each paragraph. For example, specifying * « causes each paragraph to become a bullet list and start with a quotation mark.", "type": "unbalanced-wikitext" },		"3": {			"label": "Paragraph suffix", "description": "Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.", "type": "unbalanced-wikitext" },		"4": {			"aliases": [ "link" ],			"label": "Link to Lorem ipsum?", "description": "Setting this parameter to \"yes\" causes a link to the \"Lorem ipsum\" article to appear.", "type": "boolean" },		"cat": {} } }

Examples
generates:

Note that whitespace is important in the second and third parameters, as  results in:

All sections of text can run together by entering a space into the third parameter. will produce:



To link lorem ipsum, either enter, or   into the fourth parameter. or  will generate:

If fewer than 446 characters are desired, then Template:Str left can be used. will result in: