Difference between revisions of "Template:Ambox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Davidgothberg
(Added a space. (Minor code prettyfying.))
(test templ.)
Line 1: Line 1:
<table class="metadata plainlinks ambox
+
{{ambox
{{#switch:{{{type|}}}
+
| type     = merge
| speedy    = ambox-speedy
+
| image    = [[Image:Emblem-question-yellow.svg|40px]]
| delete        <!-- delete = serious -->
+
| style     = width: 400px;
| serious    = ambox-delete
+
| textstyle = color: red; font-weight: bold; font-style: italic;
| content    = ambox-content
+
| text      = It has been suggested that [[Fourth Amendment to the Constitution of the United States#Stop and frisk|this section]] be merged with [[Fourth Amendment to the Constitution of the United States#Investigatory detentions, "Terry Stops"|this other section]]. Please see the [[Talk:Fourth Amendment to the Constitution of the United States|talk page]] for details.
| style     = ambox-style
 
| move          <!-- move = merge -->
 
| merge      = ambox-move
 
| protection = ambox-protection
 
| notice        <!-- notice = default -->
 
| #default  = ambox-notice
 
}}" style="{{{style|}}}">
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
 
| <td class="ambox-image"><div style="width: 52px;">
 
  {{#ifeq:{{{image|}}}|blank
 
  | &nbsp;
 
  | {{#if:{{{image|}}}
 
    | {{{image}}}
 
    | {{#switch:{{{type|}}}
 
      | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]
 
      | delete
 
      | serious    = [[Image:Ambox deletion.png|40x40px]]
 
      | content    = [[Image:Ambox content.png|40x40px]]
 
      | style      = [[Image:Ambox style.png|40x40px]]
 
      | move
 
      | merge      = [[Image:Ambox move.png|40x40px]]
 
      | protection = [[Image:Ambox protection.png|40x40px]]
 
      | notice          <!-- notice = default -->
 
      | #default  = [[Image:Ambox notice.png|40x40px]]
 
      }}
 
    }}
 
  }}</div></td>
 
 
}}
 
}}
<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
{{#if:{{{imageright|}}}
 
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td>
 
}}
 
</tr>
 
</table>
 

Revision as of 01:12, 29 May 2008