Difference between revisions of "Template:TeamHeader"

From Sugar Labs
Jump to navigation Jump to search
Line 9: Line 9:
 
'''[[{{{1}}}/{{{meeting_link|Meetings}}}|{{{meeting_label|Meetings}}}]]'''
 
'''[[{{{1}}}/{{{meeting_link|Meetings}}}|{{{meeting_label|Meetings}}}]]'''
 
</div>
 
</div>
</center>
+
</center><noinclude>__NOTOC__
 +
==Purpose==
 +
 
 +
* Provide a common navigation header for [[:Category:Team]], [[:Category:Project]], or [[:Category:Local Lab]] pages.
 +
* Add color and distinguish the categories by adjusting the header backgroud, ''xbgColor''.
 +
 
 +
==Usage==
 +
 
 +
Usually at the top of the page, enter, minimally <code><nowiki>{{TeamHeader|<home page name>}}</nowiki></code>, such as, <code><nowiki>{{TeamHeader|Wiki Team}}</nowiki></code> to produce the following:{{TeamHeader|Wiki Team}}
 +
 
 +
===Options===
 +
====xbgColor====
 +
The ''xbgColor'' parameter controls the header's background color.
 +
* The default, a0ff93, designates [[:Category:Team]] pages,
 +
* ffe792 is used for [[:Category:Project]] pages, and
 +
* ffb673 is used for [[:Category:Local Lab]] pages.
 +
====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}}
 +
====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}}
 +
====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}}}}
 +
 
 +
 
 +
 
 +
[[Category:Page Tagging Template]]
 +
</noinclude>

Revision as of 15:26, 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=Sugar on a Stick Project Home}} to remove the ' Home' in 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|Wiki Team|join_label=Getting 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}}}} (where {{Upcoming Stable Release}} is another template retuning the 'upcoming stable release' version number) to produce the following: