User:Musha/MinisTabs

From Guild Wars Wiki
Jump to navigationJump to search
[[User:{{{Username}}}/|]]


Usage notes:

For best usage, use together with {{User:Musha/Templates/MiniCheck}}

{{User:Musha/MinisTabs
| Username=
| size=40px
| relativ-top=23

| TabName1=
| TabImage1=
| Backcolor1={{w-color|light}}
| Bordercolor1={{w-color|dark}}
| active1={{{active1|}}}

| TabName2=
| TabImage2=
| Backcolor2={{e-color|light}}
| Bordercolor2={{e-color|dark}}
| active2={{{active2|}}}

| TabName3=
| TabImage3=
| Backcolor3={{mo-color|light}}
| Bordercolor3={{mo-color|dark}}
| active3={{{active3|}}}

| TabName4=
| TabImage4=
| Backcolor4={{me-color|light}}
| Bordercolor4={{me-color|dark}}
| active4={{{active4|}}}

| TabName5=
| TabImage5=
| Backcolor5={{r-color|light}}
| Bordercolor5={{r-color|dark}}
| active5={{{active5|}}}

| TabName6=
| TabImage6=
| Backcolor6={{p-color|light}}
| Bordercolor6={{p-color|dark}}
| active6={{{active6|}}}
}}

Set Username to your GWW username- this will automatically create new pages for your tabs linked to your userspace. 
Set each TabName to the title of each tab- the pages that will automatically be created (linked to your userspace by Username) will share this title.
Set TabImage the name of the image (if any) you would like displayed on the tab.
Backcolor will set the background color for each tab- the colors listed in this usage area will match the template {{User:Musha/Templates/MiniCheck}}. 
Bordercolor will set the border color for each tab- the colors listed in this usage area will match the template {{User:Musha/Templates/MiniCheck}}. 
The active parameter will tell the tabs whether they are active and will contain info. It is suggested that you use the currently listed setting for these parameters.
Then, on each automatically created tab page (ie: User:Username/TabName1), link the tab page to the page using this template and set it to active1=true.
ie: The code on the page User:Username/TabName1 would look like this:
{{User:Username/Templatepage
| active1=true
|}
For an example, see User:Musha/Templates/Minis.