Template:Created with/layout: Difference between revisions
Template page
More actions
custom values aren't considered on Module:Dir, let's use the template |
fulfilling edit request by User:Derbeth – replace Template:lang (which adds an inappropriate "description" class) with direct lang= and dir= attributes (and also use {{USERLANGUAGE}} instead of {{int:lang}} while we’re at it, see T4085); previously tested on the sandbox at Special:Diff/1098484891 |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 3: | Line 3: | ||
-->|{{#invoke:Logoform|format|{{{logo}}}|{{#switch:{{{iconsize|}}}|0|-|=0|{{{iconsize}}}}}|{{{ustyle|-}}}}}<!-- | -->|{{#invoke:Logoform|format|{{{logo}}}|{{#switch:{{{iconsize|}}}|0|-|=0|{{{iconsize}}}}}|{{{ustyle|-}}}}}<!-- | ||
-->|[[File:{{{logo}}}|33x22px]]}} }} <!-- | -->|[[File:{{{logo}}}|33x22px]]}} }} <!-- | ||
--> | -->{{{text|empty}}}<!-- | ||
-->{{#if:{{{more|}}}|{{{more}}}}}<!-- | -->{{#if:{{{more|}}}|{{{more}}}}}<!-- | ||
-->| | -->|{{#if:{{{text|}}}|lang={{#bcp47:{{{lang|{{USERLANGUAGE}}}}}}}|}}<!-- | ||
--> | -->|{{#if:{{{text|}}}|dir={{#dir:{{{lang|{{USERLANGUAGE}}}}}}}|}}<!-- | ||
-->|style=display:table;width:{{{width|auto}}};vertical-align:middle;<!-- | |||
-->{{# | -->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:#000;background:#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 | -->{{{style|}}}<!-- class=createdwithtemplate;layouttemplate -->}}<noinclude> | ||
{{Documentation|{{ifsandbox|doc}}}} | {{Documentation|{{ifsandbox|doc}}}} | ||
</noinclude> | </noinclude> | ||