User:SilentStorm/TalkHeader

From Guild Wars Wiki
Jump to navigationJump to search


Description[edit]

General Talk Page Header to be used on User's Talk Pages.

Should you have any Questions / Tips / Problems feel free to post them on My talkpage.

In order for this Template to work as intended there are some Requirements as listed below.

Requirements[edit]

  • You must archive your Talk Page to Subpages of User_talk:(Your Username)/Archives for example a valid Archiv would be located at User_talk:(Your Username)/Archives/Dec 2008
  • You have to name the Archive Page how it should appear in the Archive Box. Ie. you should not just archive it to User_talk:(Your Username)/Archives/Archiv1 as it will then show up as Archive1 which is not really helpful.
  • You should create User_talk:(Your Username)/Archives where you list all of your Archives (this can be done automatically using DPL of course) since only the latest 5 will be listed in the ArchiveBox on your Talkpage.

Available Parameters[edit]

Note: Every Parameter has a default Value, so they are all Optional (meaning you don't have to specify them if you are happy with the defaults).

NCwidth
Width of the Add new Section Bar at the Top
NCCaption
Caption of the Add new Section Bar.
bg
Background Color of all Objects
bg2
Background Color of the Calender Center Field and the ArchiveBox
TOCbg
Background Color for the Content Box. Defaults to #FFFFFF
border
Bordercolor for all Objects
txt1
Color for all Text
txt2
Color for the Center Calender Field
txt3
Color for the Archive Listing
TOCStyle
Additional CSS-Styledefinitions for the Content Box. Defaults to min-width:150px;
ArchiveCount
Number of Archives to be listed. Defaults to 5
UTCOffsett
Difference of your Local Time from UTC. (ie. +1 or -10)
LocalTimeZone
Name of your Local Time Zone. (ie. CET or PST)
NoSection
if Specified the Add a new Section Bar at the Top will be hidden.
NoCalender
if Specified the Calender will be hidden.
NoContent
If Specified the Content Box will be hidden.
NoArchive
If Specified the Archive Box will be hidden.

Usage[edit]

There are two Ways of using this Template which are described below.

If a Parameter is given that Parameter will be used regardless of possible Entries in your Colorscheme.

Parameter > Colorscheme > Default Value.

Using a Colorscheme[edit]

Just add {{:User:SilentStorm/TalkHeader}} at the Top of your Talkpage. The Colors will then be read from User:(Your Username)/color. Make sure you have such a Page and its returning the ColorCodes in the Correct manner. Note that only the Parameters affecting Colors are read from this Page. Should you want to use other Parameters such as NCwidth or NCCaption you still have to pass them as Parameters.

Using Parameters[edit]

Just add the Following Code at the Top of your Talkpage changing the Colors to your liking.

{{:User:SilentStorm/TalkHeader
|NCwidth = 50%
|NCCaption = '''Click here to leave a Message'''
|bg = #FF0000
|bg2 = #000000
|border = #00FF00
|txt1 = #0000FF
|txt2 = #FFFF00
|txt3 = #00FFFF
|UTCOffset = -8
|LocalTimeZone = PST
}}

above Example will lead to the following:

Wednesday
December

25

2024
06:50 UTC
( 22:50 PST )



Credits[edit]

Thanks to[edit]

  • Poke for answering some Questions during Creation