Difference between revisions of "Template:Colorbox"

From Earlham CS Department
Jump to navigation Jump to search
 
Line 1: Line 1:
<span style="color:{{{1|black}}}; font-size:{{{size|100}}}%; line-height:initial;">{{#if:{{{2|}}}|{{#if:{{{3|}}}|[[{{{3}}}|{{#switch:{{lc:{{{2}}}}}
+
<span style="background-color:{{{1|}}}; color:{{{3|}}}; border:1px solid {{{border|#000000}}}; text-align:center;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>
  | c|circle|r|round = ?
+
{{documentation}}
  | d|diamond = ?
+
</noinclude>
  | tu|up|uptriangle = ?
 
  | td|dn|downtriangle = ?
 
  | tl|lt|lefttriangle = ?
 
  | tr|rt|righttriangle = ?
 
  | #default = ?
 
}}]]|{{#switch:{{lc:{{{2}}}}}
 
  | c|circle|r|round = ?
 
  | d|diamond = ?
 
  | tu|up|uptriangle = ?
 
  | td|dn|downtriangle = ?
 
  | tl|lt|lefttriangle = ?
 
  | tr|rt|righttriangle = ?
 
  | #default = ?
 
}}}}|?}}</span>
 

Latest revision as of 12:14, 18 December 2015

{{#if:| {{{2}}} |    }} Template:Documentation