Diferencia entre revisiones de «Plantilla:Side box»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(add plainlist class, which makes adds semantic value when multiple elements are used. any problems with this, please let me know)
(make metadata optional - this metatemplate 1is used to create content boxes (eg {{listen}}) as well as maintenance templates (ambox-small etc))
Línea 1: Línea 1:
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
+
<table class="{{#ifeq:{{lc:{{{metadata|}}}}}|no||metadata}} mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
{{#if:{{{above|}}}
 
{{#if:{{{above|}}}
 
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}">
 
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}">

Revisión del 12:31 23 ago 2013

Plantilla:Td
50px Template documentation[create]