Template:Sandbox2: Difference between revisions

From questden
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Sanbox/Doc}}<br> //I don't know how to make docs... -Leaf</noinclude>
<noinclude>{{Sanbox/Doc}}<br> //I don't know how to make docs... -Leaf</noinclude>
<includeonly><table style="display: inline-table; background-color: #eee; color: black; text-align: center; width: 100px; margin-top: 2px; margin-bottom: 2px;"><!--
<includeonly>
 
<table>
The upper row of the table is the image. The maximum thumbnail size will be 200px or 250px depending if it's the OP, plus 2x2px padding. Hence the max value.
<tr>                <!-- New row! -->
 
<td style="vertical-align: top; border-top: 7px solid white;">
--><tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/icons/{{{1}}} http://tgchan.org/kusaba/thumb-for/icons/{{{1}}}.png]</span></td></tr>
{{simpleicon|{{{icon|1}}}|{{#if:{{{icon2|}}}|{{{icon2|2}}}|}}|{{#if:{{{icon3|}}}|{{{icon3|3}}}|}}|{{#if:{{{icon4|}}}|{{{icon4|4}}}|}}|}}
<tr><td style="padding: 2px;" colspan="2"><span class="plainlinks">[http://tgchan.org/kusaba/image-for/icons/{{{1}}} http://tgchan.org/kusaba/thumb-for/icons/{{{1}}}.png]</span></td></tr>
</td>
</table></includeonly><!-- Don't leave a trailing newline after this! Very whitespace-sensitive. -->
                      <!-- Second cell, second column -->
<td style="min-width: 300px; width: 40%; border: 1px solid white;  vertical-align: top;">
'''Name:''' {{{name|Unnamed}}}<br />  
'''Age:''' {{{age|Ageless}}}<br />
'''Gender:''' {{{gender|Neither}}}<br />
{{#if:{{{pawn|}}}|'''Pawn&nbsp;status'''&nbsp;{{{pawn|}}}<br />|}}
'''Relationship:''' {{{relation|Single, not looking}}}<br />  
</td>
                        <!-- Third cell, third column -->
<td style="border: 1px solid white; vertical-align: top;">
'''Description:''' {{{description|Nondescript!}}}<br />
'''Trivia:''' {{{trivia|Apparently has nothing special going for them}}}  
</td>
</tr><!-- Close row -->
</table>
</includeonly><!-- Don't leave a trailing newline after this! Very whitespace-sensitive. -->

Latest revision as of 13:58, 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.
//I don't know how to make docs... -Leaf