Difference between revisions of "Template:Sandbox"

From questden
m
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)
 
(24 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<tr>                <!-- New row! -->
 
<tr>                <!-- New row! -->
<table style="vertical-align: top; border-top: 7px solid white;">
+
<td style="vertical-align: top; border-top: 1px solid white; padding-top: 6px; background:{{{background|#eee}}}; color: {{{text|black}}};">
{{simpleicon|{{{numicons|1}}}|{{{icon|icon=1}}}|{{{icon2|icon2=680}}}}}
+
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}}}
</table>
+
</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}}};">
<table style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top;">
+
'''Name:'''&nbsp;{{{name|Unnamed}}}<br />  
'''Name:''' {{{name|Unnamed}}}<br />  
+
'''Age:'''&nbsp;{{{age|Ageless}}}<br />  
'''Age:''' {{{age|Ageless}}}<br />  
+
'''Gender:'''&nbsp;{{{gender|Agender}}}<br />
'''Gender:''' {{{gender|Neither}}}<br />  
+
'''Relationship:'''&nbsp;{{{relation|Single, not looking}}}<br />  
{{#if:{{{pawn|}}}'' '''Pawn&nbsp;status'''&nbsp;{{{pawn|}}}<br />}}
+
'''Sexuality:'''&nbsp;{{{sexuality|Unknown}}}
'''Relationship:''' {{{relation|Single, not looking}}}<br />
+
</td>                       <!-- Third cell, third column -->
</table>
+
<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!}}}
                        <!-- Third cell, third column -->
+
</td>
<table style="border: 1px solid white; vertical-align: top;">
 
'''Description:''' {{{description|Nondescript!}}}<br />
 
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  
 
</table>
 
 
</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.