Jump to content

Template:OTW Hero

From OnTrackWorld
Revision as of 18:17, 11 September 2026 by CNeiss (talk | contribs) (Import from live site)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Top hero section of the Welcome to OnTrackWorld: kicker line, heading, lede paragraph, one or two call-to-action buttons, and the "Right now" stat aside.

Parameters:

  • kicker (optional): small text above the heading, e.g. "Canada · United States · Mexico"
  • heading (required): the main heading, rendered as a level-1 heading
  • lede (optional): the paragraph under the heading
  • cta_label (optional, default "Join an open inquiry"): text for the primary button
  • cta_target (optional, default "#open-inquiries"): page or anchor the primary button links to
  • secondary_label (optional, default "See how it works"): text for the plain secondary button
  • secondary_target (optional, default "OTNA Curriculum"): page the secondary button links to. Set it to an empty value (|secondary_target=) to omit the secondary button entirely
  • aside_title (optional, default "Right now"): heading of the stat box
  • stats (optional): one or more OTW Stat calls, one per line — see that template for how to add or remove a stat line
  • aside_foot (optional): small text/links under the stat box

The spec this template was built from only listed a single CTA; the source page actually has two buttons (a primary "Join" button and a plain "See how it works" link), so secondary_label/secondary_target were added to keep the visual output identical.

Example:

{{OTW Hero
|kicker=Canada · United States · Mexico
|heading=Where stakeholders think, plan, and act together on the industrial systems that shape a continent.
|lede=Our industrial systems are not optimized for sustainability or profitability.
|stats={{OTW Stat|num=4|text=open inquiries taking responses}}
{{OTW Stat|num=TBD|text=participating stakeholders this round}}
{{OTW Stat|text=Next live session: '''TBA'''}}
|aside_foot=[[#recent-activity|Recent activity]] · [[Participation Options|Ways to take part]]
}}