7.8 #block

The template:

#block content
This page is under construction.
#end block

The output:

This page is under construction.

This construct generates a method .content in the same structure as .printArg above, containing the write code:

write('This page is under construction.\n')

In the main method, the write code is:

self.content(trans=trans) # generated from ('content', '#block content')
    # at line 1, col 1.

So a block placeholder implicitly passes the current transaction to the method.