On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Navbox years

From SuccuWiki - The Wiki of the Succubi
Revision as of 12:04, 30 November 2012 by TeraS (talk | contribs) (Created page with "<includeonly>{{#if:{{{name|}}}|{{Navbox|{{{border|{{{1|}}}}}} |name = {{{name}}} |state = {{{state|}}} |style = width:330px;{{{style|}}} |title = {{{title|}}} |titlestyle = {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

Usage

This template can be used to create navboxes for yearly tournaments.

There is an optional state parameter working as described at Template:Navbox#Setup parameters.

Example

{{navbox years
|name = Tennis Channel Open tournaments
|title = [[Tennis Channel Open|Las Vegas tournaments]]
|titlestyle = background-color:#FF7F00;
|list1 = 
{{navbox years|Tennis Channel Open|    |    |    |    |    |    |1986|1987|1988|1989}}
{{navbox years|Tennis Channel Open|NH  |NH  |1992|1993|1994|1995|1996|1997|1998|1999}}
{{navbox years|Tennis Channel Open|2000|2001|2002|2003|2004|2005|2006|2007|2008|    }}
}}


See also

Navigation templates comparison
Collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
{{Navbox years}} collapsible navbox No No No
  • {{[[Template:{{{1}}}|{{{1}}}]]}}
Collapsible attributes
Type CSS classes Javascript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes