Template:StartBlock

From Wikicarpedia
Revision as of 05:50, 18 October 2024 by Petul (talk | contribs)
Jump to navigation Jump to search

Description

A Open/Close block included in the list of blocks in {{BeginBlockList}}.
To end the block, use {{EndBlock}}.
As an alternative, you can also use a regular block: Template:Block.

Params

  • width (Optional) - max width of block with text - default is 250px
  • padding-right (Optional) - right padding of block - default is 15px
  • padding-bottom (Optional) - bottom padding of block - default is 15px
  • align (Optional) - alignment of text in the block

Examples

Wiki Description
{{StartBlock|width=250px|padding-right=15px|padding-bottom=15px}} Example of a block with default parameters

Text written in
a block

{{StartBlock|width=100%|align=center}} Example of a block with content align to the center

Text written in
a block