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><noinclude>__NOTOC__
+
</center><noinclude>{{TOCright}}
 
==Purpose==
 
==Purpose==
  
Line 22: Line 22:
 
====xbgColor====
 
====xbgColor====
 
The ''xbgColor'' parameter controls the header's background color.
 
The ''xbgColor'' parameter controls the header's background color.
* The default, a0ff93, designates [[:Category:Team]] pages,
+
* a0ff93, designates [[:Category:Team]] pages (default),
 
* ffe792 is used for [[:Category:Project]] pages, and
 
* ffe792 is used for [[:Category:Project]] pages, and
* ffb673 is used for [[:Category:Local Lab]] pages.
+
* ffb673 is used for [[:Category:Local Lab]] pages, for example <code><nowiki>{{TeamHeader|Sugar Labs DC|xbgColor=ffb673}}</nowiki></code> produces the following:
 +
{{TeamHeader|Sugar Labs DC|xbgColor=ffb673}}
 
====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|xbgColor=ffe792}}</nowiki></code> to change 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=Sugar on a Stick Project Home|xbgColor=ffe792}}</nowiki></code> to change the label, to produce the following:{{TeamHeader|Sugar on a Stick|home=Sugar on a Stick Project Home|xbgColor=ffe792}}
Line 30: Line 31:
 
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}}
 
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}}/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}}
+
The '''Roadmap''' link subpage 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}}
 +
====roadmap_label====
 +
The '''Roadmap''' subpage link label may be adjusted by, for example, <code><nowiki>{{TeamHeader|Design Team|roadmap_link=Design Team/Vision|roadmap_label=Vision}}</nowiki></code> to produce the following: {{TeamHeader|Design Team|roadmap_link=Design Team/Vision|roadmap_label=Vision}}
 +
====meeting_link, meeting_label====
 +
The '''Meetings''' link subpage URI and label may be adjusted from the defaults. For example, <code><nowiki>{{TeamHeader|Sugar Labs|home=Community Home|meeting_link=Events|meeting_label=Events Calendar}}</nowiki></code> to produce the following: {{TeamHeader|Sugar Labs|home=Community Home|meeting_link=Events|meeting_label=Events Calendar}}
  
  
 
+
[[Category:PageFlaggingTemplate]]
[[Category:Page Tagging Template]]
 
 
</noinclude>
 
</noinclude>

Revision as of 16:04, 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|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 link subpage 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:

roadmap_label

The Roadmap subpage link label may be adjusted by, for example, {{TeamHeader|Design Team|roadmap_link=Design Team/Vision|roadmap_label=Vision}} to produce the following:

meeting_link, meeting_label

The Meetings link subpage URI and label may be adjusted from the defaults. For example, {{TeamHeader|Sugar Labs|home=Community Home|meeting_link=Events|meeting_label=Events Calendar}} to produce the following: