قالب:Lorem ipsum span

من أخبار المعرفة

خطأ: لا توجد وحدة بهذا الاسم "string".

[edit] Template-info.svg Template documentation

خطأ: لا توجد وحدة بهذا الاسم "Shortcut". This template emits one string with no line breaks, corresponding to one of the Lorem ipsum paragraphs. It is intended for use in inline element contexts, where it may be used with standard wiki markup such as italic, bold, <small> or other inline markup.

Usage

  • خطأ: لا توجد وحدة بهذا الاسم "Template link general". – generates a string containing the first paragraph of lorem ipsum
  • خطأ: لا توجد وحدة بهذا الاسم "Template link general". – same as above
  • خطأ: لا توجد وحدة بهذا الاسم "Template link general". – generates one string containing paragraph five of lorem

Parameters

There is one optional positional parameter, which is the number of the lorem paragraph to emit. Legal values are 1..10.

  • first param: which string to emit. A value of 3 means, emit paragraph 3 of lorem as a single string.

Examples

Unlike with the main template {{lorem ipsum}}, this template generates an Html inline-level element, so surrounding Wiki markup is allowed here:

  • ''{{lorem ipsum span|4}}'' – generate paragraph 4 in italics
  • '''<small>{{lorem ipsum span|2}}</small>''' – generate paragraph 2 in small, bolded font


For example, ''<small>{{lorem ipsum span|1}}</small>'' generates the following:

خطأ: لا توجد وحدة بهذا الاسم "string".

Limiting character count to less than one paragraph

If fewer than 446 characters are desired, truncate to the desired size with |max len=. For example,

Markup Renders asخطأ: لا توجد وحدة بهذا الاسم "For loop".

See also

  • {{lorem span}} – redirects to this template
  • {{lipspan}} – redirects to this template
  • {{lorem ipsum}} – full-featured template for multiple paragraph output and additional options