Difference between revisions of "Template:Battlefield series"

From blackwiki
Jump to navigation Jump to search
imported>PrimeHunter
(place DISPLAYTITLE inside noinclude)
imported>Soetermans
(full names because of WP:EASTEREGG; for instance, game is called "Battlefield Heroes", not "Heroes"; not clear right away that is the actual title by making an unnecessary piped link)
Line 7: Line 7:
 
| group1 = Main series
 
| group1 = Main series
 
| list1  =
 
| list1  =
* ''[[Battlefield 1942|1942]]''
+
* ''[[Battlefield 1942]]''
 
** ''[[Battlefield 1942: The Road to Rome|The Road to Rome]]''
 
** ''[[Battlefield 1942: The Road to Rome|The Road to Rome]]''
 
** ''[[Battlefield 1942: Secret Weapons of WWII|Secret Weapons of WWII]]''
 
** ''[[Battlefield 1942: Secret Weapons of WWII|Secret Weapons of WWII]]''
Line 19: Line 19:
 
| group2 = Spin-offs
 
| group2 = Spin-offs
 
| list2  =
 
| list2  =
* ''[[Battlefield Vietnam|Vietnam]]''
+
* ''[[Battlefield Vietnam]]''
* ''[[Battlefield 2: Modern Combat|2: Modern Combat]]''
+
* ''[[Battlefield 2: Modern Combat]]''
* ''[[Battlefield 2142|2142]]''
+
* ''[[Battlefield 2142]]''
 
** ''[[Battlefield 2142#Northern Strike|Northern Strike]]''
 
** ''[[Battlefield 2142#Northern Strike|Northern Strike]]''
* ''[[Battlefield 1943|1943]]''
+
* ''[[Battlefield 1943]]''
* ''[[Battlefield Hardline|Hardline]]''
+
* ''[[Battlefield Hardline]]''
 
| group3 = ''Bad Company'' series
 
| group3 = ''Bad Company'' series
 
| list3  =
 
| list3  =
* ''[[Battlefield: Bad Company|Bad Company]]''
+
* ''[[Battlefield: Bad Company]]''
* ''[[Battlefield: Bad Company 2|Bad Company 2]]''
+
* ''[[Battlefield: Bad Company 2]]''
** ''[[Battlefield: Bad Company 2: Vietnam|Vietnam]]''
+
** ''[[Battlefield: Bad Company 2: Vietnam]]''
 
| group4 = Free-to-play
 
| group4 = Free-to-play
 
| list4  =
 
| list4  =
* ''[[Battlefield Heroes|Heroes]]''
+
* ''[[Battlefield Heroes]]''
* ''[[Battlefield Online|Online]]''
+
* ''[[Battlefield Online]]''
* ''[[Battlefield Play4Free|Play4Free]]''
+
* ''[[Battlefield Play4Free]]''
 
| below =
 
| below =
 
'''{{Icon|Book}} [[Book:Battlefield (series)|Book]]''' • '''{{Icon|Category}} [[:Category:Battlefield (series)|Category]]'''
 
'''{{Icon|Book}} [[Book:Battlefield (series)|Book]]''' • '''{{Icon|Category}} [[:Category:Battlefield (series)|Category]]'''

Revision as of 12:48, 7 June 2016

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Battlefield series|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Battlefield series|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Battlefield series|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.