Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Created with/layout: Difference between revisions

Template page
first version
 
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
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#tag:span|{{#switch:{{{logo|}}}|-|=|#default=<!--
{{#tag:div|{{#switch:{{{logo|-}}}|-|=|#default=<!-- when there is a logo, it can be a file - or a Unicode codepoint
-->[[File:{{{logo}}}|{{#if:{{{iconsize|}}}|{{{iconsize}}}|33x22px}}<!-- |link= -->]]&nbsp; }}<!--
  -->{{#if:{{#switch:{{padleft:|2|{{{logo}}}}}|U+|&#=1}}{{#switch:{{{iconsize|}}}|0|-|=|1}}<!-
-->{{#if:{{{text|}}}|{{{text}}}|empty}}<!--  
-->|{{#invoke:Logoform|format|{{{logo}}}|{{#switch:{{{iconsize|}}}|0|-|=0|{{{iconsize}}}}}|{{{ustyle|-}}}}}<!--
-->{{#if:{{{more|}}}|{{{more}}}}}<!--   1.2em, .85em
-->|[[File:{{{logo}}}|33x22px]]}} }}&nbsp;<!--
-->|style=display:inline-block;width:auto;white-space:nowrap;line-height:22px;vertical-align:middle;font-size:12px;<!--
-->{{{text|empty}}}<!--
-->margin:1px;padding:2px 3px 2px 6px;color:#000;background:#F8F9FA;border:1px solid #BAB;<!--
-->{{#if:{{{more|}}}|{{{more}}}}}<!--
-->float:{{#invoke:Dir|main|{{{lang|{{int:lang}}}}}|left|right}};{{{style|}}}<!--  
-->|{{#if:{{{text|}}}|lang={{#bcp47:{{{lang|{{USERLANGUAGE}}}}}}}|}}<!--
--> class=createdwithtemplate;layouttemplate;mw-content-{{dir|{{int:lang}}}}}}<noinclude>
-->|{{#if:{{{text|}}}|dir={{#dir:{{{lang|{{USERLANGUAGE}}}}}}}|}}<!--
{{documentation}}
-->|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:
-->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>
{{Documentation|{{ifsandbox|doc}}}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.