Predefinição:Hero: mudanças entre as edições
Hero |
Sem resumo de edição |
||
| (3 revisões intermediárias pela mesma usuária não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
<includeonly><div class="hero"> | <includeonly><div class="hero"> | ||
[[File:{{{image | {{#if: {{{image|}}} | | ||
[[File:{{{image}}}|class=hero-img]] | |||
}} | |||
<div class="hero-content"> | <div class="hero-content"> | ||
| Linha 14: | Linha 16: | ||
== Uso == | == Uso == | ||
{{Hero | {{Hero | ||
|image= | |image=Image4.jpg | ||
|title=Bem-vindo | |title=Bem-vindo | ||
|subtitle=Subtítulo aqui | |subtitle=Subtítulo aqui | ||
| Linha 23: | Linha 25: | ||
== TemplateData == | == TemplateData == | ||
{{#template_params: | |||
image|wiki-file-name|required; | |||
title|string|required; | |||
subtitle|string|optional | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Linha 29: | Linha 37: | ||
"image": { | "image": { | ||
"label": "Imagem", | "label": "Imagem", | ||
"type": "wiki- | "type": "wiki-file-name", | ||
"required": true | "required": true | ||
}, | }, | ||
| Linha 45: | Linha 53: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Page Forms == | == Page Forms == | ||
