Template:MissionRewards: Difference between revisions

Display drop probabilities in a more visible way
No edit summary
(Display drop probabilities in a more visible way)
Line 1:
<includeonly>
<table class="wikitable missionrewards" style="background:none;border:none;border-collapse:separate;text-align:center">
{{#if: {{{FirstClear1|}}}|<tr>
<th>First Clear</th>
Line 16:
{{#if: {{{Main1|}}}|<tr>
<th>Main Drops</th>
{{#if: {{{Main1|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main1|}}}|64px|{{{Main1Prob|}}}]]<span class="prob">{{{Main1Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main2|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main2|}}}|64px|{{{Main2Prob|}}}]]<span class="prob">{{{Main2Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main3|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main3|}}}|64px|{{{Main3Prob|}}}]]<span class="prob">{{{Main3Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main4|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main4|}}}|64px|{{{Main4Prob|}}}]]<span class="prob">{{{Main4Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main5|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main5|}}}|64px|{{{Main5Prob|}}}]]<span class="prob">{{{Main5Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main6|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main6|}}}|64px|{{{Main6Prob|}}}]]<span class="prob">{{{Main6Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main7|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main7|}}}|64px|{{{Main7Prob|}}}]]<span class="prob">{{{Main7Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main8|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main8|}}}|64px|{{{Main8Prob|}}}]]<span class="prob">{{{Main8Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
{{#if: {{{Main9|}}}|<td style="background-color:#ecf5f9">[[File:{{{Main9|}}}|64px|{{{Main9Prob|}}}]]<span class="prob">{{{Main9Prob|}}}</span></td>|<td style="visibility:hidden"></td>}}
</tr>
|}}