Jump to content

Template:TeamHeader: Difference between revisions

From Sugar Labs
No edit summary
No edit summary
Line 26: Line 26:
* ffb673 is used for [[:Category:Local Lab]] pages.
* ffb673 is used for [[:Category:Local Lab]] pages.
====home====
====home====
The home page link label defaults to the '''<home page name> Home''', but may be adjusted, such as, <code><nowiki>{{TeamHeader|Sugar on a Stick|home=Sugar on a Stick Project Home}}</nowiki></code> to remove the ' Home' in the label, to produce the following:{{TeamHeader|Sugar on a Stick|home=Sugar on a Stick Project Home|xbgColor=ffe792}}
The home page link label defaults to the '''<home page name> Home''', but may be adjusted, such as, <code><nowiki>{{TeamHeader|Sugar on a Stick|home={{{1}}} Project Home|xbgColor=ffe792}}</nowiki></code> to change the label, to produce the following:{{TeamHeader|Sugar on a Stick|home={{{1}}} Project Home|xbgColor=ffe792}}
====join_label====
====join_label====
The 'Getting Involved' subpage link label defaults to the verb '''Join'''; but may be adjusted, such as, <code><nowiki>{{TeamHeader|Wiki Team|join_label=Getting Involved}}</nowiki></code> to produce the following:{{TeamHeader|Wiki Team|join_label=Getting Involved}}
The 'Getting Involved' subpage link label defaults to the verb '''Join'''; but may be adjusted, such as, <code><nowiki>{{TeamHeader|Sugar on a Stick|home=Project Home|xbgColor=ffe792|join_label=Get Involved}}</nowiki></code> to produce the following:{{TeamHeader|Sugar on a Stick|home=Project Home|xbgColor=ffe792|join_label=Get Involved}}
====roadmap_link====
====roadmap_link====
The '''Roadmap''' subpage link page URI may be adjusted from that default by, for example, <code><nowiki>{{TeamHeader|Development Team|roadmap_link={{Upcoming Stable Release}}}}</nowiki></code> (where <code><nowiki>{{Upcoming Stable Release}}</nowiki></code> is another template retuning the 'upcoming stable release' version number) to produce the following:{{TeamHeader|Development Team|roadmap_link={{Upcoming Stable Release}}}}
The '''Roadmap''' subpage link page URI may be adjusted from that default by, for example, <code><nowiki>{{TeamHeader|Development Team|roadmap_link={{Upcoming Stable Release}}/Roadmap}}</nowiki></code> (where <code><nowiki>{{Upcoming Stable Release}}</nowiki></code> is another template retuning the 'upcoming stable release' version number) to produce the following:{{TeamHeader|Development Team|roadmap_link={{Upcoming Stable Release}}/Roadmap}}





Revision as of 15:35, 22 August 2009

Purpose

Usage

Usually at the top of the page, enter, minimally {{TeamHeader|<home page name>}}, such as, {{TeamHeader|Wiki Team}} to produce the following:

Options

xbgColor

The xbgColor parameter controls the header's background color.

home

The home page link label defaults to the <home page name> Home, but may be adjusted, such as, {{TeamHeader|Sugar on a Stick|home={{{1}}} Project Home|xbgColor=ffe792}} to change the label, to produce the following:

join_label

The 'Getting Involved' subpage link label defaults to the verb Join; but may be adjusted, such as, {{TeamHeader|Sugar on a Stick|home=Project Home|xbgColor=ffe792|join_label=Get Involved}} to produce the following:

roadmap_link

The Roadmap subpage link page URI may be adjusted from that default by, for example, {{TeamHeader|Development Team|roadmap_link={{Upcoming Stable Release}}/Roadmap}} (where {{Upcoming Stable Release}} is another template retuning the 'upcoming stable release' version number) to produce the following: