Difference between revisions of "Template:PandaBar"
From PRIMUS Database
m |
m |
||
Line 1: | Line 1: | ||
<noinclude>[[Category:Template Sub Pages]]<!--please do not delete or overwrite--></noinclude> | <noinclude>[[Category:Template Sub Pages]]<!--please do not delete or overwrite--></noinclude> | ||
− | <div style="width:{{{rating|1}}}0px; max-width:100px; height:12px; overflow:hidden; border-right:1px solid {{{ | + | <div style="width:{{{rating|1}}}0px; max-width:100px; height:12px; overflow:hidden; border-right:1px solid {{{bordercolor|black}}};"> |
<table style="border-collapse:collapse;"> | <table style="border-collapse:collapse;"> | ||
<tr> | <tr> | ||
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #009900; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #40A600; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #80B300; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #BFBF00; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #FFCC00; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #EBA300; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #D67A00; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #C25200; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #AD2900; "></td> |
− | <td style="min-width:7px; height:8px; border:1px solid {{{ | + | <td style="min-width:7px; height:8px; border:1px solid {{{bordercolor|black}}}; background: #990000; "></td> |
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
− | |||
'''Usage:'''<br> | '''Usage:'''<br> | ||
rating = Min 1, Max 10 (default 1)<br> | rating = Min 1, Max 10 (default 1)<br> | ||
− | + | bordercolor = the color of the border | |
− | + | ||
<pre> | <pre> | ||
{{PandaBar | {{PandaBar | ||
| rating = | | rating = | ||
− | | | + | | bordercolor = |
− | + | ||
|}} | |}} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 00:02, 23 January 2020
Usage:
rating = Min 1, Max 10 (default 1)
bordercolor = the color of the border
{{PandaBar | rating = | bordercolor = |}}