Template:Flattoc: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
m
adding braces
m (trap for one heading)
m (adding braces)
Line 2: Line 2:
-->{{#if:{{{3|}}}|<div class="NavFrame" style="border:none"><div class="NavHead" style="background-color:#ebeef1;font-weight:normal">{{{3}}}</div>|}}<!--
-->{{#if:{{{3|}}}|<div class="NavFrame" style="border:none"><div class="NavHead" style="background-color:#ebeef1;font-weight:normal">{{{3}}}</div>|}}<!--
-->{{#ifeq:{{{1|}}}|start|<div style="min-width:{{{width|500px}}};clear:both"></div>|}}<!--
-->{{#ifeq:{{{1|}}}|start|<div style="min-width:{{{width|500px}}};clear:both"></div>|}}<!--
-->{{#if:{{{3|}}|<div class="NavContent">|}}<!--
-->{{#if:{{{3|}}}|<div class="NavContent">|}}<!--
-->{{#if:{{{3|}}|<table style="background-color:#ebeef1;width:98%;margin-left:auto;margin-right:auto"><tr>|}}<!--
-->{{#if:{{{3|}}}|<table style="background-color:#ebeef1;width:98%;margin-left:auto;margin-right:auto"><tr>|}}<!--
-->{{#if:{{{4|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{4}}}</td>|}}<!--
-->{{#if:{{{4|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{4}}}</td>|}}<!--
-->{{#if:{{{5|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{5}}}</td>|}}<!--
-->{{#if:{{{5|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{5}}}</td>|}}<!--