Template:Created with/layout: Difference between revisions
Template page
More actions
use dir parser function in one more place |
Fulfilling edit request by Mikhail Ryazanov. |
||
| Line 5: | Line 5: | ||
-->{{#if:{{{text|}}}|{{lang|{{{lang|{{int:lang}}}}}|{{{text}}}}}|empty}}<!-- | -->{{#if:{{{text|}}}|{{lang|{{{lang|{{int:lang}}}}}|{{{text}}}}}|empty}}<!-- | ||
-->{{#if:{{{more|}}}|{{{more}}}}}<!-- | -->{{#if:{{{more|}}}|{{{more}}}}}<!-- | ||
-->|style=display: | -->|style=display:table;width:{{{width|auto}}};vertical-align:middle;<!-- | ||
-->direction:{{#dir:{{{lang|{{int:lang}}}}}}};float:{{#ifeq:{{#dir:{{{lang|{{int:lang}}}}}}}|rtl|right|left}}<!-- }} | -->direction:{{#dir:{{{lang|{{int:lang}}}}}}};float:{{#ifeq:{{#dir:{{{lang|{{int:lang}}}}}}}|rtl|right|left}}<!-- }} | ||
-->;line-height:{{{h|2}}}2px;height:{{{h|2}}}4px;font-size:.96em;<!-- modify these attributes: | -->;line-height:{{{h|2}}}2px;height:{{{h|2}}}4px;font-size:.96em;<!-- modify these attributes: | ||
-->margin:0px;padding:2px 4px 2px 6px;color:var(--color-base,#000);background:var(--background-color-neutral-subtle,#F8F9FA);border:1px solid #BAB;<!-- | -->margin:0px;padding:2px 4px 2px 6px;color:var(--color-base,#000);background:var(--background-color-neutral-subtle,#F8F9FA);border:1px solid #BAB;border-collapse:separate;border-spacing:0px;<!-- | ||
-->{{{style|}}}<!-- class=createdwithtemplate;layouttemplate -->}}<noinclude> | -->{{{style|}}}<!-- class=createdwithtemplate;layouttemplate -->}}<noinclude> | ||
{{Documentation|{{ifsandbox|doc}}}} | {{Documentation|{{ifsandbox|doc}}}} | ||
</noinclude> | </noinclude> | ||