Jump to content

Template:OOO-Intro: Difference between revisions

From Out of Ore Wiki
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__title">{{{title|}}}</div>
<div class="ooo-intro__text">{{{text|}}}</div>
  <div class="ooo-intro__text">{{{text|}}}</div>
</div></includeonly><noinclude>
  <div class="ooo-intro__divider"></div>
</div>
</includeonly>


<noinclude>
= OOO Intro Template =


== OOO Intro Template ==
Creates a styled introduction section for the top of a page.


Can be used at the top of pages as a branded introduction section.
== Usage ==


 
<pre>
----
 
=== Usage ===
 
<syntaxhighlight lang="wiki">
{{OOO-Intro
{{OOO-Intro
| title = Your Title Goes Here
| title = Power Systems
| text = Sample text used in introduction, short explenation or information. Just insert title and add text you want.  
| text = Power generation is required to operate machines and production chains.
}}
}}
</syntaxhighlight>
</pre>
 
----


=== Example Preview ===
== Notes ==
* Place at the top of a page.
* Text supports full wiki formatting (links, lists, bold, etc.).
* Styling handled globally in Common.css.


{{OOO-Intro
<templatedata>
| title = ''Conveyor Systems''
{
| text = This page explains how conveyor systems transport materials between machines in Out of Ore.
  "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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Intro Titletitle

Main heading displayed in brand style.

Stringrequired
Intro Texttext

Introductory paragraph(s). Supports wiki formatting.

Contentrequired