Difference between revisions of "Template:PandaBar"

From PRIMUS Database
Jump to: navigation, search
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="min-width:101px; display:inline-block; border:1px solid {{{boxcolor|black}}};background:white; padding:1px; float:{{{float|right}}};">
+
<div style="width:{{{rating|1}}}0px; max-width:100px; height:12px; overflow:hidden; border-right:1px solid {{{boxcolor|black}}};">  
<div style="width:{{{rating|1}}}0px; max-width:100px; height:12px; overflow:hidden; border-right:0px solid {{{boxcolor|black}}};">  
+
 
<table style="border-collapse:collapse;">
 
<table style="border-collapse:collapse;">
 
<tr>
 
<tr>
Line 16: Line 15:
 
</tr>
 
</tr>
 
</table>
 
</table>
</div></div>
+
</div>
 
<noinclude>
 
<noinclude>
 +
{{PandaBar | rating = 10 |}}
 
'''Usage:'''<br>
 
'''Usage:'''<br>
 
rating = Min 1, Max 10 (default 1)<br>
 
rating = Min 1, Max 10 (default 1)<br>
Line 23: Line 23:
 
boxcolor = the color of the surrounding grid elements
 
boxcolor = the color of the surrounding grid elements
 
<pre>
 
<pre>
{{Bar10
+
{{PandaBar
 
| rating =
 
| rating =
 
| float =
 
| float =

Revision as of 23:47, 22 January 2020


Usage:
rating = Min 1, Max 10 (default 1)
float = left or right (default right)
boxcolor = the color of the surrounding grid elements

{{PandaBar
| rating =
| float =
| boxcolor =
|}}