Difference between revisions of "Template:BoxBar"

From PRIMUS Database
Jump to: navigation, search
(restoring from personal backup)
 
Line 3: Line 3:
 
<tr>
 
<tr>
 
{{switch|{{{rating|}}}  
 
{{switch|{{{rating|}}}  
|Case: 1 =  
+
|case: 1 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 2 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 2 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 3 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 3 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 4 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 4 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 5 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 5 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 23: Line 53:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 6 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 6 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 30: Line 64:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 7 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 7 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 38: Line 76:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 8 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 8 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 47: Line 88:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 9 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 9 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 57: Line 100:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
|Case: 10 =  
+
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 +
|case: 10 =  
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
Line 68: Line 112:
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: {{{cellcolor|red}}}; padding-left:5px;"></td>
| default =
+
|default =
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>
 
<td style="min-width:10px;  height:10px; border:1px solid {{{boxcolor|black}}}; background: transparent; padding-left:5px;"></td>

Revision as of 07:44, 2 December 2014

Usage:
rating = Min 1, Max 10

{{BoxBar
| rating =
| boxcolor =
| cellcolor =
|}}