Template:CTA
Base call-to-action strip template — renders 1 to 3 buttons using the .vault-cta-strip / .vault-btn CSS classes. {{CaseCTA}} and {{CTAStrip}} are both thin wrappers around this template with their own preset defaults; edit this template if the underlying box style or button logic ever needs to change, or one of those two if only a default link/label needs updating.
Note: requires the ParserFunctions extension for the checks — button 1 always shows, buttons 2 and 3 only show if given a label.
Parameters (all optional):
- text — intro line above the buttons; omitted entirely (no blank line) if not given
- button1_label / button1_url / button1_style — always renders; defaults to a generic "Submit a Story" link
- button2_label / button2_url / button2_style — only renders if button2_label is given
- button3_label / button3_url / button3_style — only renders if button3_label is given
- Available styles: primary, outline, vault
Usage:
{{CTA
|text=Optional intro line
|button1_label=First Button
|button1_url=/somewhere
|button1_style=primary
|button2_label=Second Button
|button2_url=/elsewhere
|button2_style=outline
}}