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

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
m (width/transparency)
imported>Matt Fitzpatrick
(tweaking tests to reflect new default width=100%)
Line 3: Line 3:
 
{{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|text-shadow=#066|border-color=#606|per=1}}
{{Testcase table|_showcode=yes|50|100|#9999FF|width=20em}}
+
{{Testcase table|_showcode=yes|50|100|#9999FF|width=50%}}
 
{{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)|width=12em}}
+
{{Testcase table|_showcode=yes|50|100|rgba(0,255,255,0.8)|background-color=rgba(0,255,255,0.4)}}
 
<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|width=12em}}
+
{{Testcase table|_showcode=yes|75|100|#FF0|background-color=transparent|border-color=#333}}
{{Testcase table|_showcode=yes|90|100|#F00|width=20em|per=1}}
+
{{Testcase table|_showcode=yes|90|100|#F00|per=1}}
{{Testcase table|_showcode=yes|1|1024|#F00|width=20em|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|per=1}} of the time, as that would be ideal.
+
* 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|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.

Revision as of 05:01, 23 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

  • This is a test to use the live template inline that should work
    100 / 100 (Expression error: Unrecognized punctuation character "[".%)
    <div style="background-color:
  1. 008000; width: Expression error: Unrecognized punctuation character "[".%; height: 100%;"> of the time, as that would be ideal.
  • This is a test to use the sandbox version inline that should work
    100 / 100 (Expression error: Unrecognized punctuation character "[".%)
    <div style="background-color:
  1. 008000; width: Expression error: Unrecognized punctuation character "[".%; height: 100%;"> of the time, as that would be ideal.