provide me a template to follow that uses variables, I'd like to use a key:value pair that I can define and easily tweak the storyline that allows me to create a novel summary like this:
Title: The Shadowed Enigma

I. Introduction
A. Present the setting

1. A small coastal town in the 1940s
2. Introduce the town's close-knit community
   B. Introduce the protagonist
3. A retired detective named John, who moved to the town to escape his past
4. John's curiosity and skills as a detective draw him into the mystery

II. Inciting Incident
A. The discovery of a body

1. A local fisherman finds a woman's body washed ashore
2. The woman is identified as a beloved local artist named Emily
   B. The police investigation begins
3. Initial findings suggest an accident or suicide
4. John is suspicious of the police's conclusion

III. John's Investigation
A. John starts his own investigation

1. Uncovering Emily's background and relationships
2. Discovering Emily was working on a secret project before her death
   B. Introduce key characters
3. Emily's husband, Charles, a wealthy businessman
4. Sarah, Emily's enigmatic twin sister
5. Robert, the local gallery owner who harbored feelings for Emily

IV. Rising Tension
A. Unraveling the secret project

1. Emily's artwork reveals hidden clues about her mysterious project
2. John discovers Emily had uncovered a hidden cave with an ancient artifact
   B. Potential suspects and motives
3. Charles: jealousy and financial gain
4. Sarah: sibling rivalry and a dark family secret
5. Robert: unrequited love and obsession
   C. Introduce a red herring
6. John finds a cryptic letter from Emily to Charles, insinuating an affair
7. The reader is led to believe that Charles is the prime suspect

V. Plot Twist
A. The revelation of Sarah's true identity

1. John discovers that Sarah is actually Emily, and the deceased woman is Sarah
2. Explanation: Emily took on Sarah's identity to protect herself from the real murderer
   B. The truth behind the red herring
3. The cryptic letter was actually a coded message about the artifact, not an affair
4. Charles is innocent and was unaware of Emily's secret project

VI. Climax
A. Confronting the real murderer

1. John deduces that the gallery owner, Robert, is the murderer
2. Robert killed Sarah, mistaking her for Emily, to possess the ancient artifact
   B. A thrilling confrontation
3. John, Emily, and the police face off against Robert in the hidden cave
4. A high-stakes battle ensues, culminating in Robert's arrest

VII. Resolution
A. The aftermath

1. Emily's name is cleared and she can continue her life as an artist
2. The ancient artifact is secured and preserved by the local museum
   B. John's new beginning
3. John decides to stay in the small coastal town and embrace his new community
4. A budding romance between John and Emily hints at a hopeful future

VIII. Components to create the outline
A. A compelling setting that adds to the story's atmosphere
B. A dynamic and relatable protagonist with a personal stake in the mystery
C. A well-constructed plot with multiple suspects, motives, and red herrings
D. A surprising plot twist that redefines the reader's understanding of the story
E. The inclusion of a red herring that misleads the reader, creating suspense and intrigue
F. An exciting climax that brings together all the story elements
G. A satisfying resolution that ties up loose ends and offers emotional closure
