Difference between revisions of "Template:Ambox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
m (Reverted edits by 69.140.152.55 (talk) to last version by Davidgothberg)
Line 1: Line 1:
{{ambox
+
<table class="metadata plainlinks ambox
| type     = merge
+
{{#switch:{{{type|}}}
| image    = [[Image:Emblem-question-yellow.svg|40px]]
+
| speedy    = ambox-speedy
| style     = width: 400px;
+
| delete        <!-- delete = serious -->
| 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 United States Constitution|talk page]] for details.
+
| serious    = ambox-delete
 +
| content    = ambox-content
 +
| 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 11:16, 29 May 2008