Include macro section error

Hello everyone.

I dont understand how the macro include or display work with the section paramater.

Without section, everything is displayed. But when i define a section, its KO.

image

On my original page, I have define the id like its describ for the syntax 2.1

{{toc/}}

(% id="myId" %) 
= titre =

If wages à consultants.payment_type_id = 2  #Virement 

I have set the section :

DISPLAY :

{{display reference="Include.WebHome" section="myId"/}}



INCLUDE :


{{include reference="Include.WebHome" section="myId"/}}

But nothing… Do you know what is the problem ? We use XWiki 16.2.0 Free version.

Thank you very much !

Hi, the doc at https://extensions.xwiki.org/xwiki/bin/view/Extension/Include%20Macro#HParametersdefinition says:

So you’ve simply not been using a proper section id (since you’re missing a leading H for sure).

See also Loading... as mentioned in the doc above.

Thank you ! I had not understood the part H+title… è_é