ထႅမ်းပလဵတ်ႉ:Param value
value
Error: no shortcuts were specified and the |msg= parameter was not set. 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.
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]{{param value|value}}
ပႃႇရႃႇမီႇတႃႇ
[မႄးထတ်းငဝ်ႈငႃႇ]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:thin solid #caa
. Alias:|b=
.|bg-color=
– may be used to set background-color. default:white
. Alias:|bg=
.|style=
– may be used to set any CSS style attributes, with one or more semicolon-separatedattribute:value
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:2blanks between
{{param value|2blanks between|space=·}}
yields:2blanks··between
{{param value| * : # }}
yields:* : #
{{param value| * : # |border=2px dashed khaki}}
yields:* : #
{{param value|white|bg=yellow}}
yields:white
{{pvalue|thin solid #caa|bg=#f5fcf9}}
yields:thin solid #caa
{{pval|* #|border=thin dashed purple|bg=#ffe6e6|style=border-radius:5px|space=␠}}
yields:*␠␠#
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=␠}}
⟶one␠␠two
- Blank symbol – (U+2422 = ␢ ) :
{{pvalue|one two|space=␢}}
⟶one␢␢two
- Blank symbol – (smaller: ␢) :
{{pvalue|one two|space=<small>␢</small>}}
⟶one␢␢two
- Blank symbol – (smaller: ␢) :
- Middot – (U+00B7 = · ) :
{{pval|one two|space=·}}
⟶one··two
- Underbracket – (U+23B5 = ⎵ ) :
{{pval|one two|space=⎵}}
⟶one⎵⎵two
- White rectangle – (U+25AF = ▯ ) :
{{pval|one two|space=▯}}
⟶one▯▯two
- Undertie – (U+203F = ‿ ) :
{{pval|one two|space=‿}}
⟶one‿‿two
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]ထႅမ်းပလဵတ်ႉ:Semantic markup templates
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Param value/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |