.

Template:Lorem ipsum/doc: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 3: Line 3:
This template outputs [[lorem ipsum]] filler text. It takes three parameters: the number of paragraphs to generate, paragraph prefix, and paragraph suffix. There are 10 distinct paragraphs. After this the text will be repeated.
This template outputs [[lorem ipsum]] filler text. It takes three parameters: the number of paragraphs to generate, paragraph prefix, and paragraph suffix. There are 10 distinct paragraphs. After this the text will be repeated.


For example, <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|2|* "|"}}</nowiki></code> generates:
For example, <code><nowiki>{{</nowiki><nowiki>|2|* "|"}}</nowiki></code> generates:


{{{{BASEPAGENAME}}|2|* "|"}}
{{|2|* "|"}}


Note that whitespace is important in the last two parameters, as <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1| * " | " }}</nowiki></code> results in:
Note that whitespace is important in the last two parameters, as <code><nowiki>{{</nowiki><nowiki>|1| * " | " }}</nowiki></code> results in:


{{{{BASEPAGENAME}}|1| * " | " }}
{{|1| * " | " }}


== Full text ==
== Full text ==


{{{{BASEPAGENAME}}|10}}
{{|10}}


== Source ==
== Source ==

Revision as of 05:01, 10 January 2007

Template:Template doc page viewed directly

This template outputs lorem ipsum filler text. It takes three parameters: the number of paragraphs to generate, paragraph prefix, and paragraph suffix. There are 10 distinct paragraphs. After this the text will be repeated.

For example, {{|2|* "|"}} generates:

{{|2|* "|"}}

Note that whitespace is important in the last two parameters, as {{|1| * " | " }} results in:

{{|1| * " | " }}

Full text

{{|10}}

Source

The first paragraph is from the original template for backwards compatibility. The rest was generated at lipsum.com.