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
(no title should be displayed if no title is given)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|start}}}}}
<onlyinclude><includeonly>{{Box|{{{float|right}}}|style={{{style|clear:{{{float|right}}};}}}|width=258px|title={{{title|}}}|
|start=
  {{Scroll|height={{{height|{{#expr: 48 * {{{num|5}}} - 1}}px}}}|
{{(!}} class="infobox" cellpadding="4" style="float: left; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; width: 100px; overflow: auto;"
    {{{1|This user has a Userbox Container with no Userboxes in it...?}}}
{{!-}}
  }}
!class="title"{{!}}{{{2}|}}}
}}</includeonly></onlyinclude>
{{!-}}
 
{{!}}
|end=
{{!)}}}}<noinclude>
==Purpose==
==Purpose==
This template creates a container in which to hold userboxes.
This template creates a container in which to hold {{Temlink|Userbox|Userboxes}}.


==Usage==
==Usage==
<pre>{{Userbox Container|Start|Name}}
<pre>{{Userbox Container|float=right|title=About Me|num=5}}
  Userbox Templates
  Userbox Templates
{{Userbox Container|End}}
}}
</pre>
</pre>
{{Usage/Param|float|set where to float the container|optional|right}}
{{Usage/Param|title|name of the container|optional|About [your username]}}
{{Usage/Param|num|number of userboxes to show at once|optional|5}}
{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}
</noinclude>
{{Cat|Box Templates}}
{{Cat|Userbox Templates}}

Latest revision as of 23:45, March 2, 2013


Purpose

This template creates a container in which to hold {{Userboxes}}.

Usage

{{Userbox Container|float=right|title=About Me|num=5}}
  Userbox Templates
}}
  • float — set where to float the container (Optional. Default: right)
  • title — name of the container (Optional. Default: About [your username])
  • num — number of userboxes to show at once (Optional. Default: 5)