Diferencia entre revisiones de «Plantilla:Notice»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(working around misuse of "header" (it's a heading); don't make people try to memorize the incorrect usage to use this template)
(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)
Línea 8: Línea 8:
 
| small      = {{{small|}}}
 
| small      = {{{small|}}}
 
| smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}}
 
| smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}}
| 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>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
 
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>

Revisión del 17:03 12 abr 2014

50px Template documentation[create]