Oh, sorry for that.
I will try it again.
I´ve done some more tests in the meantime.
This is my template code:
[[$includeSomething? &myPlaceholder=`hello world`]]
Here is my chunk code for the chunk includeSomething:
The output of the placeholder inside the chunk code: [[+myPlaceholder]]
[[!includeSomething]]
And this is my snippet code for the snippet includeSomething:
return 'The output of the placeholder inside the snippet code: [[+myPlaceholder]]';
The problem is, that the placeholder in the first line of the chunk code are interpreted, not so the placeholder included from a snippet.