Template:Userbox Container: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1|start}}}}} | <includeonly>{{#switch:{{lc:{{{1|start}}}}} | ||
|start= | |start= | ||
{{(!}} class="infobox" cellpadding="4" style="float: | {{(!}} class="infobox" cellpadding="4" style="float: {{{float|right}}}; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; width: 100px;" | ||
{{!-}}{{#if:{{{name|}}}| | |||
!class="title"{{!}}{{{name|}}}}} | |||
{{!-}} | {{!-}} | ||
{{!}}<div style="overflow: auto; width: {{{w|265}}}px; height: {{{h|145}}px;"> | |||
{{!}}<div style="overflow: auto; width: | |||
|end= | |end= | ||
</div> | </div> | ||
Line 13: | Line 13: | ||
==Usage== | ==Usage== | ||
<pre>{{Userbox Container|Start| | <pre>{{Userbox Container|Start|name=|h=|float=}} | ||
Userbox Templates | Userbox Templates | ||
{{Userbox Container|End}} | {{Userbox Container|End}} | ||
</pre> | </pre> | ||
{{Usage/Param|name|name of the container|Optional}} | |||
{{Usage/Param|h|height of the scroll bar in the container in pixels|Optional|145}} | |||
{{Usage/Param|float|set where to float the container|Optional|right}} | |||
{{Cat|Formatting Templates}} | {{Cat|Formatting Templates}} | ||
</noinclude> | </noinclude> |