Difference between revisions of "Template:Sandbox"

From questden
(Supports 4 icons)
(table code test)
Line 2: Line 2:
  
 
<tr>                <!-- New row! -->
 
<tr>                <!-- New row! -->
<td style="vertical-align: top; border-top: 7px solid white;">
+
<table style="vertical-align: top; border-top: 7px solid white;">
 
{{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>
+
</table>
 
                       <!-- Second cell, second column -->
 
                       <!-- Second cell, second column -->
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top;">
+
<table style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top;">
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Name:''' {{{name|Unnamed}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
 
'''Age:''' {{{age|Ageless}}}<br />  
Line 12: Line 12:
 
{{#if:{{{pawn|}}}|'''Pawn&nbsp;status'''&nbsp;{{{pawn|}}}<br />|}}
 
{{#if:{{{pawn|}}}|'''Pawn&nbsp;status'''&nbsp;{{{pawn|}}}<br />|}}
 
'''Relationship:''' {{{relation|Single, not looking}}}<br />  
 
'''Relationship:''' {{{relation|Single, not looking}}}<br />  
</td>
+
</table>
 
                         <!-- Third cell, third column -->
 
                         <!-- Third cell, third column -->
<td style="border: 1px solid white; vertical-align: top;">
+
<table style="border: 1px solid white; vertical-align: top;">
 
'''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}}}  
</td>
+
</table>
 
</tr><!-- Close row -->
 
</tr><!-- Close row -->
 
</includeonly>
 
</includeonly>

Revision as of 14:25, 19 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.