Difference between revisions of "Template:Cl"

From silvesti
Jump to: navigation, search
(Created page with "{{#ifeq:{{{2|}}}|t||:}}<span style="font-size:90%; display:inline-block; line-height:1em; border:1px solid {{{bc|gray}}}; color:{{{c|inherit}}}; background-color:{{#if: {{{bg|...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{2|}}}|t||:}}<span style="font-size:90%; display:inline-block; line-height:1em; border:1px solid {{{bc|gray}}}; color:{{{c|inherit}}}; background-color:{{#if: {{{bg|}}}
+
:{{c|1={{{1|}}}|sort={{{sort|}}}|bc={{{bc|gray}}}|c={{{c|}}}|bg={{{bg|}}}|title={{{title|}}}|style={{{style|}}}; position:absolute; top:.4em; left:-1.3em;}}<span style="position:absolute; left:-4000px;">:&#32;</span>
|{{{bg}}}
 
|{{#switch: {{{1}}}
 
|W|w|ebay =Yellow
 
|VA|va =PaleGreen
 
|VT|vt|␋ =LightGrey
 
|NY|ny =LightGrey
 
|#default =transparent
 
}}
 
}}; border-radius:.3em; height:1em; width:1em; text-align:center; {{#ifeq:{{{2|}}}|t|
 
|position:relative; top:.04em; left:-1em; margin:0 -.67em 0 0;}} {{#if:{{{title|}}}|cursor:help;}}" title="{{{title|{{#switch: {{{1|}}}
 
|C|c =Have someplace
 
|D|d =Delivered
 
|O|o =Ordered
 
|X|x =Don’t want
 
|NY|ny =Have at Camp
 
|VA|va =Have in Virginia
 
|VT|vt|␋ =Have in Vermont
 
|W|w| =Want
 
|#default =
 
}}}}}"><span style="display:inline-block; vertical-align:top; font-size:{{#ifexpr:{{#len:{{{1| }}}}}>1
 
|calc(160% / {{#len:{{{1}}}}})
 
|80%}};">{{#switch: {{{1}}}
 
|C|c =✓
 
|D|d =D
 
|O|o =O
 
|X|x =✗
 
|NY|ny =NY
 
|VA|va =VA
 
|VT|vt|␋ =VT
 
|W =W
 
|w =&nbsp;
 
|#default ={{{1|&nbsp;}}}
 
}}</span></span><noinclude>'w' or '&#32;' will return a no-break space, with w also making the bg-color yellow.</noinclude>
 

Latest revision as of 11:56, 12 June 2019

: