Template:Val: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
mNo edit summary
m Recategorize
Line 22: Line 22:
* [[Template: Bra]]
* [[Template: Bra]]


[[Category:Templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 09:14, 14 November 2023

This template eases typing vals: it puts bra notation ( and ]) around its arguments (it also removes surrounding spaces), and you may optionally include a legend.

Usage

You type
{{val| 31 49 72 87 }}
{{val|legend=1| 31 49 72 87 }}
Tip: adding spaces improves readability of the wiki markup.
You get (rendered)
31 49 72 87]
val31 49 72 87]

Technical note

This template calls Template: Bra to render the brackets.

See also