Template:Navboxes/doc

From Wiki
Revision as of 10:58, 29 September 2013 by Yahia.barie (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The {{Navboxes}} template is used to group several navigation boxes together.

Parameters

title (optional)

Alternate text to be placed in title box, defaults to "Links to related articles".

state (optional)

collapsed to show this template in its collapsed (hidden) state, this is the default state
expanded to show this template in its expanded (fully visible) state
autocollapse to show this template in its collapsed (hidden) state only if there is another collapsible template on the page

list (required)

list of the templates to be grouped

Usage

Blank syntax
{{Navboxes
|title = <!-- optional, default is "Links to related articles" -->
 |titlestyle = <!-- optional -->
|state = <!-- optional, default is collapsed -->
|list1 = <!-- required, or |list= -->
}}

Examples

{{Navboxes
| title = Giovanni Trapattoni Navigation boxes
| state = expanded
| titlestyle = background: lightblue <-- or hexcode-like #AAFFFF, defaults to #CCCCFF (violet) -->
| list1  = {{Italy Squad 1962 World Cup}}
{{Italy national football team managers}}
{{Republic of Ireland national football team managers}}
{{A.C. Milan managers}}
{{F.C. Internazionale Milano managers}}
{{Juventus F.C. managers}}
{{Bayern Munich managers}}
{{Cagliari Calcio managers}}
{{ACF Fiorentina managers}}
{{Italy Squad 2002 World Cup}}
{{S.L. Benfica managers}}
{{VfB Stuttgart managers}}
{{FC Red Bull Salzburg Squad}}
}}

which gives: