# Thursday Template — Word Parts & Meaning Phase

**Theme:** Write It
**Pages:** ~5 (continuous flow with 3 forced breaks)
**Generator:** `thursday_wp.py` → `generate_thursday()`

---

## Page Layout

### PAGE 1 — Story Reading
| Section | Data Key | Description |
|---|---|---|
| Header | auto | "Week N, Thursday -- Write It" |
| **Here's What We're Learning** | `learning_text` | HTML explanation of concept |
| **Remember This!** | `remember_text` | Green box with prefix rules (multi-line text) |
| **Spelling Story** | `story_text` | Story with bolded spelling words in purple story-box |
| **Comprehension Questions** | `comp_questions` | 4 questions, each with write line |

→ **[PAGE BREAK]** ←

### PAGE 2 — Sentence & Spelling Practice
| Section | Data Key | Description |
|---|---|---|
| **Sentence Sort** | `sentence_sort_data` | 3 scrambled sentences with word tags to unscramble |
| **Spelling Detective** | `detective_words` | Inline boxes: misspelled word (crossed out) → write correct spelling |

→ **[PAGE BREAK]** ←

### PAGE 2 continued — Build + Swap
| Section | Data Key | Description |
|---|---|---|
| **Build the Word** | `build_words` | 5 items: prefix + base_word = ___ (means: hint) + write line |
| **Word Swap** | `swap_data` | Original sentence → rewrite with new words |

→ End of page 2

### PAGE 3 — Word Parts Map
| Section | Data Key | Description |
|---|---|---|
| **Word Parts Map** | `map_word` | Green box: word at top, 4 labeled fields (Meaning, Prefix, Base word, Sentence) with write lines |

→ **[PAGE BREAK]** ←

### PAGE 4 — Writing
| Section | Data Key | Description |
|---|---|---|
| **Paragraph Builder** | `para_prompts` | 2 prompts. Each: prompt in orange box + 3 write lines |
| **Write Your Own Story** | `story_prompt` | Story prompt + 8 blank write lines |

→ End of document

---

## Required Data (for `generate_thursday()`)

```python
words = [                          # 12 items
    ("unhappy", "un + happy", "not happy, sad"),
    ...
]
learning_text = "...HTML..."       # Concept explanation
remember_text = """Prefix un- = NOT (unhappy = not happy)
Prefix re- = AGAIN (return = come back)
Prefix dis- = NOT or OPPOSITE (disagree = not agree)
Always look at the BEGINNING of the word for the prefix!"""
story_text = "...HTML..."          # Story with <strong>bolded words</strong>
comp_questions = [                 # 4 items
    "What did Detective Sam have to discover?",
    ...
]
sentence_sort_data = [             # 3 items
    "The boy disagreed with his sister",
    "They discovered a hidden treasure",
    "The bridge is unsafe to cross",
]
detective_words = [                # 5 items (misspelled versions)
    "unhppy", "unpak", "unkown", "retun", "disgree"
]
build_words = [                    # 5 items
    ("pack", "un-", "take out"),
    ("turn", "re-", "come back"),
    ("agree", "dis-", "not agree"),
    ("safe", "un-", "dangerous"),
    ("honest", "dis-", "not honest"),
]
swap_data = [                      # 1+ items
    ("The door was closed forever.", ("closed", "unknown"), ("unknown", "unopened")),
]
map_word = "discover"              # Featured word for Word Parts Map
para_prompts = [                   # 2 items
    "Write about a time you discovered something new. Use 2 spelling words.",
    "Write about something you disagree with a friend about. Use 2 spelling words.",
]
story_prompt = "Write a story about a mystery. Use at least 5 spelling words with prefixes."
```

---

## Design Notes
- Header subtitle is **always** "Write It" (not topic label)
- Remember This box uses multi-line `remember_text` with `\n` separators
- Spelling Detective: misspelled words shown in red crossed-out, inline boxes
- Build the Word: prefix in teal, base word in orange, meaning hint in gray italic
- Word Parts Map: green background box with labeled fields (Meaning/Prefix/Base/Sentence)
- Paragraph Builder: 3 write lines per prompt for paragraph-length answers
- Write Your Own Story: 8 blank write lines at bottom of page
- Page breaks: after comprehension questions (page 1), after Spelling Detective (page 2), after Word Parts Map (page 3)