The size of val ({val|js|s}) is {@size key=val /}{~n}
The size of "{~lb}val{~rb}" is {@size key="{val}" /}{~n}
{#val foo="{val}"}
    The size of foo ({foo|js|s}) is {@size key=foo /}{~n}
    The size of "{~lb}foo{~rb}" is {@size key="{foo}" /}{~n}
{:else}
    The size of foo ({foo|js|s}) is {@size key=foo /}{~n}
    The size of "{~lb}foo{~rb}" is {@size key="{foo}" /}{~n}
{/val}
The size with no key is {@size /}{~n}