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 |
No edit summary |
||
Line 7: | Line 7: | ||
</tr> | </tr> | ||
}}{{#if: {{{title1|}}} | | }}{{#if: {{{title1|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title1}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row1_header|}}} | | }}{{#if: {{{row1_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row1_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row1_header}}}</td> | ||
{{#if: {{{row1_content|}}} | | {{#if: {{{row1_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row1_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title2|}}} | | }}{{#if: {{{title2|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title2}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row2_header|}}} | | }}{{#if: {{{row2_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row2_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row2_header}}}</td> | ||
{{#if: {{{row2_content|}}} | | {{#if: {{{row2_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row2_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title3|}}} | | }}{{#if: {{{title3|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title3}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row3_header|}}} | | }}{{#if: {{{row3_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row3_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row3_header}}}</td> | ||
{{#if: {{{row3_content|}}} | | {{#if: {{{row3_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row3_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title4|}}} | | }}{{#if: {{{title4|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title4}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row4_header|}}} | | }}{{#if: {{{row4_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row4_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row4_header}}}</td> | ||
{{#if: {{{row4_content|}}} | | {{#if: {{{row4_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row4_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title5|}}} | | }}{{#if: {{{title5|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title5}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row5_header|}}} | | }}{{#if: {{{row5_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row5_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row5_header}}}</td> | ||
{{#if: {{{row5_content|}}} | | {{#if: {{{row5_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row5_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title6|}}} | | }}{{#if: {{{title6|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title6}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row6_header|}}} | | }}{{#if: {{{row6_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row6_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row6_header}}}</td> | ||
{{#if: {{{row6_content|}}} | | {{#if: {{{row6_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row6_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title7|}}} | | }}{{#if: {{{title7|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title7}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row7_header|}}} | | }}{{#if: {{{row7_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row7_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row7_header}}}</td> | ||
{{#if: {{{row7_content|}}} | | {{#if: {{{row7_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row7_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title8|}}} | | }}{{#if: {{{title8|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title8}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row8_header|}}} | | }}{{#if: {{{row8_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row8_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row8_header}}}</td> | ||
{{#if: {{{row8_content|}}} | | {{#if: {{{row8_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row8_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title9|}}} | | }}{{#if: {{{title9|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title9}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row9_header|}}} | | }}{{#if: {{{row9_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row9_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row9_header}}}</td> | ||
{{#if: {{{row9_content|}}} | | {{#if: {{{row9_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row9_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title10|}}} | | }}{{#if: {{{title10|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title10}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row10_header|}}} | | }}{{#if: {{{row10_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row10_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row10_header}}}</td> | ||
{{#if: {{{row10_content|}}} | | {{#if: {{{row10_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row10_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title11|}}} | | }}{{#if: {{{title11|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title11}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row11_header|}}} | | }}{{#if: {{{row11_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row11_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row11_header}}}</td> | ||
{{#if: {{{row11_content|}}} | | {{#if: {{{row11_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row11_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title12|}}} | | }}{{#if: {{{title12|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title12}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row12_header|}}} | | }}{{#if: {{{row12_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row12_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row12_header}}}</td> | ||
{{#if: {{{row12_content|}}} | | {{#if: {{{row12_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row12_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title13|}}} | | }}{{#if: {{{title13|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title13}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row13_header|}}} | | }}{{#if: {{{row13_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row13_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row13_header}}}</td> | ||
{{#if: {{{row13_content|}}} | | {{#if: {{{row13_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row13_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title14|}}} | | }}{{#if: {{{title14|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title14}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row14_header|}}} | | }}{{#if: {{{row14_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row14_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row14_header}}}</td> | ||
{{#if: {{{row14_content|}}} | | {{#if: {{{row14_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row14_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{title15|}}} | | }}{{#if: {{{title15|}}} | | ||
<tr>< | <tr><td colspan="2" style="text-align: left;">{{{title15}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{row15_header|}}} | | }}{{#if: {{{row15_header|}}} | | ||
<tr>< | <tr><td {{#if:{{{row15_content|}}}| width="80px" valign="top" style="text-align: right; line-height: 1.50em;"|colspan="2" style="text-align: center;"}}>{{{row15_header}}}</td> | ||
{{#if: {{{row15_content|}}} | | {{#if: {{{row15_content|}}} | | ||
<td | <td style="padding-left: 1em; line-height: 1.25em;">{{{row15_content}}}</td>}} | ||
</tr> | </tr> | ||
}}{{#if: {{{after|}}} | | }}{{#if: {{{after|}}} | |
Revision as of 14:27, 28 August 2012
This template is based on the Wikipedia TOC 2D template and is used in table of contents formatting.