Difference between revisions of "Template:BP"

From blackwiki
Jump to navigation Jump to search
imported>Tassedethe
m (WPCleaner v1.30 - Repaired 1 link to disambiguation page - (You can help) - Robert Horton)
imported>SporkBot
m (Remove template per TFD outcome)
Line 2: Line 2:
 
|name=BP
 
|name=BP
 
|title=[[BP]]
 
|title=[[BP]]
|listclass = hlist
+
|bodyclass = hlist
 
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|groupstyle=line-height:1.1em; text-align:center;
 
|groupstyle=line-height:1.1em; text-align:center;
Line 98: Line 98:
 
* [[Anglo-lranian Oil Co. (United Kingdom v. Iran)|''United Kingdom v. Iran'']]
 
* [[Anglo-lranian Oil Co. (United Kingdom v. Iran)|''United Kingdom v. Iran'']]
  
|belowclass = hlist
+
|below=* {{icon|category}} '''[[:Category:BP|Category]]'''
|below={{company template tagline|icon=profit|revenue=$246.1 billion USD|revenue_year=2009|staff=92,000|staff_year=2009|stock_symbol=[[London Stock Exchange|LSE]]: [http://www.londonstockexchange.com/exchange/prices-and-news/stocks/prices-search/stock-prices-search.html?nameCode=BP BP]|website=[http://www.bp.com BP.com]}}
 
* {{icon|category}} '''[[:Category:BP|Category]]'''
 
 
* [[File:Commons-logo.svg|16x16px|link=|alt=]] [[commons:Category:BP|'''Commons''']]
 
* [[File:Commons-logo.svg|16x16px|link=|alt=]] [[commons:Category:BP|'''Commons''']]
 
}}<noinclude>
 
}}<noinclude>

Revision as of 05:54, 11 February 2014

Initial visibility: currently defaults to autocollapse

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

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