Template:StartBlock
Jump to navigation
Jump to search
BeginBlockList | StartBlock | EndBlock | Block | EndBlockList
Description
Open/Close block.
To close the block, use: {{EndBlock}}
.
To place multiple blocks side by side, place them in {{BeginBlockList}}
(before StartBlock) and {{EndBlockList}}
(behind EndBlock).
As an alternative, you can also use a regular block: Template:Block.
Params
Parameter | Type | Default | Value | Description |
---|---|---|---|---|
align |
Optional | left |
left right center justify |
Align of text in multiple line text |
width |
Optional | 250px |
CSS | Set width of block |
padding-right |
Optional | 15px |
CSS | Set right padding of block |
padding-bottom |
Optional | 15px |
CSS | Set bottom padding of block |
Examples
Wiki | Description |
---|---|
{{StartBlock|width=250px|padding-right=15px|padding-bottom=15px}} |
Set block with default parameters |
Text written in | |
{{StartBlock|width=100%|align=center}} |
Set block with content align to the center |
Text written in | |
Text written in a first block
Text written in a second block
|
Complete assembly with multiple blocks |
Text written in Text written in |