Template:Val: Difference between revisions
Jump to navigation
Jump to search
→See also: explanation for common.css link |
m +link to template:multival |
||
Line 18: | Line 18: | ||
== See also == | == See also == | ||
* [[Template:Multival]] | |||
* [[Template:Monzo]] | * [[Template:Monzo]] | ||
* [[Template:Rbrack]] | * [[Template:Rbrack]] | ||
* [[Template:Trim]] | * [[Template:Trim]] | ||
* [[MediaWiki:Common.css]] | * [[MediaWiki:Common.css]] … contains style definition(s) for the <code>val class</code> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:43, 10 March 2021
This template eases using val notation: it puts the right brackets (⟨
and ]
) around its arguments (it also removes surrounding space).
Usage example
- You type
{{val| 31 49 72 87 }}
or the equivalent{{val|text= 31 49 72 87 }}
(the option of adding spaces supports readability of the wiki markup)
- You get (rendered)
- ⟨31 49 72 87]
Technical Note
Code point U+27E8 is used for the left angle bracket ⟨
, the ASCII approximation is less-than symbol (<
or <
).
See also
- Template:Multival
- Template:Monzo
- Template:Rbrack
- Template:Trim
- MediaWiki:Common.css … contains style definition(s) for the
val class