Template:Banner2: Difference between revisions

Template page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Banner/styles.css"/><div class="banner-image nomobile">
<div class="banner-box banner-box-{{{direction}}}">
<div class="name">{{{title}}}</div>
<div class="type">{{{section}}}</div>
</div>[[File:{{{image}}}|frameless|1700px|link=]]</div><noinclude>
{{Uses TemplateStyles|Template:Banner/styles.css}}
Template for [[MediaWiki/Homepage redesign]].
See also [[Template:Full-width image]].


<templatestyles src="Template:Banner2/styles.css" />
<templatedata>
<slideshow sequence="forward" center="true" transitiontime="5000" transition="fade" refresh="5000">
{
<div>[[File:Icon collage by krinkels r909 deq4eu1-pre.jpg|link=|1080x491px]]</div>
"params": {
<div>[[File:Icon collage by krinkels r909 deq4eu1-pre.jpg|link=|A cat.|link=|1080x491px]]</div>
"direction": {},
<div>This slide has no image.
"title": {
 
"type": "string",
It can have multiple paragraphs.
"required": true
</div>
},
</slideshow>
"section": {},
"image": {
"description": "Image name, without the File: prefix",
"example": "Example.png",
"required": true,
"type": "wiki-file-name"
},
"section-id": {}
},
"description": "Template for full-width images with inset text.",
"paramOrder": [
"image",
"title",
"section",
"direction",
"section-id"
]
}
</templatedata>
</noinclude>

Latest revision as of 21:09, 10 February 2025

Template:Uses TemplateStyles Template for MediaWiki/Homepage redesign. See also Template:Full-width image.

Template for full-width images with inset text.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

Image name, without the File: prefix

Example
Example.png
Filerequired
titletitle

no description

Stringrequired
sectionsection

no description

Unknownoptional
directiondirection

no description

Unknownoptional
section-idsection-id

no description

Unknownoptional