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

From blackwiki
Jump to navigation Jump to search
imported>NSH002
(tidy up, fix duplicate argument error)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
|name = Eurovision Song Contest 2016
+
| name = Eurovision Song Contest 2016
|state = {{{state|uncollapsed}}}
+
| title = [[Eurovision Song Contest 2016]]
|selected = {{{1|}}}
+
| state = {{{state|uncollapsed}}}
|title =  [[Eurovision Song Contest 2016]]
+
| listclass = hlist
 +
| selected = {{{selected|{{{1|}}}}}}
  
|group1 = Countries
+
| section1 = Countries
|abbr1 = countries
+
| abbr1 = countries
|listclass = hlist
+
 
|list1 = {{Navbox subgroup
+
| list1 = {{Navbox|child
|group1= Finalists
+
 
|list1=  
+
  | group1 = Finalists
 +
  | list1 =
 
<!-- ATTENTION: Do not link to a country unless there is an article for it - no red links or re-directs please. -->
 
<!-- ATTENTION: Do not link to a country unless there is an article for it - no red links or re-directs please. -->
 
* {{Esccnty|France}}
 
* {{Esccnty|France}}
Line 18: Line 20:
 
* {{Esccnty|Sweden}}
 
* {{Esccnty|Sweden}}
 
* {{Esccnty|United Kingdom}}
 
* {{Esccnty|United Kingdom}}
|group2 = Semi-finalists
+
 
|list2 =
+
  | group2 = Semi-finalists
 +
  | list2 =
 
<!-- ATTENTION: Do not link to a country unless there is an article for it - no red links or re-directs please. -->
 
<!-- ATTENTION: Do not link to a country unless there is an article for it - no red links or re-directs please. -->
 
* {{Esccnty|Armenia}}
 
* {{Esccnty|Armenia}}
Line 51: Line 54:
 
* {{Esccnty|Turkey}}
 
* {{Esccnty|Turkey}}
 
* {{Esccnty|Ukraine}}
 
* {{Esccnty|Ukraine}}
}}
+
 
|group2 = Artists
+
}}
|abbr2 = artists
+
 
|listclass = hlist
+
| section2 = Artists
|list2 = {{Navbox subgroup
+
| abbr2 = artists
|group1= Finalists
+
 
|group2 = Semi-finalists
+
| list2 = {{Navbox|child
|list2 =
+
 
 +
  | group1 = Finalists
 +
  | list1 =
 +
* &nbsp;
 +
 
 +
  | group2 = Semi-finalists
 +
  | list2 =
 
* [[Douwe Bob]]
 
* [[Douwe Bob]]
}}
+
 
 +
}}
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{documentation | content =
 +
 
{{collapsible option}}
 
{{collapsible option}}
 +
{{Collapsible sections option
 +
| list = {{hlist| countries | artists }}
 +
| example = countries
 +
}}
 +
 
[[Category:Eurovision Song Contest songs by year templates|2016]]
 
[[Category:Eurovision Song Contest songs by year templates|2016]]
 
[[Category:Eurovision Song Contest by country templates]]
 
[[Category:Eurovision Song Contest by country templates]]
[[Category:Eurovision Song Contest 2016|τ]]
+
 
[[Category:WikiProject Eurovision]]
+
}} <!-- end of documentation -->
 
</noinclude>
 
</noinclude>

Revision as of 21:26, 22 September 2015

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