Template:Sandbox: Difference between revisions

From questden
Jump to navigationJump to search
No edit summary
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)
 
(12 intermediate revisions by the same user not shown)
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}}}; 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}}};">
'''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 />{{#if:{{{pawn|}}}|<!-- moved here to avoid linebreak -->
'''Relationship:'''&nbsp;{{{relation|Single, not looking}}}<br />  
'''Pawn&nbsp;status'''&nbsp;{{{pawn|}}}<br />|}}
'''Sexuality:'''&nbsp;{{{sexuality|Unknown}}}
'''Relationship:''' {{{relation|Single, not looking}}}<br />
</td>                       <!-- Third cell, third column -->
</td>
<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 style="border: 1px solid white; vertical-align: top; background:#{{{background|eee}}};">
'''Description:''' {{{description|Nondescript!}}}<br />
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  
</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.