$def with (name, title, code, example) $name - $title - Code

Code for $title

These are ordered fragments for the $title example code. I trimmed parts that seemed uninteresting and that are not related to the library code. You can still see the full code here. Or go back to the example.
$for elem in code:

$elem['name']

$if elem['name'] == 'data':
$else:
    $elem['code']