Jump to content

Template:OOO-Hero: Difference between revisions

From Out of Ore Wiki
Created page with "<includeonly> <div class="ooo-v2-hero" style="background-image:linear-gradient(90deg,rgba(12,16,20,.94),rgba(12,16,20,.48) 60%,rgba(12,16,20,.12)),url('{{filepath:{{{image|Main_Banner_1.png}}}}}');"> <div class="ooo-v2-eyebrow">{{{eyebrow|THE OFFICIAL GAME WIKI}}}</div> <div class="ooo-v2-hero-title">{{{title|Out of Ore Wiki}}}</div> <div class="ooo-v2-hero-copy">{{{description|}}}</div> <div class="ooo-v2-hero-actions">{{{link|Special:Search}}}|{{{button|Search the wi..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div class="ooo-v2-hero">
<div class="ooo-v2-hero" style="background-image:linear-gradient(90deg,rgba(12,16,20,.94),rgba(12,16,20,.48) 60%,rgba(12,16,20,.12)),url('{{filepath:{{{image|Main_Banner_1.png}}}}}');">
<div class="ooo-v2-hero-image">[[File:{{{image|DEFAULT_CARD_IMAGE.png}}}|1920x|link=]]</div>
<div class="ooo-v2-eyebrow">{{{eyebrow|THE OFFICIAL GAME WIKI}}}</div>
<div class="ooo-v2-eyebrow">{{{eyebrow|THE OFFICIAL GAME WIKI}}}</div>
<div class="ooo-v2-hero-title">{{{title|Out of Ore Wiki}}}</div>
<div class="ooo-v2-hero-title">{{{title|Out of Ore Wiki}}}</div>
<div class="ooo-v2-hero-copy">{{{description|}}}</div>
<div class="ooo-v2-hero-copy">{{{description|}}}</div>
<div class="ooo-v2-hero-actions">[[{{{link|Special:Search}}}|{{{button|Search the wiki}}}]]</div>
<div class="ooo-v2-hero-actions">[[{{{link|Special:Search}}}|{{{button|Search the wiki}}}]]</div>
</div>
</div></includeonly><noinclude>
</includeonly><noinclude>
Reusable hero with editable image and text.
Reusable image banner for Out of Ore Wiki.
 
<templatedata>
<templatedata>
{
{"params":{"image":{"label":"Image filename","type":"wiki-file-name","default":"DEFAULT_CARD_IMAGE.png"},"eyebrow":{"label":"Eyebrow","type":"string"},"title":{"label":"Title","type":"string","required":true},"description":{"label":"Description","type":"string"},"link":{"label":"Button destination","type":"wiki-page-name"},"button":{"label":"Button text","type":"string"}}}
  "params": {
    "image": {"label": "Image filename", "type": "wiki-file-name", "default": "Main_Banner_1.png"},
    "eyebrow": {"label": "Small heading", "type": "string"},
    "title": {"label": "Banner title", "type": "string", "required": true},
    "description": {"label": "Description", "type": "string"},
    "link": {"label": "Button destination", "type": "wiki-page-name"},
    "button": {"label": "Button text", "type": "string"}
  }
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:04, 16 October 2026

Reusable hero with editable image and text.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image filenameimage

no description

Default
DEFAULT_CARD_IMAGE.png
Fileoptional
Eyebroweyebrow

no description

Stringoptional
Titletitle

no description

Stringrequired
Descriptiondescription

no description

Stringoptional
Button destinationlink

no description

Page nameoptional
Button textbutton

no description

Stringoptional