قالب:Param value

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

[edit] Template-info.svg Template documentation

خطأ: لا توجد وحدة بهذا الاسم "Shortcut". Provides a lightly bordered box to highlight param values on Template documentation pages. Especially useful in cases where values may have leading or trailing blanks, or multiple embedded blanks.

Usage

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

Parameters

There is one required positional parameter for the value, and four optional params: three for styling the display, and one replacement parameter for dealing with how to render a blank space:

|1= – the value to be highlighted; required (no default)
|border= – may be used to set border attributes. default: خطأ: لا توجد وحدة بهذا الاسم "String".. Alias: |b=.
|bg-color= – may be used to set background-color. default: خطأ: لا توجد وحدة بهذا الاسم "String".. Alias: |bg=.
|style= – may be used to set any CSS style attributes, with one or more semicolon-separated خطأ: لا توجد وحدة بهذا الاسم "String". pairs. default:none.
|space= – may be used to make spaces visible. Alias: |sp=. See #Making spaces visible below.

Note on special characters: if the value to be highlighted contains an equal sign, it must be escaped: use {{=}} instead of a bare equal sign character.

Examples

  • {{param value|2blanks between}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{param value|2blanks between|space=·}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{param value| * : # }} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{param value| * : # |border=2px dashed khaki}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{param value|white|bg=yellow}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{pvalue|thin solid #caa|bg=#f5fcf9}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".
  • {{pval|* #|border=thin dashed purple|bg=#ffe6e6|style=border-radius:5px|space=␠}} yields: خطأ: لا توجد وحدة بهذا الاسم "String".

Making spaces visible

You may make space characters visible by replacing them with any character you choose using param |space=. Here are some characters that have been historically used for this purpose. In these examples, there are two spaces between one and two:

  • Space symbol – (U+2420 = ␠ ) : {{param value|one two|space=␠}}خطأ: لا توجد وحدة بهذا الاسم "String".
  • Blank symbol – (U+2422 = ␢ ) : {{pvalue|one two|space=␢}}خطأ: لا توجد وحدة بهذا الاسم "String".
    • Blank symbol – (smaller: ) : {{pvalue|one two|space=<small>␢</small>}}خطأ: لا توجد وحدة بهذا الاسم "String".
  • Middot – (U+00B7 = · ) : {{pval|one two|space=·}}خطأ: لا توجد وحدة بهذا الاسم "String".
  • Underbracket – (U+23B5 = ⎵ ) : {{pval|one two|space=⎵}}خطأ: لا توجد وحدة بهذا الاسم "String".
  • White rectangle – (U+25AF = ▯ ) : {{pval|one two|space=▯}}خطأ: لا توجد وحدة بهذا الاسم "String".
  • Undertie – (U+203F = ‿ ) : {{pval|one two|space=‿}}خطأ: لا توجد وحدة بهذا الاسم "String".

See also

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