Difference between revisions of "Template:Banner"
(Tag: 2017 source edit) |
(Tag: 2017 source edit) |
Banner template for portal pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image |
Image name, without the File: prefix
|
File | required |
Title | title |
no description
|
String | optional |
Section | section |
no description
|
Unknown | optional |
Direction | direction |
no description
|
Unknown | optional |
Section-id | section-id |
no description
|
Unknown | optional |
Short quote | short quote |
no description
|
Unknown | optional |
<includeonly><div class="portal-bannerbox"><div class="bannertitle">{{{banner-title|}}}</div> {{#if:{{{short quote|}}}|[[File:{{{image}}}|left|frameless|link=]]}} {{#if:{{{short quote|}}}|<div class="portal-shortquote">{{{short quote}}}</div>}} </div></includeonly> <noinclude> <templatedata> { "params": { "direction": {}, "title": { "type": "string", "required": false }, "section": {}, "image": { "description": "Image name, without the File: prefix", "example": "Example.png", "required": true, "type": "wiki-file-name" }, "section-id": {}, "short quote": {} }, "description": "Banner template for portal pages", "paramOrder": [ "image", "title", "section", "direction", "section-id", "short quote" ] } </templatedata> </noinclude>
Line 1: | Line 1: | ||
− | <div class="portal-bannerbox"><div class="bannertitle">{{{banner-title|}}}</div> | + | <includeonly><div class="portal-bannerbox"><div class="bannertitle">{{{banner-title|}}}</div> |
{{#if:{{{short quote|}}}|[[File:{{{image}}}|left|frameless|link=]]}} | {{#if:{{{short quote|}}}|[[File:{{{image}}}|left|frameless|link=]]}} | ||
{{#if:{{{short quote|}}}|<div class="portal-shortquote">{{{short quote}}}</div>}} | {{#if:{{{short quote|}}}|<div class="portal-shortquote">{{{short quote}}}</div>}} | ||
− | </div> | + | </div></includeonly> |
<noinclude> | <noinclude> | ||