Difference between revisions of "Template:TeamHeader"
Line 1: | Line 1: | ||
− | <center><div style=" | + | <center><div style="background-color:#{{{xbgColor|a0ff93}}}; border:1px solid #cdf; padding:0px; align:center;font-size:100%"> |
'''[[{{{1}}}|{{{home|{{{1}}} Home}}}]]''' · | '''[[{{{1}}}|{{{home|{{{1}}} Home}}}]]''' · | ||
'''[[{{{1}}}/Getting Involved|{{{join_label|Join}}}]]''' · | '''[[{{{1}}}/Getting Involved|{{{join_label|Join}}}]]''' · | ||
Line 10: | Line 10: | ||
</div> | </div> | ||
</center><noinclude>{{TOCright}} | </center><noinclude>{{TOCright}} | ||
+ | |||
==Purpose== | ==Purpose== | ||
Revision as of 03:31, 9 May 2010
[[{{{1}}}|{{{1}}} Home]] · [[{{{1}}}/Getting Involved|Join]] · [[{{{1}}}/Contacts|Contacts]] · [[{{{1}}}/Resources|Resources]] · [[{{{1}}}/FAQ|FAQ]] · [[{{{1}}}/Roadmap|Roadmap]] · [[{{{1}}}/TODO|To Do]] · [[{{{1}}}/Meetings|Meetings]]
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 {{TeamHeader|<home page name>}}
, such as, {{TeamHeader|Wiki Team}}
to produce the following:
Options
xbgColor
The xbgColor parameter controls the header's background color.
- a0ff93, designates Category:Team pages (default),
- ffe792 is used for Category:Project pages, and
- ffb673 is used for Category:Local Lab pages, for example
{{TeamHeader|Sugar Labs DC|xbgColor=ffb673}}
produces the following:
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:
Project Home · Get Involved · Contacts · Resources · FAQ · Roadmap · To Do · Meetings
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:
Community Home · Join · Contacts · Resources · FAQ · Roadmap · To Do · Events Calendar