Template:Userbox Container: Difference between revisions

From Zelda Dungeon Wiki
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: left; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; width: 100px;"
{{(!}} 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|}}}}}
{{!-}}
{{!-}}
!class="title"{{!}}{{{2|}}}
{{!}}<div style="overflow: auto; width: {{{w|265}}}px; height: {{{h|145}}px;">
{{!-}}
{{!}}<div style="overflow: auto; width: 265px; height: 145px;">
|end=
|end=
</div>
</div>
Line 13: Line 13:


==Usage==
==Usage==
<pre>{{Userbox Container|Start|Name}}
<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>

Revision as of 03:09, February 4, 2013

Purpose

This template creates a container in which to hold userboxes.

Usage

{{Userbox Container|Start|name=|h=|float=}}
   Userbox Templates
{{Userbox Container|End}}
  • name — name of the container (Optional.)
  • h — height of the scroll bar in the container in pixels (Optional. Default: 145)
  • float — set where to float the container (Optional. Default: right)