Template:Sandbox: Difference between revisions
From questden
Jump to navigationJump to search
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.) |
(Testing functionality of matching icon's bg with table's bg) |
||
Line 3: | Line 3: | ||
<tr> <!-- New row! --> | <tr> <!-- New row! --> | ||
<td style="vertical-align: top; border-top: 1px solid white; padding-top: 6px; 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}}}|}}|{{#if:{{{background|}}}|bg={{{background|}}}|||}}}} | ||
</td> | </td> | ||
<!-- Second cell, second column --> | <!-- Second cell, second column --> |
Revision as of 19:43, 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.