You are viewing an old version of this page. Return to the latest version.
Version of 08:47, 7 October 2019 by MLR
Difference between revisions of "Template:Banner"
(Created page with "<!-- <div class="banner-image nomobile"> <div class="banner-box banner-box-{{{direction}}}"> <div class="name">{{{title}}}</div> <div class="type">{{{section}}}</div> </d...") (Tag: 2017 source edit) |
(Changed categories.) |
[[File:{{{image}}}|frameless|950px|link=]]
Template for MediaWiki/Homepage redesign. The CSS is in MediaWiki:Gadget-site.css. See also Template:Full-width image.
Template for full-width images with inset text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image |
Image name, without the File: prefix
|
File | required |
Title | title |
no description
|
String | required |
Section | section |
no description
|
Unknown | optional |
Direction | direction |
no description
|
Unknown | optional |
Section-id | section-id |
no description
|
Unknown | optional |
<!-- <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|950px|link=]] <!--</div>--> <div id="mf-section-{{{section-id}}}" class="mf-mobile-only"> {{#if:{{{title|}}}|=={{{title|}}}==|}} {{#if:{{{section|}}}|'''{{{section|}}}'''|}} </div><noinclude> Template for [[MediaWiki/Homepage redesign]]. The CSS is in [[MediaWiki:Gadget-site.css]]. See also [[Template:Full-width image]]. <templatedata> { "params": { "direction": {}, "title": { "type": "string", "required": true }, "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> [[Category:Portal]]
Line 43: | Line 43: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
+ | [[Category:Portal]] |