Template:Navbox or footer/doc

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search

A template T that transcludes this abstract template will be displayed as a navbox if T is called with an empty footer parameter; otherwise, it will be displayed as a footer.

This template supports 3 groups and 12 items per group.

{{Navbox or footer
 | name     = 
 | title    = 
 | footer  = {{{footer|}}}<!--Do not modify this line-->

 | group1   = 
 | list1_1  = 
 | list1_2  = 
 | list1_3  = 
 | list1_4  = 
 | list1_5  = 
 | list1_6  = 
 | list1_7  = 
 | list1_8  = 
 | list1_9  = 
 | list1_10 = 
 | list1_11 = 
 | list1_12 = 

 | group2   = 
 | list2_1  = 
 | list2_2  = 
 | list2_3  = 
 | list2_4  = 
 | list2_5  = 
 | list2_6  = 
 | list2_7  = 
 | list2_8  = 
 | list2_9  = 
 | list2_10 = 
 | list2_11 = 
 | list2_12 = 

 | group3   = 
 | list3_1  = 
 | list3_2  = 
 | list3_3  = 
 | list3_4  = 
 | list3_5  = 
 | list3_6  = 
 | list3_7  = 
 | list3_8  = 
 | list3_9  = 
 | list3_10 = 
 | list3_11 = 
 | list3_12 = 
}}

Example

{{Navbox or footer/doc/example}} contains the following code:

{{Navbox or footer
 | name     = Navbox or footer/doc/example
 | title    = [[List of National Basketball Association awards|National Basketball Association awards and honors]]
 | footer  = {{{footer|}}}

 | group1   = [[List of NBA champions|Championship]]
 | list1_1  = [[Larry O'Brien Championship Trophy|O'Brien Trophy]]
 | list1_2  = [[Walter A. Brown Trophy|Brown Trophy]] <small>(defunct)</small>

 | group2   = Individual awards
 | list2_1  = [[NBA All-Star Game Most Valuable Player Award|All-Star Game MVP]]
 | list2_2  = [[NBA Most Improved Player Award|Most Improved Player]]
 | list2_3  = [[Bill Russell NBA Finals Most Valuable Player Award|Bill Russell Finals MVP]]
 | list2_4  = [[NBA Most Valuable Player Award|Most Valuable Player]]
 | list2_5  = [[NBA Coach of the Year Award|Coach of the Year]]
 | list2_6  = [[NBA Rookie of the Year Award|Rookie of the Year]]
 | list2_7  = [[NBA Defensive Player of the Year Award|Defensive Player of the Year]]
 | list2_8  = [[NBA Sixth Man of the Year Award|Sixth Man of the Year]]
 | list2_9  = [[NBA Executive of the Year Award|Executive of the Year]]
 | list2_10 = [[NBA Sportsmanship Award|Sportsmanship Award]]
 | list2_11 = [[J. Walter Kennedy Citizenship Award]]

 | group3   = Honors
 | list3_1  = [[All-NBA Team]]
 | list3_2  = [[NBA All-Defensive Team|All-Defensive Team]]
 | list3_3  = [[NBA All-Rookie Team|All-Rookie Team]]
}}

If {{Navbox or footer/doc/example}} is called with an empty footer parameter, then it will be displayed as a navbox.

{{Navbox or footer/doc/example}}


If {{Navbox or footer/doc/example}} is called with a non-empty footer parameter, then it will be displayed as a footer.

{{Navbox or footer/doc/example|footer=yes}}