User:Datumizer/Sandbox/Vertbox: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="infobox" style="font-size:100%;width:16em;padding:0em;text-align:left;"><div style="text-align:center;padding:0em;margin:0.15em;font-size:80%;">Part of a series on:</div>{{ |
<div class="infobox" style="font-size:100%;width:16em;padding:0em;text-align:left;"><div style="text-align:center;padding:0em;margin:0.15em;font-size:80%;">Part of a series on:</div>{{ |
||
#if:{{{image|}}}|<div style="text-align:center;padding:0.15em;margin:0.15em;">{{{image}}}</div>}}{{ |
#if:{{{image|}}}|<div style="text-align:center;padding:0.15em;margin:0.15em;">{{{image}}}</div>}}{{ |
||
#if:{{{title|}}}|<div style="font-weight:bold;background-color:#bbbbff;text-align:center;padding:0.15em;margin:0.15em;font-size: |
#if:{{{title|}}}|<div style="font-weight:bold;background-color:#bbbbff;text-align:center;padding:0.15em;margin:0.15em;font-size:100%;">{{{title}}}</div>}}{{ |
||
#if:{{{ list1|}}}|{{#if:{{{ group1|}}}|<div class="NavFrame {{{state|collapsed}}}" style="border:none;padding:0em;margin:0.15em;font-size:100%;"><div class="NavHead">{{{ group1}}}</div>}}<div class="NavContent" style="text-align:left;display:{{{display|block}};"> |
#if:{{{ list1|}}}|{{#if:{{{ group1|}}}|<div class="NavFrame {{{state|collapsed}}}" style="border:none;padding:0em;margin:0.15em;font-size:100%;"><div class="NavHead">{{{ group1}}}</div>}}<div class="NavContent" style="text-align:left;display:{{{display|block}};"> |
||
{{{ list1}}}</div></div>{{ |
{{{ list1}}}</div></div>{{ |
Revision as of 15:17, 21 February 2009
Part of a series on:
Parameters
Part of a series on:
Video games
General
Genres
The navbox uses lowercase parameter names. The mandatory name and title will create a one-line box if other parameters are omitted. Notice "group1" (etc.) is optional.
The basic and most common parameters are as follows:
name
— the name of the template.title
— text in the title bar, such as: [[Widget stuff]].state
— the status of box expansion, where "autocollapse" hides stacked navboxes automatically. Can beautocollapse
,uncollapsed
orcollapsed
. The default iscollapsed
.focus
— forces the group with the same number to have anuncollapsed
state while leaving the other groups alone.bgcolor
— the background color of header cells.image
— an optional top-side image (coded as the whole image tag: [[Image:XX.jpg|90px]] ).groupn
— the top-side text before list-n.listn
— text listing wikilinks, often separated by bullets.
Subgroups
Part of a series on:
General
Info
Lists
You can create subgroups of items that behave much like the main groups. You do this by using {{User:SharkD/Sandbox/Vertbox subgroup}} within the listn
items. The syntax is more or less the same, except that there are much fewer parameters.