Difference between revisions of "Template:Formula One"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(fix link)
imported>DH85868993
Line 7: Line 7:
 
| expanded = {{lc:{{{expanded|{{{1|<noinclude>all</noinclude>}}}}}}}} <!-- displays a specific list -->
 
| expanded = {{lc:{{{expanded|{{{1|<noinclude>all</noinclude>}}}}}}}} <!-- displays a specific list -->
  
| list1title = Current season
+
| list1title = Season summaries
 
| list1name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|current}}
 
| list1name  = {{#ifeq:{{lc:{{{expanded|{{{1|}}}}}}}}|all|all|current}}
 
| list1 =
 
| list1 =
 
* [[2020 Formula One World Championship]]
 
* [[2020 Formula One World Championship]]
 +
* [[2021 Formula One World Championship]]
  
 
| list2title = Related articles
 
| list2title = Related articles

Revision as of 15:34, 13 December 2020

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Formula One |expanded=all}} or, if enabled, {{Formula One |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Formula One |expanded=listname}} or, if enabled, {{Formula One |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • current, related, lists, records, orgs, or all
  • For example, {{Formula One |expanded=orgs}} or, if enabled, {{Formula One |orgs}}