Difference between revisions of "Template:BBC News"

From blackwiki
Jump to navigation Jump to search
imported>Trident13
(add BBC World News - other wise, presenters could get to be a verty, very big category)
imported>Rangoon11
(rm non-standard formatting - ugly and unnecessary)
Line 3: Line 3:
 
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
 
| image =
 
| image =
| title = [[BBC News|{{color|#fff|BBC News}}]]
+
| title = [[BBC News]]
|titlestyle=background-color: #9a0000; color:#fff;
+
|groupstyle= text-align: left;
|groupstyle=background-color: #cc0101; color:#fff; text-align: left;
 
 
| listclass = hlist
 
| listclass = hlist
|abovestyle=background: #cc0101; color:#fff;
 
|belowstyle=background-color: #cc0101; color: #fff;
 
  
| above = [[BBC|{{color|#eee|BBC}}]]
+
| above = [[BBC]]
  
| group1 = [[:Category:BBC News channels|{{color|#eee|TV channels}}]]
+
| group1 = [[:Category:BBC News channels|TV channels]]
 
| list1 =  
 
| list1 =  
 
*[[BBC Arabic Television]]
 
*[[BBC Arabic Television]]
Line 20: Line 17:
 
*[[BBC World News]]
 
*[[BBC World News]]
 
   
 
   
|group2 = [[:Category:BBC News programmes|{{color|#eee|Programmes}}]]
+
|group2 = [[:Category:BBC News programmes|Programmes]]
 
|list2  = {{Navbox subgroup|evenodd=swap
 
|list2  = {{Navbox subgroup|evenodd=swap
 
   | group1 = Current
 
   | group1 = Current
   | groupstyle = text-align: left;background-color: #eee;
+
   | groupstyle = text-align: left
 
   |liststyle = width:auto; font-style:italic;
 
   |liststyle = width:auto; font-style:italic;
 
   | list1  =  
 
   | list1  =  
Line 89: Line 86:
 
}}
 
}}
  
|group3 = [[:Category:BBC News people|{{color|#eee|People}}]]
+
|group3 = [[:Category:BBC News people|People]]
 
|list3  = {{Navbox subgroup|evenodd=swap
 
|list3  = {{Navbox subgroup|evenodd=swap
 
   | group1 = [[List of BBC newsreaders and reporters|Presenters]]
 
   | group1 = [[List of BBC newsreaders and reporters|Presenters]]
   | groupstyle = text-align: left;background-color: #eee;
+
   | groupstyle = text-align: left;
 
   | liststyle = width:auto;   
 
   | liststyle = width:auto;   
 
   | list1  =  
 
   | list1  =  
Line 172: Line 169:
 
*[[BBC News Online]]
 
*[[BBC News Online]]
  
|below = {{icon|category}} '''[[:Category:BBC News|{{color|#eee|Category}}]]'''
+
|below = {{icon|category}} '''[[:Category:BBC News|Category]]'''
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 12:31, 9 February 2013

Initial visibility: currently defaults to autocollapse

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

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