The Intercalate Process
The initial template is an example of the desired output
Move values from template to dictionary, leaving keys behind as place holders
Add control keywords to iterate over lists and generate text conditionally
Add directives to redirect output and input.
Notes:
In summary, the Intercalate process for developing a dictionary and template starts with a prototype of the desired output. We identify pieces that are properly part of the model rather than the view and move those to the dictionary, leaving behind keys as placeholders in the template. We add control keywords to repeat portions of the text, and to produce output only if a condition is true. Finally we provide directives to control the input and output of the generated text.