User:Musha/Tabs

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


Usage notes:

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

| TabName1=
| TabImage1=
| Backcolor1=
| Bordercolor1=
| active1={{{active1|}}}

| TabName2=
| TabImage2=
| Backcolor2=
| Bordercolor2=
| active2={{{active2|}}}

| TabName3=
| TabImage3=
| Backcolor3=
| Bordercolor3=
| active3={{{active3|}}}

| TabName4=
| TabImage4=
| Backcolor4=
| Bordercolor4=
| active4={{{active4|}}}

| TabName5=
| TabImage5=
| Backcolor5=
| Bordercolor5=
| active5={{{active5|}}}

| TabName6=
| TabImage6=
| Backcolor6=
| Bordercolor6=
| active6={{{active6|}}}

| TabName7=
| TabImage7=
| Backcolor7=
| Bordercolor7=
| active7={{{active7|}}}

| TabName8=
| TabImage8=
| Backcolor8=
| Bordercolor8=
| active8={{{active8|}}}

| TabName9=
| TabImage9=
| Backcolor9=
| Bordercolor9=
| active9={{{active9|}}}

| TabName10=
| TabImage10=
| Backcolor10=
| Bordercolor10=
| active10={{{active10|}}}

| TabName11=
| TabImage11=
| Backcolor11=
| Bordercolor11=
| active11={{{active11|}}}

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- for character tabs, type the name of the profession.
Backcolor will set the background color for each tab- format for this should be {{w-color|light}}. 
Bordercolor will set the border color for each tab- format for this should be {{w-color|dark}}. 
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/Navigation.

If you wish to have more or less tabs, copy this code to your own page, delete all extra tab information or copy the tab information to create more, remembering to
change the numbers to the subsequent numbers for those tabs, and then change the style="width:9%" to 100 divided by the number of tabs you have (round down).