Discovery Gaming Community
Faction Navbar - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Rules & Requests (https://discoverygc.com/forums/forumdisplay.php?fid=6)
+--- Forum: Site & Forum Feedback (https://discoverygc.com/forums/forumdisplay.php?fid=14)
+---- Forum: Discovery Wiki (https://discoverygc.com/forums/forumdisplay.php?fid=40)
+---- Thread: Faction Navbar (/showthread.php?tid=62282)

Pages: 1 2


Faction Navbar - Gemini893 - 06-28-2011

The template is called Factionnav and can be found HERE.

Variables:
  • faction - the name of your faction will become a category and be used in the header. (example: Outcast Militia)
  • affiliation - The NPC group your faction belongs to will become a category. (example: Outcasts)
  • category - sets your custom category for your pages that use this template. (example: RogueCharlie)
  • pages - specify the faction wiki pages on this line.
  • forum - specify the faction forum threads on this line.
  • label - specify the label for the third line of links. Leave blank and the default "See also" is displayed.
  • mypages - specify the links you wish displayed on the third line of links.
  • border - specify the color of the borders.
  • bgcolor - specify the background color for the header.
  • hdcolor - specify the font color of the header. (Leave blank for forum default color.)
  • labelbg - Background color of the label cells.
  • labelcolor - Font color of the label cells.
  • linkbg - Background color of the links.
  • linkcolor - Font color for non-link text.
  • image - specify the image using full link code.
    • Since you enter the full link code you can specify the size and other attributes for the image.
    • Leave blank and the image box will not appear.
  • header - options:
    • SERVER - will display "{faction} on Discovery GC 24/7 RP"
    • Leave blank - will display "{faction} Navbar". If no faction is specified it will simply say "Navbar".
    • Write your own text to be displayed in the header.
Usage
{{Factionnav
|category =
|faction =
|affiliation =
|image =
|border =
|bgcolor =
|hdcolor =
|labelbg =
|labelcolor =
|linkbg =
|linkcolor =
|header =
|label =
|pages =
|forum =
|mypages =
}}

See the template page for examples of results.

Notice that there are 3 color variables to use. Border is the color of the borders between the cells, bgcolor is the background color of the header cell, and hdcolor is the font color of the text in the header cell.

The labels for the first and second line of links are set as Wiki and Forum respectively but the label for the thrid line of links is set with the label variable.

Two of the variables are mostly used for setting categories for the page; category and affiliation. The faction variable sets a category for the faction as well but is also used in the header variable.

Questions? Comments?

EDIT: Added new variables to the list


Faction Navbar - Alley - 06-28-2011

Nice work, it looks really cool and useful.


Faction Navbar - r3vange - 06-29-2011

[color=#FFFFFF]Awesome mate!


Faction Navbar - Varok - 06-29-2011

Looks so sexy. I like it.
Great job.


Faction Navbar - Markus_Janus - 06-29-2011

This does look very nice, good work.
So if I send you info, will you do it for me?;)



Faction Navbar - Hell Hunter - 06-29-2011

The first example says 'Faction of disco GC' but its actually a USA one?
fail example:P
jk but ye looks good.


Faction Navbar - Blodo - 07-01-2011

Added to RHA wiki page for live example: http://discoverygc.com/wiki/index.php/Red_Hessian_Army


Faction Navbar - Gemini893 - 07-02-2011

' Wrote:The first example says 'Faction of disco GC' but its actually a USA one?
fail example:P
jk but ye looks good.
I did make it first for the DUSA wiki. I thought I caught all the code that needed conversion but I'll be happy to fix it if you find a mistake.

Thanks for the support everyone, much appreciated!

Markus, I could make a custom one with few to no variables for you but I'll be the first to admit there are guys out there that can make it much more beautiful than I can.


Faction Navbar - Mark_Brown - 07-02-2011

I love this! I've spoke on the discussion page on wiki:PAnswer pl0x



Faction Navbar - Jaman45 - 07-02-2011

Your even bringing your pro Wiki skills here too eh?