Template:BoxHeader

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
{{{header}}}
{{{subheader}}}
{{{description}}}
{{{1}}}
Template documentation[view] [edit] [history] [purge]

Usage[edit]

This template adds an easy box with any content.

Parameters[edit]

  • 1: The content of the box.
  • header: Optionally the header of the box.
  • subheader: Optionally the subheader of the box.
  • description: Optionally a description.
  • image: Optionally an image.
  • image-size: Optionally an image-size.

Examples[edit]

{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
width={{{w}}}px height={{{h}}}px bgcolor=Template:Color This is a box.|


{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
width={{{w}}}px height={{{h}}}px bgcolor=Template:Color This is a box with header, subheader and description.|