Template:OOO-Intro: Difference between revisions
Appearance
intro template that can be used on top of pages, pre styles, just fill in |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="ooo-intro"> | ||
<div class="ooo-intro"> | <div class="ooo-intro__title">{{{title|}}}</div> | ||
<div class="ooo-intro__text">{{{text|}}}</div> | |||
</div></includeonly><noinclude> | |||
</ | |||
< | |||
= OOO Intro Template = | |||
Creates a styled introduction section for the top of a page. | |||
== Usage == | |||
<pre> | |||
< | |||
{{OOO-Intro | {{OOO-Intro | ||
| title = | | title = Power Systems | ||
| text = | | text = Power generation is required to operate machines and production chains. | ||
}} | }} | ||
</ | </pre> | ||
== | == Notes == | ||
* Place at the top of a page. | |||
* Text supports full wiki formatting (links, lists, bold, etc.). | |||
* Styling handled globally in Common.css. | |||
{{ | <templatedata> | ||
{ | |||
"description": "Creates a styled introduction section for the top of a page.", | |||
}} | "params": { | ||
"title": { | |||
"label": "Intro Title", | |||
"description": "Main heading displayed in brand style.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"text": { | |||
"label": "Intro Text", | |||
"description": "Introductory paragraph(s). Supports wiki formatting.", | |||
"type": "content", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"text" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 22:01, 3 March 2026
OOO Intro Template
Creates a styled introduction section for the top of a page.
Usage
{{OOO-Intro
| title = Power Systems
| text = Power generation is required to operate machines and production chains.
}}
Notes
- Place at the top of a page.
- Text supports full wiki formatting (links, lists, bold, etc.).
- Styling handled globally in Common.css.
Creates a styled introduction section for the top of a page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Intro Title | title | Main heading displayed in brand style. | String | required |
| Intro Text | text | Introductory paragraph(s). Supports wiki formatting. | Content | required |