Difference between revisions of "Template:Tracker kite"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) |
Kevin Wang (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:bgcolor|{{#if:{{{active|}}}|#f77|{{#if:{{{light|}}}|#eee|#ddd}}}}}}{{#vardefine:color|{{#if:{{{active|}}}|black|black}}}}{{#vardefine:vertical_offset|{{#expr:{{{lines|1}}}*-11}}}}<div style="display:flex; flex-direction:row; max-height:80px; color: {{#var:color}};"><div style="{{{style|}}}border-left: 12px solid transparent; border-top: 40px solid {{#var:bgcolor}}; border-bottom: 40px solid {{#var:bgcolor}};"><div style="height: 0; position: relative; top: {{#var:vertical_offset}}px; padding: 0 10px; white-space: nowrap;">{{{1|}}}</div></div><div style="width:0; height:0; border-top: 40px solid transparent; border-bottom: 40px solid transparent; border-left: 12px solid {{#var:bgcolor}};"> | + | <includeonly>{{#vardefine:bgcolor|{{#if:{{{active|}}}|#f77|{{#if:{{{light|}}}|#eee|#ddd}}}}}}{{#vardefine:color|{{#if:{{{active|}}}|black|black}}}}{{#vardefine:vertical_offset|{{#expr:{{{lines|1}}}*-11}}}}<div style="display:flex; flex-direction:row; max-height:80px; color: {{#var:color}};"><div style="{{{style|}}}border-left: 12px solid transparent; border-top: 40px solid {{#var:bgcolor}}; border-bottom: 40px solid {{#var:bgcolor}};"><div style="height: 0; position: relative; top: {{#var:vertical_offset}}px; padding: 0 {{#if:{{{narrow|}}}|0|10px}}; white-space: nowrap;">{{{1|}}}</div></div><div style="width:0; height:0; border-top: 40px solid transparent; border-bottom: 40px solid transparent; border-left: 12px solid {{#var:bgcolor}};"> |
</div></div></includeonly><noinclude> | </div></div></includeonly><noinclude> | ||
Inspired by the Domino's pizza tracker. | Inspired by the Domino's pizza tracker. | ||
Line 10: | Line 10: | ||
{{Getting Started tracker kite|Active|active=yes}} | {{Getting Started tracker kite|Active|active=yes}} | ||
{{Getting Started tracker kite|Light|light=yes}} | {{Getting Started tracker kite|Light|light=yes}} | ||
+ | {{Getting Started tracker kite|narrow=yes}} | ||
{{Getting Started tracker kite|Multiple<br/>Lines<br/>(don't exceed 3)|lines=3}} | {{Getting Started tracker kite|Multiple<br/>Lines<br/>(don't exceed 3)|lines=3}} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 22:50, 10 September 2022
Inspired by the Domino's pizza tracker.
A long string of text spanning 54 characters in length
Bold
Active
Light
Multiple
Lines
(don't exceed 3)
Lines
(don't exceed 3)