Difference between revisions of "Template:Sandbox"

From questden
m (Keeping the # optional allows the ability to chose between using color names (eg. red) or color codes (eg. #f00). Used padding instead of thick border to position icon.)
Line 2: Line 2:
  
 
<tr>                <!-- New row! -->
 
<tr>                <!-- New row! -->
<td style="vertical-align: top; border-top: 7px solid white; background:#{{{background|eee}}};">
+
<td style="vertical-align: top; border-top: 1px solid white; padding-top: 6px; background:{{{background|#eee}}};">
 
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}|}}
 
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}|}}
 
</td>
 
</td>
 
                       <!-- Second cell, second column -->
 
                       <!-- Second cell, second column -->
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top; background:#{{{background|eee}}};">
+
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top; background:{{{background|#eee}}};">
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
Line 14: Line 14:
 
</td>
 
</td>
 
                         <!-- Third cell, third column -->
 
                         <!-- Third cell, third column -->
<td style="border: 1px solid white; vertical-align: top; background:#{{{background|eee}}};">
+
<td style="border: 1px solid white; vertical-align: top; background:{{{background|#eee}}};">
 
'''Description:''' {{{description|Nondescript!}}}<br />
 
'''Description:''' {{{description|Nondescript!}}}<br />
 
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  
 
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  

Revision as of 19:03, 20 July 2014

This page is for working on sandbox templates! In other words, when you don't want to get rid of the old code until you know the new code works. Hit EDIT to start tweaking around~ Also, for future reference, typo in naming this page, it's template:Sanbox/Doc.