Difference between revisions of "Template:Lorem ipsum/doc"

From Freephile Wiki
Jump to navigation Jump to search
m (Admin moved page Template:Lorem Ipsum/doc to Template:Lorem ipsum/doc without leaving a redirect: misspelled)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Lorem Ipsum}}
 
{{Lorem Ipsum}}
  
;Purpose:Provide a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing.
+
==Purpose==
;Usage:This template merely displays the latin paragraph shown above, but does so up to four times defined by <nowiki>{{{1}}}</nowiki> and displays (calls) [[Template:Lorem Ipsum]] N=(1-4) times with appropriate line breaks.
+
Provide a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing.  
;related:
 
*[[Template:Lorem Ipsum]], the source of that Latin paragraph.
 
  
}}
+
==Usage==
 +
This template (with lowercase "i") merely displays the latin paragraph shown above, but does so up to four times defined by the first parameter passed ie.<nowiki>{{{1}}}</nowiki> and displays (calls) [[Template:Lorem Ipsum]] N=(1-4) times with appropriate line breaks.
 +
 
 +
So <code><nowiki>{{Lorem|2}}</nowiki></code> produces
 +
 
 +
{{Lorem|2}}
 +
 
 +
== Alias ==
 +
You can call this template with just <nowiki>{{Template:Lorem}}</nowiki>
 +
 
 +
==Related ==
 +
*[[Template:Lorem Ipsum]] (with uppercase i), the source of that Latin paragraph.
 +
 
 +
 
 +
 
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "How many paragraphs?",
 +
"description": "specify a number 1 through 4 (1 is the default)",
 +
"example": "3",
 +
"type": "number"
 +
}
 +
},
 +
"description": "Add some lettering on the page to see what \"real text\" would look like"
 +
}
 +
</templatedata>

Latest revision as of 13:34, 31 January 2024

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


Purpose[edit source]

Provide a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing.

Usage[edit source]

This template (with lowercase "i") merely displays the latin paragraph shown above, but does so up to four times defined by the first parameter passed ie.{{{1}}} and displays (calls) Template:Lorem Ipsum N=(1-4) times with appropriate line breaks.

So {{Lorem|2}} produces

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

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


Alias[edit source]

You can call this template with just {{Template:Lorem}}

Related[edit source]


Add some lettering on the page to see what "real text" would look like

Template parameters

ParameterDescriptionTypeStatus
How many paragraphs?1

specify a number 1 through 4 (1 is the default)

Example
3
Numberoptional