Difference between revisions of "Template:Sandbox"

From questden
m
(I think I figured out IF statements...)
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: 7px solid white;">
{{simpleicon|{{{numicons|1}}}|{{{icon|icon=1}}}|{{{icon2|icon2=680}}}}}
+
{{simpleicon2|
</table>
+
{{{icon|1}}}|
 +
{{#if:{{{icon2|}}}|
 +
{{{icon2|2|}}}
 +
|}}
 +
}}
 +
</td>
 
                       <!-- Second cell, second column -->
 
                       <!-- Second cell, second column -->
<table style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top;">
+
<td 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 />  
 
'''Gender:''' {{{gender|Neither}}}<br />  
 
'''Gender:''' {{{gender|Neither}}}<br />  
{{#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 />  
</table>
+
</td>
 
                         <!-- Third cell, third column -->
 
                         <!-- Third cell, third column -->
<table style="border: 1px solid white; vertical-align: top;">
+
<td 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}}}  
</table>
+
</td>
 
</tr><!-- Close row -->
 
</tr><!-- Close row -->
 
</includeonly>
 
</includeonly>

Revision as of 05:47, 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.