Template:Block Header: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{| class="block-header" width={{{width|100%}}} style="{{#if:{{{margin_bottom|}}}|margin-bottom: {{AddPxUnit|{{{margin_bottom|}}}}};}} {{#if:{{{margin_top|}}}|margin-top: {{AddPxUnit|{{{margin_top|}}}}};}} {{#if:{{{bgColor|}}}|background: {{{bgColor|}}};}}" |- |<center><big>'''{{{1|{{{text}}}}}}'''</big></center> |}</includeonly><noinclude>{{Documentation|type=Design}}</noinclude>" |
(No difference)
|
Latest revision as of 07:10, 12 June 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Syntax
- text: box content
- margin_bottom: Box margin bottom (optional, default: 12px)
- margin_top: Box margin top (optional, default: 0)
- bgColor: Background color (optional)
- width: Width of the block (optional)
Example
{{Block Header|text=Lorem ipsum}}Template Date
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 text | no description | String | required |
| Margin Bottom | margin_bottom | no description
| Number | optional |