Script error: No such module "Lua banner".
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Lua/doc to edit this documentation. (How does this work?) |
{{Lua
- return this, otherwise) return "/sandbox" (
Returns "/sandbox" – or, if supplied, the first unnamed parameter ("return this" above) – if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothingTemplate:Spndashor, if supplied, the second unnamed parameter ("else return this" above). It corresponds to {{When pagename is |/sandbox={{{return this|/sandbox}}} |other={{{else return this|}}}}}
.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing Template:Mono ... on the /doc page with Template:Mono ...) when that documentation is transcluded on the template's sandbox page.
Template:Basepage subpage|Module:Lua banner}}
This template is used to show that templates have been converted to Lua. It is placed at the top of the template's /doc page. It automatically adds the template to Category:Lua-based templates, or to one of its subcategories.
Contents
- 1 Usage
- 2 Examples
- 3 Usage
- 4 Syntax
- 5 Examples
- 6 Syntax
- 7 Examples
- 8 Full text
- 9 Syntax
- 10 Examples
- 11 Full text
- 12 Syntax
- 13 Examples
- 14 Full text
- 15 Syntax
- 16 Examples
- 17 Full text
- 18 Full text
- 19 Syntax
- 20 Examples
- 21 Full text
- 22 Syntax
- 23 Examples
- 24 Syntax
- 25 Examples
- 26 Full text
- 27 Syntax
- 28 Examples
- 29 Full text
- 30 Syntax
- 31 Examples
- 32 Full text
- 33 Syntax
- 34 Examples
- 35 Full text
- 36 Full text
- 37 Syntax
- 38 Examples
- 39 Full text
- 40 See also
- 41 Usage
- 42 Syntax
- 43 Examples
- 44 Syntax
- 45 Examples
- 46 Full text
- 47 Syntax
- 48 Examples
- 49 Full text
- 50 Syntax
- 51 Examples
- 52 Full text
- 53 Syntax
- 54 Examples
- 55 Full text
- 56 Full text
- 57 Syntax
- 58 Examples
- 59 Full text
- 60 Syntax
- 61 Examples
- 62 Syntax
- 63 Examples
- 64 Full text
- 65 Syntax
- 66 Examples
- 67 Full text
- 68 Syntax
- 69 Examples
- 70 Full text
- 71 Syntax
- 72 Examples
- 73 Full text
- 74 Full text
- 75 Syntax
- 76 Examples
- 77 Full text
- 78 See also
- 79 Usage
- 80 Syntax
- 81 Examples
- 82 Syntax
- 83 Examples
- 84 Full text
- 85 Syntax
- 86 Examples
- 87 Full text
- 88 Syntax
- 89 Examples
- 90 Full text
- 91 Syntax
- 92 Examples
- 93 Full text
- 94 Full text
- 95 Syntax
- 96 Examples
- 97 Full text
- 98 Syntax
- 99 Examples
- 100 Syntax
- 101 Examples
- 102 Full text
- 103 Syntax
- 104 Examples
- 105 Full text
- 106 Syntax
- 107 Examples
- 108 Full text
- 109 Syntax
- 110 Examples
- 111 Full text
- 112 Full text
- 113 Syntax
- 114 Examples
- 115 Full text
- 116 See also
- 117 Usage
- 118 Syntax
- 119 Examples
- 120 Syntax
- 121 Examples
- 122 Full text
- 123 Syntax
- 124 Examples
- 125 Full text
- 126 Syntax
- 127 Examples
- 128 Full text
- 129 Syntax
- 130 Examples
- 131 Full text
- 132 Full text
- 133 Syntax
- 134 Examples
- 135 Full text
- 136 Syntax
- 137 Examples
- 138 Syntax
- 139 Examples
- 140 Full text
- 141 Syntax
- 142 Examples
- 143 Full text
- 144 Syntax
- 145 Examples
- 146 Full text
- 147 Syntax
- 148 Examples
- 149 Full text
- 150 Full text
- 151 Syntax
- 152 Examples
- 153 Full text
- 154 See also
- 155 Categorisation
- 156 See also
Usage
- Basic
{{Lua|module name}}
- All parameters
{{Lua|module 1|module 2|module 3|...|category=custom category|nocat=true}}
The first module name is required.
Examples
{{Lua|Module:Bananas}}
{{Lua
- return this, otherwise) return "/sandbox" (
Returns "/sandbox" – or, if supplied, the first unnamed parameter ("return this" above) – if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothingTemplate:Spndashor, if supplied, the second unnamed parameter ("else return this" above). It corresponds to {{When pagename is |/sandbox={{{return this|/sandbox}}} |other={{{else return this|}}}}}
.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing Template:Mono ... on the /doc page with Template:Mono ...) when that documentation is transcluded on the template's sandbox page.
Template:Basepage subpage|Module:Bananas|nocat=true}}
Template:High-risk
This template adds <div style="clear:both;"></div>
, <div style="clear:left;"></div>
, or <div style="clear:right;"></div>
;
for technical XHTML details, see Template talk:Clear.
{{clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
Template:Nosubst
{{clear}} {{clear|left}} {{clear|right}}
Example without Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
New section without template
See how this section starts at the right of the image? Template loop detected: Template:Clear
Example that uses Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
Template:Tnull
Template loop detected: Template:Clear
New section with template
See how this section appears below the image?
See also
- {{Clear left}}
- {{Clear right}}
- {{Float}}
- {{Stack}}
{{Lua|Module:Bananas|Module:BananasArgs}}
{{Lua
- return this, otherwise) return "/sandbox" (
Returns "/sandbox" – or, if supplied, the first unnamed parameter ("return this" above) – if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothingTemplate:Spndashor, if supplied, the second unnamed parameter ("else return this" above). It corresponds to {{When pagename is |/sandbox={{{return this|/sandbox}}} |other={{{else return this|}}}}}
.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing Template:Mono ... on the /doc page with Template:Mono ...) when that documentation is transcluded on the template's sandbox page.
Template:Basepage subpage|Module:Bananas|Module:BananasArgs|nocat=true}}
Template:High-risk
This template adds <div style="clear:both;"></div>
, <div style="clear:left;"></div>
, or <div style="clear:right;"></div>
;
for technical XHTML details, see Template talk:Clear.
{{clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
Template:Nosubst
{{clear}} {{clear|left}} {{clear|right}}
Example without Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
New section without template
See how this section starts at the right of the image? Template loop detected: Template:Clear
Example that uses Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
Template:Tnull
Template loop detected: Template:Clear
New section with template
See how this section appears below the image?
See also
- {{Clear left}}
- {{Clear right}}
- {{Float}}
- {{Stack}}
{{Lua|Module:Bananas|Module:BananasArgs|Module:HelloWorld}}
{{Lua
- return this, otherwise) return "/sandbox" (
Returns "/sandbox" – or, if supplied, the first unnamed parameter ("return this" above) – if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothingTemplate:Spndashor, if supplied, the second unnamed parameter ("else return this" above). It corresponds to {{When pagename is |/sandbox={{{return this|/sandbox}}} |other={{{else return this|}}}}}
.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing Template:Mono ... on the /doc page with Template:Mono ...) when that documentation is transcluded on the template's sandbox page.
Template:Basepage subpage|Module:Bananas|Module:BananasArgs|Module:HelloWorld|nocat=true}}
Template:High-risk
This template adds <div style="clear:both;"></div>
, <div style="clear:left;"></div>
, or <div style="clear:right;"></div>
;
for technical XHTML details, see Template talk:Clear.
{{clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
Template:Nosubst
{{clear}} {{clear|left}} {{clear|right}}
Example without Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
New section without template
See how this section starts at the right of the image? Template loop detected: Template:Clear
Example that uses Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
Template:Tnull
Template loop detected: Template:Clear
New section with template
See how this section appears below the image?
See also
- {{Clear left}}
- {{Clear right}}
- {{Float}}
- {{Stack}}
{{Lua}}
{{Lua
- return this, otherwise) return "/sandbox" (
Returns "/sandbox" – or, if supplied, the first unnamed parameter ("return this" above) – if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothingTemplate:Spndashor, if supplied, the second unnamed parameter ("else return this" above). It corresponds to {{When pagename is |/sandbox={{{return this|/sandbox}}} |other={{{else return this|}}}}}
.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing Template:Mono ... on the /doc page with Template:Mono ...) when that documentation is transcluded on the template's sandbox page.
Template:Basepage subpage|nocat=true}}
Template:High-risk
This template adds <div style="clear:both;"></div>
, <div style="clear:left;"></div>
, or <div style="clear:right;"></div>
;
for technical XHTML details, see Template talk:Clear.
{{clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
Template:Nosubst
{{clear}} {{clear|left}} {{clear|right}}
Example without Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
New section without template
See how this section starts at the right of the image? Template loop detected: Template:Clear
Example that uses Template:Tlf
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
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
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.
Template parameters
Parameter Description Type Status Number of paragraphs 1
Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
- Auto value
1
Number required Paragraph prefix 2
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.
- Auto value
Unbalanced wikitext optional Paragraph suffix 3
Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character.
Unbalanced wikitext optional Link to [[Lorem ipsum]]? 4
link
Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear.
Boolean optional Examples
{{Lorem ipsum|2|* "|"}}
generates: Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as{{Lorem ipsum|1| * " | " }}
results in: Template loop detected: Template:Lorem ipsumAll sections of text can run together by entering a space into the third parameter.
<blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter
link=yes
, oryes
into the fourth parameter.{{Lorem ipsum|2=#|link=yes}}
or{{Lorem ipsum|1|#||yes}}
will generate: Template loop detected: Template:Lorem ipsumIf fewer than 446 characters are desired, then Template:Str left can be used.
{{Str left|{{Lorem ipsum}}|123}}
will result in:Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of paragraphs | 1 | Number of paragraphs to be shown. A number from 1 to 20 is acceptable.
| Number | required |
Paragraph prefix | 2 | 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.
| Unbalanced wikitext | optional |
Paragraph suffix | 3 | Wikicode or text to suffix to each paragraph. For example, specifying » causes each paragraph to end with this character. | Unbalanced wikitext | optional |
Link to [[Lorem ipsum]]? | 4 link | Setting this parameter to "yes" causes a link to the "Lorem ipsum" article to appear. | Boolean | optional |
Examples
{{Lorem ipsum|2|* "|"}}
generates:
Template loop detected: Template:Lorem ipsum
Note that whitespace is important in the second and third parameters, as {{Lorem ipsum|1| * " | " }}
results in:
Template loop detected: Template:Lorem ipsum
All sections of text can run together by entering a space into the third parameter. <blockquote style="background: white">{{Lorem ipsum|2|| }}</blockquote>
will produce:
Template loop detected: Template:Lorem ipsum
To link lorem ipsum, either enter link=yes
, or yes
into the fourth parameter. {{Lorem ipsum|2=#|link=yes}}
or {{Lorem ipsum|1|#||yes}}
will generate:
Template loop detected: Template:Lorem ipsum
If fewer than 446 characters are desired, then Template:Str left can be used. {{Str left|{{Lorem ipsum}}|123}}
will result in:
Template:Str left
Full text
Template:Cot Template loop detected: Template:Lorem ipsum Template:Cob
Template:Cob
Template:Tnull
Template loop detected: Template:Clear
New section with template
See how this section appears below the image?
See also
- {{Clear left}}
- {{Clear right}}
- {{Float}}
- {{Stack}}
Categorisation
Template category
This template adds pages to Category:Lua-based templates if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the |category=
parameter, e.g. |category=Lua String-based templates
.
Some modules have a default category other than Category:Lua-based templates:
- Module:String has the default category Category:Lua String-based templates.
- Module:Math has the default category Category:Templates based on the Math Lua module.
- Module:BaseConvert has the default category Category:Templates based on the BaseConvert Lua module.
- Module:Citation and Module:Citation/CS1 both have the default category Category:Lua-based citation templates.
Error category
If no modules are specified, the transcluded page will be added to Category:Lua templates with errors.
Category suppression
To suppress all categorisation, use |nocat=true
. (As well as "true", the values "yes", "y", and "1" will also work.)
See also
- Wikipedia:Lua
- {{module rating}}