మూస:Legend inline: కూర్పుల మధ్య తేడాలు

వికీపీడియా నుండి
Jump to navigation Jump to search
Copied improvements I made to Template:Legend, mainly the automatic color contrast optimization
చి →‎top: AWB తో మూస వర్గాన్ని చేరుస్తున్నాం
పంక్తి 1: పంక్తి 1:
<includeonly><span style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; background-color:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span style="font-size:95%;">{{{text}}}</span>|&nbsp;}}</span>&nbsp;{{{2|}}}</includeonly><noinclude>
<includeonly><!--
{{documentation}}
--><templatestyles src="Legend/styles.css" /><!--
</noinclude>
--><span class="legend"><span class="legend-color" style="<!--
<noinclude>
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!--
[[వర్గం:అంతర్వికీ లింకుల్లేని మూసలు]]
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!--
</noinclude>
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}} <!--
-->{{#if:{{{size|}}}|font-size:{{{size}}};}}<!--
-->">{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span><!--
-->&nbsp;{{{2|}}}</span><!--
--></includeonly><noinclude>{{documentation}}</noinclude>

16:09, 25 జనవరి 2021 నాటి కూర్పు

"https://te.wikipedia.org/w/index.php?title=మూస:Legend_inline&oldid=3112948" నుండి వెలికితీశారు