Difference between revisions of "Template:Sandbox"

From questden
m (Added option: {{{text|}}} for text color)
m (Okay, it's linebreaking when it shouldn't, and it looks like the only solution is to jam the third column into a sing line)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
<td style="vertical-align: top; border-top: 1px solid white; padding-top: 6px; background:{{{background|#eee}}}; color: {{{text|black}}};">
 
<td style="vertical-align: top; border-top: 1px solid white; padding-top: 6px; background:{{{background|#eee}}}; color: {{{text|black}}};">
 
{{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}}}; color: {{{text|black}}};">
 
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top; background:{{{background|#eee}}}; color: {{{text|black}}};">
 
'''Name:'''&nbsp;{{{name|Unnamed}}}<br />  
 
'''Name:'''&nbsp;{{{name|Unnamed}}}<br />  
Line 12: Line 11:
 
'''Relationship:'''&nbsp;{{{relation|Single, not looking}}}<br />  
 
'''Relationship:'''&nbsp;{{{relation|Single, not looking}}}<br />  
 
'''Sexuality:'''&nbsp;{{{sexuality|Unknown}}}
 
'''Sexuality:'''&nbsp;{{{sexuality|Unknown}}}
</td>
+
</td>                       <!-- Third cell, third column -->
                        <!-- Third cell, third column -->
+
<td style="border: 1px solid white; vertical-align: top; background:{{{background|#eee}}}; color: {{{text|black}}};">{{#if:{{{pawn|}}}|'''Pawn&nbsp;status:'''&nbsp;{{{pawn|}}}<br />|}}{{#if:{{{alliance|}}}|'''Alliance:'''&nbsp;{{{alliance|}}}<br />|}}'''Skills:'''&nbsp;{{{skills|Apparently has no skills}}}<br />'''Trivia:'''&nbsp;{{{trivia|Apparently has nothing special going for them}}}<br />'''Description:''' {{{description|Nondescript!}}}
<td style="border: 1px solid white; vertical-align: top; background:{{{background|#eee}}}; color: {{{text|black}}};">{{#if:{{{pawn|}}}|'''Pawn&nbsp;status:'''&nbsp;{{{pawn|}}}<br />|}}{{#if:{{{alliance|}}}|'''Alliance:'''&nbsp;{{{alliance|}}}<br />|}}
 
'''Skills:'''&nbsp;{{{skills|Apparently has no skills}}}<br />
 
'''Trivia:'''&nbsp;{{{trivia|Apparently has nothing special going for them}}}<br />
 
'''Description:''' {{{description|Nondescript!}}}
 
 
</td>
 
</td>
 
</tr><!-- Close row -->
 
</tr><!-- Close row -->
 
</includeonly>
 
</includeonly>

Latest revision as of 18:57, 22 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.