Шаблон:Lorem ipsum/doc

Материал из РациоВики
Перейти к навигации Перейти к поиску

This template provides you with as much "lorem ipsum" (Latin gibberish for text layout exampling) as you could ever need (up to 10 times, at least). The first parameter can be left off, or set to a number. Leaving it off or 1 gives one paragraph. Each number higher provides one more paragraph, repeating "content" after the tenth.

There are two more parameters used, but figuring out what they do is tough. They basically get placed at the beginning and end of each paragraph, so they can be used for wiki-encoding such as bold or italic. If they are simply text, they will be output, but that doesn't seem to be of any real use. HTML tags, like "font color" don't seem to work. <big> and </big> do, though. The double and triple apostrophes that provide italics and bolding only need to be entered once.

Example:

{{lorem ipsum|2|''}} (two paragraphs, italicized)

produces:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

And closes the italics tag by repeating it.