You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:TOC 2D: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__ | <includeonly>__NOTOC__ | ||
<table class="toc" summary="Contents" style="padding: 0.5em;{{#if:{{{float|}}}| float: {{{float}}};}}"> | <table class="toc" summary="Contents" style="padding: 0.5em;{{#if:{{{float|}}}| float: {{{float}}};}}"> | ||
<tr><td colspan="2" style="text-align:center;"><div id="toctitle"><h2>Contents</h2></div></td> | <tr><td colspan="2" style="text-align: center; padding-top: 0.5em;"><div id="toctitle"><h2>Contents</h2></div></td> | ||
</tr> | </tr> | ||
{{#if: {{{before|}}} | | {{#if: {{{before|}}} | | ||
Line 7: | Line 7: | ||
</tr> | </tr> | ||
}}{{#if: {{{title1|}}} | | }}{{#if: {{{title1|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title1}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title1}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row1_header|}}} | | }}{{#if: {{{row1_header|}}} | | ||
<tr><td {{#if:{{{row1_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row1_header}}}</td> | <tr><td {{#if:{{{row1_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row1_header}}}</td> | ||
{{#if: {{{row1_content|}}} | | {{#if: {{{row1_content|}}} | | ||
<td width=" | <td width="202px" style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row1_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title2|}}} | | }}{{#if: {{{title2|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title2}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title2}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row2_header|}}} | | }}{{#if: {{{row2_header|}}} | | ||
<tr><td {{#if:{{{row2_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row2_header}}}</td> | <tr><td {{#if:{{{row2_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row2_header}}}</td> | ||
{{#if: {{{row2_content|}}} | | {{#if: {{{row2_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row2_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row2_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title3|}}} | | }}{{#if: {{{title3|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title3}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title3}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row3_header|}}} | | }}{{#if: {{{row3_header|}}} | | ||
<tr><td {{#if:{{{row3_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row3_header}}}</td> | <tr><td {{#if:{{{row3_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row3_header}}}</td> | ||
{{#if: {{{row3_content|}}} | | {{#if: {{{row3_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row3_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row3_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title4|}}} | | }}{{#if: {{{title4|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title4}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title4}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row4_header|}}} | | }}{{#if: {{{row4_header|}}} | | ||
<tr><td {{#if:{{{row4_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row4_header}}}</td> | <tr><td {{#if:{{{row4_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row4_header}}}</td> | ||
{{#if: {{{row4_content|}}} | | {{#if: {{{row4_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row4_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row4_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title5|}}} | | }}{{#if: {{{title5|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title5}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title5}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row5_header|}}} | | }}{{#if: {{{row5_header|}}} | | ||
<tr><td {{#if:{{{row5_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row5_header}}}</td> | <tr><td {{#if:{{{row5_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row5_header}}}</td> | ||
{{#if: {{{row5_content|}}} | | {{#if: {{{row5_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row5_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row5_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title6|}}} | | }}{{#if: {{{title6|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title6}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title6}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row6_header|}}} | | }}{{#if: {{{row6_header|}}} | | ||
<tr><td {{#if:{{{row6_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row6_header}}}</td> | <tr><td {{#if:{{{row6_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row6_header}}}</td> | ||
{{#if: {{{row6_content|}}} | | {{#if: {{{row6_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row6_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row6_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title7|}}} | | }}{{#if: {{{title7|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title7}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title7}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row7_header|}}} | | }}{{#if: {{{row7_header|}}} | | ||
<tr><td {{#if:{{{row7_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row7_header}}}</td> | <tr><td {{#if:{{{row7_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row7_header}}}</td> | ||
{{#if: {{{row7_content|}}} | | {{#if: {{{row7_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row7_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row7_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title8|}}} | | }}{{#if: {{{title8|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title8}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title8}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row8_header|}}} | | }}{{#if: {{{row8_header|}}} | | ||
<tr><td {{#if:{{{row8_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row8_header}}}</td> | <tr><td {{#if:{{{row8_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row8_header}}}</td> | ||
{{#if: {{{row8_content|}}} | | {{#if: {{{row8_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row8_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row8_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title9|}}} | | }}{{#if: {{{title9|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title9}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title9}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row9_header|}}} | | }}{{#if: {{{row9_header|}}} | | ||
<tr><td {{#if:{{{row9_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row9_header}}}</td> | <tr><td {{#if:{{{row9_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row9_header}}}</td> | ||
{{#if: {{{row9_content|}}} | | {{#if: {{{row9_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row9_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row9_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title10|}}} | | }}{{#if: {{{title10|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title10}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title10}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row10_header|}}} | | }}{{#if: {{{row10_header|}}} | | ||
<tr><td {{#if:{{{row10_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row10_header}}}</td> | <tr><td {{#if:{{{row10_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row10_header}}}</td> | ||
{{#if: {{{row10_content|}}} | | {{#if: {{{row10_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row10_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row10_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title11|}}} | | }}{{#if: {{{title11|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title11}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title11}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row11_header|}}} | | }}{{#if: {{{row11_header|}}} | | ||
<tr><td {{#if:{{{row11_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row11_header}}}</td> | <tr><td {{#if:{{{row11_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row11_header}}}</td> | ||
{{#if: {{{row11_content|}}} | | {{#if: {{{row11_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row11_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row11_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title12|}}} | | }}{{#if: {{{title12|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title12}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title12}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row12_header|}}} | | }}{{#if: {{{row12_header|}}} | | ||
<tr><td {{#if:{{{row12_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row12_header}}}</td> | <tr><td {{#if:{{{row12_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row12_header}}}</td> | ||
{{#if: {{{row12_content|}}} | | {{#if: {{{row12_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row12_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row12_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title13|}}} | | }}{{#if: {{{title13|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title13}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title13}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row13_header|}}} | | }}{{#if: {{{row13_header|}}} | | ||
<tr><td {{#if:{{{row13_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row13_header}}}</td> | <tr><td {{#if:{{{row13_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row13_header}}}</td> | ||
{{#if: {{{row13_content|}}} | | {{#if: {{{row13_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row13_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row13_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title14|}}} | | }}{{#if: {{{title14|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title14}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title14}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row14_header|}}} | | }}{{#if: {{{row14_header|}}} | | ||
<tr><td {{#if:{{{row14_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row14_header}}}</td> | <tr><td {{#if:{{{row14_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row14_header}}}</td> | ||
{{#if: {{{row14_content|}}} | | {{#if: {{{row14_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row14_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row14_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title15|}}} | | }}{{#if: {{{title15|}}} | | ||
<tr><td colspan="2" style="text-align: left;">{{{title15}}}</td> | <tr><td colspan="2" style="text-align: left; padding-left: 1em;">{{{title15}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row15_header|}}} | | }}{{#if: {{{row15_header|}}} | | ||
<tr><td {{#if:{{{row15_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em;"|colspan="2" style="text-align: center;"}}>{{{row15_header}}}</td> | <tr><td {{#if:{{{row15_content|}}}| width="65px" valign="top" style="text-align: right; line-height: 1.25em; padding-left: 1em;"|colspan="2" style="text-align: center;"}}>{{{row15_header}}}</td> | ||
{{#if: {{{row15_content|}}} | | {{#if: {{{row15_content|}}} | | ||
<td style="padding-left: 1em; line-height: 1.25em;">{{{row15_content}}}</td>}} | <td style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row15_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{after|}}} | | }}{{#if: {{{after|}}} | |
Latest revision as of 22:12, 28 May 2014
This template is based on the Wikipedia TOC 2D template and is used in table of contents formatting.