Difference between revisions of "Template:Tracker kite"

From QBWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#vardefine:color|{{#if:{{{active|}}}|pink|#ddd}}}}<div style="display:flex; flex-direction:row; max-height:80px;"><div style="{{{style|}}}border-left: 12px soli...")
 
m
Line 1: Line 1:
<includeonly>{{#vardefine:color|{{#if:{{{active|}}}|pink|#ddd}}}}<div style="display:flex; flex-direction:row; max-height:80px;"><div style="{{{style|}}}border-left: 12px solid transparent; border-top: 40px solid {{#var:color}}; border-bottom: 40px solid {{#var:color}};"><div style="height: 0; position: relative; top: -10px; 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:color}};">
+
<includeonly>{{#vardefine:bgcolor|{{#if:{{{active|}}}|#f77|#ddd}}}}{{#vardefine:color|{{#if:{{{active|}}}|black|black}}}}{{#vardefine:vertical_offset|{{#expr:{{{lines|1}}}*-10}}}}<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}};">
 
</div></div></includeonly><noinclude>
 
</div></div></includeonly><noinclude>
  
Line 9: Line 9:
 
{{Getting Started tracker kite|'''Bold'''}}
 
{{Getting Started tracker kite|'''Bold'''}}
 
{{Getting Started tracker kite|Active|active=yes}}
 
{{Getting Started tracker kite|Active|active=yes}}
 +
{{Getting Started tracker kite|Multiple<br/>Lines<br/>(don't exceed 3)|lines=3}}
 
</div>
 
</div>
 
</noinclude>
 
</noinclude>

Revision as of 22:43, 10 September 2022


A long string of text spanning 54 characters in length
Bold
Active
Multiple
Lines
(don't exceed 3)