Changes

Jump to: navigation, search

Template:Lorem ipsum/doc

1,823 bytes added, 14:18, 29 February 2020
Created page with "{{documentation subpage}} <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> {{template shortcut|Ipsum|Lipsum|Lorem|Loremipsum}} '''{{FULLPAG..."
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{template shortcut|Ipsum|Lipsum|Lorem|Loremipsum}}
'''{{FULLPAGENAME}}''' outputs [[wikipedia:lorem ipsum|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.

===Usage===

<code><nowiki>{{Lorem ipsum|2|* "|"}}</nowiki></code> generates:
{{Lorem ipsum|2|* "|"}}

Note that whitespace is important in the second and third parameters, as <code><nowiki>{{Lorem ipsum|1| * " | " }}</nowiki></code> results in:
{{Lorem ipsum|1| * " | " }}

All sections of text can run together by entering a space into the third parameter. <code><nowiki><blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote></nowiki></code> will produce:

<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>

To link lorem ipsum, either enter <code>link=yes</code>, or <code>yes</code> into the fourth parameter. <code><nowiki>{{Lorem ipsum|2=#|link=yes}}</nowiki></code> or <code><nowiki>{{Lorem ipsum|1|#||yes}}</nowiki></code> will generate:
{{Lorem ipsum|2=#|link=yes}}

If less than 446 characters are desired, then [[:Template:Str left]] can be used. <code><nowiki>{{Str left|{{Lorem ipsum}}|123}}.</nowiki></code> will result in:

{{Str left|{{Lorem ipsum}}|123}}.

=== Full text ===

{{Lorem ipsum|10}}

<includeonly>
<!-- Interwiki and categories come here:
{{DEFAULTSORT:Lorem ipsum}}
[[Category:Miscellaneous templates|{{PAGENAME}}]]
[[Category:Placeholder templates|{{PAGENAME}}]] -->
</includeonly><noinclude>
{{pp-move|small=yes}}
{{pp-move-indef}}
{{pp-template|small=yes}}
[[Category:Pages not to be tested on]]</noinclude>



Navigation menu