Diferencia entre revisiones de «Plantilla:Notice»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(partial revert per BRD, previous default was left-aligned)
(implemented |center= as suggested on talk page (keeps left as default))
Línea 9: Línea 9:
 
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
 
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
 
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
 
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle  = {{{textstyle|{{{align|text-align:left;}}}}}}
+
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:left;">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revisión del 11:05 4 abr 2016

50px Template documentation[create]