Hello C., and all,
Here is a workaround, using function, as:
@startuml
!$background_color = "#808080"
!function $call_proc($a, $b)
!return %string($a + "<<" + $b +">>")
!endfunction
rectangle name0 $background_color [
Thisisfine
]
rectangle name <<stereotypename>> #808080 [
Thisisfine
]
rectangle $call_proc("asddd", "ewrwerwer") #808080 [
AlsoFine
]
rectangle $call_proc("asddd", "ewrwerwer") $background_color [
NotFine
]
@enduml
If that can help,
Regards,
Th.