Difference between revisions of "Template:Composition bar/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(tweaking tests to reflect new default width=100%)
imported>Matt Fitzpatrick
(adjusting test parameters)
 
Line 2: Line 2:
  
 
{{Testcase table|_showcode=yes|50|100|red}}
 
{{Testcase table|_showcode=yes|50|100|red}}
{{Testcase table|_showcode=yes|50|100|color=#FF3|text-shadow=#066|border-color=#606|per=1}}
+
{{Testcase table|_showcode=yes|50|100|color=#FF3|border-color=#606|per=1}}
{{Testcase table|_showcode=yes|50|100|#9999FF|width=50%}}
+
{{Testcase table|_showcode=yes|50|100|#9999FF|background-color=#DDD|border=none|width=85%}}
 
{{Testcase table|_showcode=yes|50|100|{{Green Party (UK)/meta/color}}}}
 
{{Testcase table|_showcode=yes|50|100|{{Green Party (UK)/meta/color}}}}
 
<div style="position: absolute; margin-top: 100px; z-index: -1">[[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]]</div>
 
<div style="position: absolute; margin-top: 100px; z-index: -1">[[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]]</div>
{{Testcase table|_showcode=yes|50|100|rgba(0,255,255,0.8)|background-color=rgba(0,255,255,0.4)}}
+
{{Testcase table|_showcode=yes|50|100|rgba(0,255,255,0.8)|background-color=rgba(0,255,255,0.4)|border=none}}
 
<div style="position: absolute; margin-top: 100px; z-index: -1">[[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]]</div>
 
<div style="position: absolute; margin-top: 100px; z-index: -1">[[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]][[File:Ballot Box Silhouette.svg|100px|link=|alt=]]</div>
 
{{Testcase table|_showcode=yes|75|100|#FF0|background-color=transparent|border-color=#333}}
 
{{Testcase table|_showcode=yes|75|100|#FF0|background-color=transparent|border-color=#333}}
 
{{Testcase table|_showcode=yes|90|100|#F00|per=1}}
 
{{Testcase table|_showcode=yes|90|100|#F00|per=1}}
 
{{Testcase table|_showcode=yes|1|1024|#F00|per=1}}
 
{{Testcase table|_showcode=yes|1|1024|#F00|per=1}}
 
* This is a test to use the live template inline that should work {{Composition bar|100|100|#008000|width=auto|per=1}} of the time, as that would be ideal.
 
* This is a test to use the sandbox version inline that should work {{Composition bar/sandbox|100|100|#008000|width=auto|per=1}} of the time, as that would be ideal.
 

Latest revision as of 06:50, 25 February 2017

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

100px100px100px100px

Template:Testcase table

100px100px100px100px

Template:Testcase table Template:Testcase table Template:Testcase table