Templates
    4 min read

    WhatsApp Template Formatting: Bold, Variables, and Media Headers

    Master WhatsApp template formatting — use bold text, italic, strikethrough, variables, media headers, and interactive buttons effectively.

    Evident IT Services

    Tech Provider Team

    |March 28, 2025

    Text formatting in templates

    WhatsApp supports basic text formatting in template message bodies:

    • Bold: Wrap text with asterisks: *bold text*
    • Italic: Wrap text with underscores: _italic text_
    • Strikethrough: Wrap text with tildes: ~strikethrough~
    • Monospace: Wrap text with three backticks

    Using variables

    Variables are placeholders for dynamic content. They use numbered format: {{1}}, {{2}}, etc.

    Variable rules

    • Variables must be numbered sequentially starting from 1
    • Each variable needs a sample value during template submission
    • Variables cannot be the only content in a template
    • At least one word of static text is required around each variable

    Examples

    ✅ Good: "Hi {{1}}, your order #{{2}} is confirmed"
    ❌ Bad: "{{1}} {{2}} {{3}}" (no static context)

    Media headers

    Templates can include media headers:

    • Image: JPEG or PNG, max 5MB
    • Video: MP4, max 16MB
    • Document: PDF, max 100MB

    Media headers are defined at the template level but populated dynamically when sending.

    Interactive buttons

    Quick reply buttons

    Up to 3 buttons with short text labels. The customer taps a button to respond.

    Call-to-action buttons

    • Visit website: Opens a URL (can include one dynamic variable)
    • Call phone number: Initiates a phone call

    Button best practices

    • Use clear, action-oriented labels
    • Keep button text under 25 characters
    • Place the primary action as the first button
    • Test button behavior on multiple devices
    #formatting#templates#variables#media

    Evident IT Services

    Tech Provider Team

    Helping businesses scale customer engagement on WhatsApp with compliance-first messaging and dedicated support.