Template:Support Box

From AYSO Wiki

Template documentation

Description

A modern, responsive trailing support panel component. Displays a blue-to-navy gradient card with an optional gold corner glow, uppercase eyebrow badge, customizable heading, friendly body text, dynamic email, phone, and action buttons, customizable follow-on note, and a subtle Material Symbols watermark icon.

Transcluding this template automatically adds the host page to Category:HasFooter so that pages missing a footer can easily be identified and tracked across the wiki.

Usage

Both Email and Phone (e.g. Stack Sports Support)

{{Support Box
|text = Stack Association Support is here to help. Whether you're having technical issues or just have a quick question, our team is ready.
|email = aysosupport@stacksports.com
|phone = 800-808-7195
|note = Can't find a topic? Send suggestions to [mailto:support@ayso.org support@ayso.org], or see the [[Support]] page for other ways of getting help.
}}

Email Only (e.g. CVPA or Departmental Support)

{{Support Box
|text = AYSO's Child and Volunteer Protection Advocates are always here to help.
|email = cvpa@ayso.org
|note = Can't find a topic? Send suggestions to [mailto:support@ayso.org support@ayso.org], or see the [[Support]] page for other ways of getting help.
}}

Generic AYSO Support (No Redundant Note or Phone)

{{Support Box
|text = The AYSO Support team is always here to help. Have any questions, or is something on this page inaccurate?
|email = support@ayso.org
|note = Can't find a topic? See the [[Support]] page for additional help.
}}

Email with Action Link (e.g. Finance Calendly)

{{Support Box
|text = AYSO is always here to help with your region's finances. Reach out via email or schedule a one-on-one meeting with our team.
|email = finance@ayso.org
|url = https://calendly.com/ayso-finance
|url_label = Schedule a Meeting
|url_icon = calendar_month
|note = Can't find a topic? Send suggestions to [mailto:support@ayso.org support@ayso.org], or see the [[Support]] page for other ways of getting help.
}}

Parameters

  • text (or 1): Friendly body text describing the available support.
  • email: (Optional) Contact email address. Renders a primary white pill button with a mail icon.
  • phone: (Optional) Contact phone number. When paired with an email, renders as an outline pill button with a phone icon; if used alone, renders as the primary white button.
  • url: (Optional) External link URL (e.g. Calendly schedule). Renders as an action button.
  • url_label: (Optional) Button label text for url (defaults to Visit Link).
  • url_icon: (Optional) Material Symbols icon name for url (e.g. calendar_month).
  • title: (Optional) Panel heading. Defaults to Need Help?.
  • eyebrow: (Optional) Badge label above the title. Defaults to Support.
  • note: (Optional) Follow-on note text below the action buttons. Set to none or no to hide completely. When omitted:
    • If email is support@ayso.org, defaults to pointing to the Support page without redundant email suggestions or call mentions.
    • If email is any other address, defaults to Can't find a topic? Send suggestions to support@ayso.org, or see the Support page for other ways of getting help.
  • icon: (Optional) Material Symbols glyph name for the decorative background watermark. Defaults to contact_support.
  • category: (Optional) Defaults to yes to add Category:HasFooter. Pass no to suppress category tagging during testing.

Example

TemplateData

Trailing support panel featuring responsive action buttons (email, phone, schedule link), custom eyebrow, heading, body copy, and watermark icon. Automatically tags transcluded pages with Category:HasFooter.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Friendly Texttext 1 description

Friendly description copy explaining how the support team can help.

Contentrequired
Email Addressemail

Contact email address (e.g. support@ayso.org or aysosupport@stacksports.com). Renders as a white primary pill button.

Stringsuggested
Phone Numberphone

Contact telephone number (e.g. 800-808-7195). Renders as an outline pill button.

Stringsuggested
Action Link URLurl

External action or scheduling link URL (e.g. https://calendly.com/ayso-finance).

Stringoptional
Action Link Labelurl_label

Text label displayed on the action link button.

Default
Visit Link
Stringoptional
Action Link Iconurl_icon

Material Symbols icon name for the action link button (e.g. calendar_month).

Stringoptional
Titletitle

Main heading for the support panel.

Default
Need Help?
Stringoptional
Eyebrow Badgeeyebrow

Small uppercase badge text displayed above the heading.

Default
Support
Stringoptional
Follow-on Notenote

Optional follow-on note displayed beneath the action buttons. Set to 'none' to hide completely.

Contentoptional
Watermark Iconicon

Material Symbols icon name rendered as a decorative background watermark.

Default
contact_support
Stringoptional
Category Trackingcategory

Whether to tag the transcluded page with Category:HasFooter (set to 'no' to suppress).

Default
yes
Stringoptional