User:Jake01756/Template:usernavtop
(Redirected from User:Jake01756/Template:usernav)
This template is still very much a draft. There are still multiple issues with it that I am currently working on fixing. I am trying to create a dynamic usernav box that can be filled with buttons and will dynamically shrink and grow. It is more of a pet project that I am slowly working on, or trying to at least.
UserNavBox Usage
editThe UserNavBox template consists of
- title - the title of the navbox
- buttons
- width - the width of the navbox
UserNavBox Alignment
editFor a... | Set values margin-left and margin-right to...
|
---|---|
Left-aligned table | Set margin-left to none and margin-right to auto .
|
Center-aligned table | Set both values to auto . Note that the box will not float and there will be no text beside it.
|
Right-aligned table | Set margin-left to auto and margin-right to none .
|
- margin-left - controls left margin. Possible values:
auto
ornone
. - margin-right - controls right margin. Possible values:
auto
ornone
.
Note that the alignment will default to left.
}}