Difference between revisions of "Template:TeamHeader"

From Sugar Labs
Jump to navigation Jump to search
(preliminary bugsquad header)
m (update category)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| style="font-size: 0.85em; border: 1; width: 100%; background-color: #f1f1ed; font-weight: bold;"
+
<center><div class="linkgroup" style="background-color:#{{{xbgColor|a0ff93}}}; border:1px solid #cdf; padding:0px; align:center;font-size:100%">
| [[BugSquad|Home]]
+
'''[[{{{1}}}|{{{home|Team Home}}}]]'''      &nbsp; &middot; &nbsp;
| [[BugSquad/TODO|To Do List]]
+
'''[[{{{1}}}/Getting Involved|{{{join_label|Join}}}]]'''      &nbsp; &middot; &nbsp;
| [[BugSquad/GettingInvolved|Getting Involved]]
+
'''[[{{{1}}}/Contacts|Contacts]]'''      &nbsp; &middot; &nbsp;
| [[BugSquad/KnowledgeBase|Knowledge Base]]
+
'''[[{{{1}}}/Resources|Resources]]'''      &nbsp; &middot; &nbsp;
| [[BugSquad/FAQ|FAQ]]
+
'''[[{{{1}}}/FAQ|FAQ]]'''        &nbsp; &middot; &nbsp;
| [[BugSquad/Contacts|Contacts]]
+
'''[[{{{roadmap_link|{{{1}}}/Roadmap}}}|{{{roadmap_label|Roadmap}}}]]'''        &nbsp; &middot; &nbsp;
|}
+
'''[[{{{1}}}/TODO|To Do]]'''        &nbsp; &middot; &nbsp;
 +
'''[[{{{1}}}/{{{meeting_link|Meetings}}}|{{{meeting_label|Meetings}}}]]'''
 +
</div>
 +
</center><noinclude>
  
 +
==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''.
  
{|<tablestyle="font-size: 0.85em; border: none; width: 100%; background-color: #f1f1ed; font-weight: bold;"> [:BugSquad:Home] || [:BugSquad/TODO:To Do List] || [:BugSquad/GettingInvolved:Getting Involved] || [:BugSquad/KnowledgeBase:Knowledge Base] || [:BugSquad/FAQ:FAQ] || [:BugSquad/Contacts:Contacts] ||<style="font-size: 0.80em; border: 2px; background-color: #cccccc;"> '''NEXT HUGDAY''':[[BR]] Tue 06 May ([:UbuntuBugDay: details]) |}
+
==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.
 +
* a0ff93, designates [[:Category:Team]] pages (default),
 +
* ffe792 is used for [[:Category:Project]] pages, and
 +
* 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====
 +
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}}
 +
====join_label====
 +
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====
 +
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:Page flagging template]]
 +
</noinclude>

Latest revision as of 14:36, 16 July 2011

[[{{{1}}}|Team 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

Usage

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

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

Options

xbgColor

The xbgColor parameter controls the header's background color.

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

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:

Sugar on a Stick Project Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

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:

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

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:

Team Home   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Vision   ·   To Do   ·   Meetings

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