Diferencia entre revisiones de «Plantilla:Notice»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(add passthrough of style and textstyle, per EP request. also tidy whitespace)
m (116 revisiones importadas)
 
(No se muestran 24 ediciones intermedias de 10 usuarios)
Línea 1: Línea 1:
{{ mbox
+
{{Mbox
 
| name      = Notice
 
| name      = Notice
| style      = {{{style|}}}
 
| textstyle  = {{{textstyle|}}}
 
| subst      = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
 
| demospace  = {{{demospace|}}}
 
| demospace  = {{{demospace|}}}
| image     = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
+
| style     = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| text       =  
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
  {{#if:{{{header|}}}
+
| type       = notice
  | <div style="text-align:center;">'''{{{header}}}'''</div>
+
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
  }}{{{1}}}
 
 
| small      = {{{small|}}}
 
| small      = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[Image:{{{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|}}}}}}} }}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
+
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
 +
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 +
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revisión actual del 22:20 7 jun 2016

50px Template documentation[create]