Difference between revisions of "Template:Ambox"

From Pandora Wiki
Jump to: navigation, search
(workaround for no images)
(removed "ambox derived works" which is a dead link)
 
(One intermediate revision by one other user not shown)
Line 27: Line 27:
 
}}
 
}}
 
<td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td>
 
<td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td>
{{#if:{{{imageright|}}}
 
| {{#ifeq:{{{imageright|}}}|none
 
  | <!-- No image. -->
 
  | <td class="mbox-imageright" style="border: none;padding: 2px 0.9em 2px 0;text-align: center;">{{#switch:{{{small|}}}
 
    | left = {{{imageright}}}
 
    | #default = <div style="width: 52px;"> {{{imageright}}} </div>
 
    }}</td>
 
  }}
 
}}
 
 
</tr>
 
</tr>
 
</table>
 
</table>
<includeonly>[[Category:Ambox Derived Works|{{PAGENAME}}]]</includeonly>
 
  
 
<noinclude>
 
<noinclude>

Latest revision as of 21:43, 25 October 2013


[create] 50px Template documentation