Diferencia entre revisiones de «Plantilla:Banner»

De 15Mpedia
Saltar a: navegación, buscar
m (Protegió «Plantilla:Banner»: usada en el Sitenotice (‎[edit=sysop] (indefinido) ‎[move=sysop] (indefinido)) [en cascada])
Línea 1: Línea 1:
<div class="notice-wrapper plainlinks" style="{{{outer-style|width: 80%; overflow: hidden; margin:4px auto; position: relative; border:1px solid #A7D7F9; box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.25);}}}">
+
<div class="notice-wrapper plainlinks" style="{{{outer-style|width: 80%; overflow: hidden; margin:0px auto; position: relative; border:1px solid #A7D7F9; box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.25);}}}">
 
<div class="blue-text" style="{{{inner-style|font-weight: bold; font-family: helvetica, sans-serif; background-color: {{gradient|#fbfbfb|#f0f0f0|vertical}}; color: {{{text-color|#1C4564}}}; text-align: center; top: 50%; margin:auto; width:100%;font-size:{{{inner-font-size|1.2em;}}}}}}">
 
<div class="blue-text" style="{{{inner-style|font-weight: bold; font-family: helvetica, sans-serif; background-color: {{gradient|#fbfbfb|#f0f0f0|vertical}}; color: {{{text-color|#1C4564}}}; text-align: center; top: 50%; margin:auto; width:100%;font-size:{{{inner-font-size|1.2em;}}}}}}">
 
<div style="padding: 0.5em 0;">
 
<div style="padding: 0.5em 0;">

Revisión de 12:52 9 feb 2013


Usage

{{banner-test
| outer-style = (optional)
| toggle-style = (optional)
| inner-style = (optional)
| content = (not optional)
| proposed by = 
| on scope = 
| tested = 
| income = 
| discarded = 
}}

Note: Defining a -style will cause all of the current style declarations to be dropped (i.e., it does not simply append your style choices. Copy and paste is your friend here.

From the original Wikipedia Forever banners:

| outer-style = margin:4px auto; position: relative; width: 100%; height: 100px; border: 1px solid #bbb; background-color: #fbfbfb; font-family: helvetica, impact, sans-serif; overflow: hidden;
| toggle-style = position: absolute; top: 3px;right: 4px; font-size: 0.6em;
| inner-style = font-weight: bold; font-family: helvetica, impact, sans-serif; background-color: #fbfbfb; color: #6e98c2; text-align: left; margin:auto; width:100%; height:100px; font-size:1.5em;

See also