Template:Banner2: Difference between revisions

Template page
(Created page with " <slideshow sequence="forward" center="true" transitiontime="1000" transition="fade" refresh="5000"> <div>link=|1920x1080px</div> <div>A cat.|link=|1920x1080px</div> <div>This slide has no image. It can have multiple paragraphs. </div> <div>Another cat.|link=|1920x1080px</div> </slideshow>")
 
No edit summary
 
(8 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]].


<slideshow sequence="forward" center="true" transitiontime="1000" transition="fade" refresh="5000">
<templatedata>
<div>[[File:Icon collage by krinkels r909 deq4eu1-pre.jpg|link=|1920x1080px]]</div>
{
<div>[[File:Cat cute persian cat.jpg|A cat.|link=|1920x1080px]]</div>
"params": {
<div>This slide has no image.
"direction": {},
 
"title": {
It can have multiple paragraphs.
"type": "string",
</div>
"required": true
<div>[[File:Cute cat (1698598876).jpg|Another cat.|link=|1920x1080px]]</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