Template:Imbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
(Simplifying the code.)
meta>Davidgothberg
(Setting borders to 3px instead of 4px. Seems to be the most popular and the middle ground of suggestions so far. Keeping margin 3px so the space in between now will be a bit larger than before.)
Line 1: Line 1:
<table class="metadata plainlinks ambox" style="margin: 3px 10%;  
<table class="metadata plainlinks ambox" style="margin: 3px 10%;  
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
   | speedy    = border: 4px solid #b22222; background: #fee;
   | speedy    = border: 3px solid #b22222; background: #fee;
   | delete    = border: 4px solid #b22222;
   | delete    = border: 3px solid #b22222;
   | content    = border: 4px solid #f28500;
   | content    = border: 3px solid #f28500;
   | style      = border: 4px solid #f4c430;
   | style      = border: 3px solid #f4c430;
   | move      = border: 4px solid #9932cc;
   | move      = border: 3px solid #9932cc;
   | protection = border: 4px solid #bba;
   | protection = border: 3px solid #bba;
   | notice          <!-- notice = default -->
   | notice          <!-- notice = default -->
   | #default  = border: 4px solid #1e90ff;
   | #default  = border: 3px solid #1e90ff;
}} {{{style|}}}">
}} {{{style|}}}">
<tr>
<tr>

Revision as of 11:02, 2 May 2008