Diferencia entre revisiones de «Plantilla:Notice»
De Familia Sanchez Arjona
(TESTED - updated the template so that the user can have the option to use the "imageright" or the "shortcut" parameter, but gave the "imageright" parameter priority over the "shortcut" parameter - better give the editors options, rather than save bits) |
(Retain default width (80%) before any extra {{{style}}}) |
||
Línea 1: | Línea 1: | ||
{{Mbox | {{Mbox | ||
| name = Notice | | name = Notice | ||
− | | style = {{{style|}}} | + | | style = {{#if:{{{style|}}} |width:80%;{{{style}}} }} |
| textstyle = {{{textstyle|}}} | | textstyle = {{{textstyle|}}} | ||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
| demospace = {{{demospace|}}} | | demospace = {{{demospace|}}} | ||
− | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|40px|Notice]]}} | + | | image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}} |
| small = {{{small|}}} | | small = {{{small|}}} | ||
− | | smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}} | + | | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}} |
− | | imageright = {{#if:{{{imageright|}}}|{{{imageright | + | | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }} |
− | | text = {{#if:{{{header|{{{heading|}}}}}}|<div style="text-align: center">'''{{{header|{{{heading}}}}}}'''</div>}}{{{text|{{{1}}}}}} | + | | text = {{#if:{{{header|{{{heading|}}}}}} |<div style="text-align:center;">'''{{{header|{{{heading}}}}}}'''</div>}}<!-- |
− | + | -->{{{text|{{{1}}}}}} | |
− | }}<noinclude>{{ | + | }}<noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |
Revisión del 11:01 5 dic 2014
40x40px | {{{1}}} |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |