User:Datumizer/Sandbox/Vertbox: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
m K6ka moved page User:SharkD/Sandbox/Vertbox to User:Datumizer/Sandbox/Vertbox: Automatically moved page while renaming the user "SharkD" to "Datumizer" |
||
(5 intermediate revisions by 2 users not shown) | |||
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>{{ |
||
Line 42: | Line 42: | ||
#if:{{{list20|}}}|{{#if:{{{group20|}}}|<div class="NavFrame {{{state|collapsed}}}" " style="border:none;padding:0em;margin:0.15em;font-size:100%;"><div class="NavHead">{{{group20}}}</div>}}<div class="NavContent" style="text-align:left;display:{{{display|block}};"> |
#if:{{{list20|}}}|{{#if:{{{group20|}}}|<div class="NavFrame {{{state|collapsed}}}" " style="border:none;padding:0em;margin:0.15em;font-size:100%;"><div class="NavHead">{{{group20}}}</div>}}<div class="NavContent" style="text-align:left;display:{{{display|block}};"> |
||
{{{list20}}}</div></div>}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{ |
{{{list20}}}</div></div>}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{ |
||
#if:{{{name|}}}|<div style="margin:0.15em;">{{ |
#if:{{{name|}}}|<div style="margin:0.15em;">{{navbar|{{{name}}}|nodiv=1}}</div>}}</div><noinclude>{{documentation}}</noinclude> |
Latest revision as of 13:33, 15 August 2018
Part of a series on:
Parameters
[edit]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
[edit]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.