Template:Unichar: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported: Wikipedia article on Nicotine templates needed)
(Use Module:String|endswith instead of str rightc)
Line 6: Line 6:
| image ={{{image|}}}
| image ={{{image|}}}
| cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} ||   }} }}
| cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} ||   }} }}
| size  ={{#if:{{{image|}}} | {{#ifeq:{{Str rightc|{{lc:{{{size|}}}}}|2}} | px | {{{size}}} | 10px}} | {{{size|{{#if:{{{cwith}}}|125%|150%}}}}} }}
| size  ={{#if:{{{image|}}} | {{#if:{{#invoke:String|endswith|1={{lc:{{{size|}}}}}|2=px}}|{{{size}}}|10px}} | {{{size|{{#if:{{{cwith}}}|125%|150%}}}}} }}
| use  ={{lc:{{{use|unicode}}}}}
| use  ={{lc:{{{use|unicode}}}}}
| use2  ={{{use2|}}}
| use2  ={{{use2|}}}

Revision as of 10:24, 9 April 2021