Difference between revisions of "Template:Eurovision Song Contest 2018"

From blackwiki
Jump to navigation Jump to search
imported>Dem1997
(fix structure, similar to main navbox)
Line 1: Line 1:
{{Navbox with collapsible groups
+
{{Navbox
 
| name = Eurovision Song Contest 2018
 
| name = Eurovision Song Contest 2018
 
| title = [[Eurovision Song Contest 2018]]
 
| title = [[Eurovision Song Contest 2018]]
| state = {{{state|uncollapsed}}}
+
| state = {{{state|autocollapse}}}
| listclass = hlist
+
| bodyclass = hlist
| selected = {{{selected|{{{1|}}}}}}
 
  
| section1 = Countries
+
| group1 = Countries
| abbr1 = countries
 
 
| list1 = {{Navbox|child
 
| list1 = {{Navbox|child
 +
 
| group1 = Finalists
 
| group1 = Finalists
 
| list1 =
 
| list1 =
Line 17: Line 16:
 
* {{Esccnty|Spain|y=2018}}
 
* {{Esccnty|Spain|y=2018}}
 
* {{Esccnty|United Kingdom|y=2018}}
 
* {{Esccnty|United Kingdom|y=2018}}
 +
 
| group2 = Semi-finalists
 
| group2 = Semi-finalists
 
| list2 =
 
| list2 =
Line 57: Line 57:
 
* {{Esccnty|Ukraine|y=2018}}
 
* {{Esccnty|Ukraine|y=2018}}
 
}}
 
}}
| section2 = Artists
+
 
| abbr2 = artists
+
| group2 = Artists
 
| list2 = {{Navbox|child
 
| list2 = {{Navbox|child
 +
 
| group1 = Semi-finalists
 
| group1 = Semi-finalists
 
| list1 =
 
| list1 =
Line 69: Line 70:
 
* [[Waylon (singer)|Waylon]]
 
* [[Waylon (singer)|Waylon]]
 
}}
 
}}
| section3 = Songs
+
 
| abbr3 = songs
+
| group3 = Songs
 
| list3 = {{Navbox|child
 
| list3 = {{Navbox|child
 
| group1 = Semi-finalists
 
| group1 = Semi-finalists

Revision as of 01:58, 20 December 2017

Template documentation

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Eurovision Song Contest 2018|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Eurovision Song Contest 2018|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Eurovision Song Contest 2018|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.

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • countries
    • artists
  • For example: {{Eurovision Song Contest 2018 |countries}}