Predefinição:Banner: mudanças entre as edições
Ir para navegação
Ir para pesquisar
m (uma edição) |
Sem resumo de edição |
||
Linha 1: | Linha 1: | ||
<includeonly><templatestyles src="Banner/styles.css" /><div class="bannerbox" style="align-items:start;{{#ifeq:{{{imagealign|}}}|right|flex-direction:row-reverse;|flex-dirction:row;}}{{#if:{{{boxbgcolor|}}}|background:{{{boxbgcolor}}};|}}padding:{{{boxpadding|0px}}};"> | <includeonly><templatestyles src="Predifinição:Banner/styles.css" /><div class="bannerbox" style="align-items:start;{{#ifeq:{{{imagealign|}}}|right|flex-direction:row-reverse;|flex-dirction:row;}}{{#if:{{{boxbgcolor|}}}|background:{{{boxbgcolor}}};|}}padding:{{{boxpadding|0px}}};"> | ||
{{#if:{{{banner-image|}}}|<div class="banner-image">[[File:{{{banner-image}}}{{!}}{{#if:{{{image-width|}}}|{{{image-width}}}x{{{image-width}}}px|200x200px}}{{!}}link=]]</div>|}}<div class="banner-content" style="padding:{{#if:{{{contentpadding|}}}|{{{contentpadding}}}"|10px}}>{{#if:{{{banner-title|}}}|<div class="banner-title"><h1 style="margin-top:0; {{#if:{{{titlesize|}}}|font-size:{{{titlesize}}};|font-size:1.6em;}}{{#if:{{{titlecolor|}}}|color:{{{titlecolor}}};|}}">{{{banner-title}}}</h1></div>|}}{{#if:{{{banner-text|}}}|<div class="banner-text" style="{{#if:{{{textcolor|}}}|color:{{{textcolor}}};|}}{{#if:{{{textsize|}}}|font-size:{{{textsize}}};|}}">{{{banner-text}}}</div>|}}</div></div></includeonly><noinclude> | {{#if:{{{banner-image|}}}|<div class="banner-image">[[File:{{{banner-image}}}{{!}}{{#if:{{{image-width|}}}|{{{image-width}}}x{{{image-width}}}px|200x200px}}{{!}}link=]]</div>|}}<div class="banner-content" style="padding:{{#if:{{{contentpadding|}}}|{{{contentpadding}}}"|10px}}>{{#if:{{{banner-title|}}}|<div class="banner-title"><h1 style="margin-top:0; {{#if:{{{titlesize|}}}|font-size:{{{titlesize}}};|font-size:1.6em;}}{{#if:{{{titlecolor|}}}|color:{{{titlecolor}}};|}}">{{{banner-title}}}</h1></div>|}}{{#if:{{{banner-text|}}}|<div class="banner-text" style="{{#if:{{{textcolor|}}}|color:{{{textcolor}}};|}}{{#if:{{{textsize|}}}|font-size:{{{textsize}}};|}}">{{{banner-text}}}</div>|}}</div></div></includeonly><noinclude> | ||
This template creates an intro banner on a page. The banner should contain an image (optional), a title and 2-3 lines of text. | This template creates an intro banner on a page. The banner should contain an image (optional), a title and 2-3 lines of text. |
Edição das 18h45min de 13 de abril de 2022
This template creates an intro banner on a page. The banner should contain an image (optional), a title and 2-3 lines of text.
Sem descrição.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Banner image (optional) | banner-image | Image name, without the File: prefix, but with namespace prefix (if it exists)
| Desconhecida | recomendado |
Image width | image-width | Width in pixels. Default setting is 200
| Desconhecida | recomendado |
Image alignment | imagealign | Links oder rechts in der Box
| Desconhecida | recomendado |
Heading | banner-title | Box heading | String | recomendado |
Heading size | titlesize | sem descrição
| Desconhecida | recomendado |
Heading color | titlecolor | Color of the heading.
| Desconhecida | recomendado |
Text | banner-text | 1-3 lines of text | Conteúdo | recomendado |
Text size | textsize | sem descrição
| Desconhecida | recomendado |
Text color | textcolor | sem descrição
| Desconhecida | recomendado |
Content padding (optional) | contentpadding | Padding around text. Default is 10px.
| Número | recomendado |
Padding of the container box (optional) | boxpadding | Sets the padding for the box. Default is 0.
| Desconhecida | recomendado |
Background color (optional) | boxbgcolor | Default is grey (#f1f3f9). Replace with any hex value, (e.g. #ffffe6)
| String | recomendado |