Template:GreyStrip

From Wikicarpedia
Jump to navigation Jump to search

Description

Displays a grey strip for a title and an element icon
Note: It works on pages with Section Styling

Todo

  • From original concept was kept <br class="wica-banner-spacer-subsection" /> which is not use due to created extra new line. But maybe it need it somewhere.

Params

  • title (mandatory): content for title
  • icon (optional): content for icon box
  • transparent (optional): [true | -empty- ] set transparent color and automaticaly strip will have rounded corners
  • heading (optional): [1 | 2 | 3 | 4 | 5 | 6 | none ] heading type of GreyStrip, when none, heading will not be generated in Table of Contents.
  • id (optional): include HTML id for create anchors to requested id, useful when wanted identical id for all translations

Examples

{{GreyStrip|title=Builder|icon={{Figure|name=Builder|variant=image|size=x50px}} }}

Builder

Figure Builder red.png

{{GreyStrip|title=Builder|heading=3}}

Builder

{{GreyStrip|title=Builder which is not in Table of Content|heading=none}}

Builder which is not in Table of Content

{{GreyStrip|Builder - Backward compatibility test|[[File:Figure_Builder_red.png|x50px|right]]}}

{{{title}}}