Template:Notice: Difference between revisions

From Leurent
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{ambox
{{Mbox
| name = Notice
| name = Notice
| style = {{{style|}}}
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| demospace = {{{demospace|}}}
| textstyle = {{{textstyle|}}}
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
| demospace = {{{demospace|}}}
| text =
{{#if:{{{header|}}}
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|40px|Notice]]}}
| small = {{{small|}}}
| <div style="text-align:center;">'''{{{header}}}'''</div>
| smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}}
}}{{{1|{{{text}}}}}}
| imageright = {{#if:{{{imageright|}}}|{{{imageright|}}}|{{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}} }} }} }}
| small = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Notice]] }}
| text = {{#if:{{{header|{{{heading|}}}}}}|<div style="text-align: center">'''{{{header|{{{heading}}}}}}'''</div>}}{{{text|{{{1}}}}}}

}}<noinclude>
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 21:37, 17 August 2017

[edit] [[[:Template:Purge]]] Template documentation

Usage

<templatedata> { "params": { "1": { "label": "Text for notice", "type": "content", "required": true }, "image": {}, "header": {}, "small": {} }, "description": "Adds a notice inside a box", "format": "inline" } </templatedata>