Jump to content

Template:Show

From Insurer Brain
Revision as of 20:47, 19 December 2025 by Wikilah admin (talk | contribs) (Created page with "<includeonly><{{#ifeq:{{{inline|}}}|yes|span|div}} class="mw-collapsible {{#ifeq:{{lc:{{{state|collapsed}}}}}|expanded||mw-collapsed}}" data-expandtext="{{{expandtext|more ▾}}}" data-collapsetext="{{{collapsetext|less ▴}}}" style="{{#ifeq:{{{inline|}}}|yes|display:inline;}}"> <{{#ifeq:{{{inline|}}}|yes|span|div}} class="mw-collapsible-content" style="{{#ifeq:{{{inline|}}}|yes|display:inline;}}"> {{{text|}}}</{{#ifeq:{{{inline|}}}|yes|span|div}}> </{{#ifeq:{{{inline|}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Standard block usage (useful for bios or financial breakdowns):

{{show
|text=The primary driver for the acquisition was the target's proprietary AI technology.
}}

Custom Labels

To change the "more" and "less" buttons:

{{show
|expandtext=Read Bio
|collapsetext=Close
|text=John Doe has been the CEO since 2010...
}}

Inline Usage

To use within a sentence:

The company reported a record revenue {{show|inline=yes|text=of $1.2B in Q4 2025.|expandtext=(more)}}

Parameters

  • text: The content to be hidden/shown.
  • expandtext: The text for the "show" link (Defaults to "more ▾").
  • collapsetext: The text for the "hide" link (Defaults to "less ▴").
  • inline: Set to "yes" to use span tags (stays on the same line).
  • state: Set to "expanded" to have the text visible on page load.