Template:Lorem ipsum/doc: Difference between revisions

m
Template shortcuts are usually all lowercase
m (1 revision imported)
imported>ClydeFranklin
m (Template shortcuts are usually all lowercase)
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{template shortcut|Ipsum|Lipsum|Lorem|Loremipsum}}
{{template shortcut|ipsum|lipsum|lorem|loremipsum}}
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.
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 in one use.


==Usage==
==Usage==
Line 56: Line 56:
:{{Lorem ipsum|2|link=yes|join=yes}}
:{{Lorem ipsum|2|link=yes|join=yes}}


Since joined text produces a single string without line breaks and without block-level tags such as &lt;p>, if no prefix metacharacters are in use, the result of transcluding the template with {{para|join|yes}} is an [[HTML element#Inline elements|inline-level Html element]], meaning that standard [[Help:Wikitext#Format|wiki markup]] for font styling (like bold, italic, or font-size such as '&lt;small>') may be used in this case. See [[#Notes about font styling]] for details.
Since joined text produces a single string without line breaks and without block-level tags such as &lt;p>, if no prefix metacharacters are in use, the result of transcluding the template with {{para|join|yes}} is an [[HTML element#Inline elements|inline-level HTML element]], meaning that standard [[Help:Wikitext#Format|wiki markup]] for font styling (like bold, italic, or font-size such as '&lt;small>') may be used in this case. See [[#Notes about font styling]] for details.


===Limiting character count to less than one paragraph===
===Limiting character count to less than one paragraph===