Template:Val: Difference between revisions
Jump to navigation
Jump to search
Reworked: inline CSS moved to external CSS site+user, usage text much shorter, technical details moved down |
→See also: explanation for common.css link |
||
Line 21: | Line 21: | ||
* [[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 12:17, 31 May 2020
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:Monzo
- Template:Rbrack
- Template:Trim
- MediaWiki:Common.css ... contains style definition(s) for the
val class