You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:TOC 2D: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Undo revision 102319 by Tierce (talk|contribs))
mNo edit summary
Line 12: Line 12:
<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>
<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="202px" style="padding-left: 1em; line-height: 1.25em;">{{{row1_content}}}</td>}}
<td width="202px" style="padding-left: 1em; line-height: 1.25em; padding-bottom: 0.5em;">{{{row1_content}}}</td>}}
</tr>
</tr>
}}{{#if: {{{title2|}}} |
}}{{#if: {{{title2|}}} |
Line 20: Line 20:
<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>
<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|}}} |
Line 28: Line 28:
<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>
<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|}}} |
Line 36: Line 36:
<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>
<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|}}} |
Line 44: Line 44:
<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>
<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|}}} |
Line 52: Line 52:
<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>
<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|}}} |
Line 60: Line 60:
<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>
<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|}}} |
Line 68: Line 68:
<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>
<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|}}} |
Line 76: Line 76:
<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>
<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|}}} |
Line 84: Line 84:
<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>
<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|}}} |
Line 92: Line 92:
<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>
<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|}}} |
Line 100: Line 100:
<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>
<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|}}} |
Line 108: Line 108:
<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>
<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|}}} |
Line 116: Line 116:
<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>
<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|}}} |
Line 124: Line 124:
<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>
<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|}}} |

Revision as of 21:46, 28 May 2014

This template is based on the Wikipedia TOC 2D template and is used in table of contents formatting.