Template:Lorem ipsum span
Lorem ipsum dolor sit amet, consectetur adipiscing 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.
This template emits one string with no line breaks, corresponding to one of the Lorem ipsum paragraphs. It is intended for use in inline contexts, where it may be enclosed in inline tags such as <span> as it generates no line breaks.
Usage
{{lorem ipsum span}}
Template:Sndgenerates a string containing the first paragraph of lorem ipsum{{lorem ipsum span|1}}
Template:Sndsame as above{{lorem ipsum span|2}}
Template:Sndgenerates a string containing paragraph two of lorem
Parameters
There is one optional positional parameter, which is the number of the lorem paragraph to emit. Current legal values are 1 and 2.
- first param: which string to emit. A value of
2
means, emit paragraph 2 of lorem as a single string.
Examples
Unlike with the main template {{lorem ipsum}}, Wiki markup is allowed here:
''{{lorem ipsum span|1}}''
Template:Sndgenerate paragraph 1 in italics'''<small>{{lorem ipsum span|2}}</small>'''
Template:Sndgenerate paragraph 2 in small, bolded font
{{lorem ipsum span|2}}
generates the following:
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
See also
- {{lorem ipsum}}