Difference between revisions of "Template:Energy in Spain"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Andrybak
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Energy in Spain
+
| name = Energy in Spain
|state = {{{state|collapsed}}}
+
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
|title = [[Energy]] in [[Spain]]
+
| titlestyle = {{{titlestyle|background:#ddf;}}}
|listclass = hlist
+
| title = [[Energy in Spain]]
|titlestyle = {{{titlestyle|background:#ddf;}}}
+
| groupstyle = {{{groupstyle|background:lavender;}}}
|groupstyle = {{{groupstyle|background:lavender;}}}
+
| listclass = hlist
  
|group1 = [[Nuclear power in Spain|Nuclear plants]]
+
| group1 = [[Nuclear power in Spain|Nuclear plants]]
|list1 = {{Navbox subgroup
+
| list1 =
|group1 = Active
+
  {{Navbox |child |groupstyle=font-weight:normal;
|list1 =
+
  | group1 = Active
 +
  | list1 =
 
* [[Almaraz Nuclear Power Plant|Almaraz]]
 
* [[Almaraz Nuclear Power Plant|Almaraz]]
 
* [[Ascó Nuclear Power Plant|Ascó]]
 
* [[Ascó Nuclear Power Plant|Ascó]]
 
* [[Cofrentes Nuclear Power Plant|Cofrentes]]
 
* [[Cofrentes Nuclear Power Plant|Cofrentes]]
 
* [[José Cabrera Nuclear Power Station|José Cabrera]]
 
* [[José Cabrera Nuclear Power Station|José Cabrera]]
* [[Santa María de Garoña Nuclear Power Plant|Santa María de Garoña]]
 
 
* [[Trillo Nuclear Power Plant|Trillo]]
 
* [[Trillo Nuclear Power Plant|Trillo]]
 
* [[Vandellòs Nuclear Power Plant|Vandellòs]]
 
* [[Vandellòs Nuclear Power Plant|Vandellòs]]
|group2 = Cancelled
+
  | group2 = Cancelled
|list2 =
+
  | list2 =
 
* [[Valdecaballeros Nuclear Power Plant|Valdecaballeros]]
 
* [[Valdecaballeros Nuclear Power Plant|Valdecaballeros]]
 
* [[Lemoniz Nuclear Power Plant|Lemoniz]]
 
* [[Lemoniz Nuclear Power Plant|Lemoniz]]
}}
+
  | group3 = Closed
 +
  | list3 =
 +
* [[Santa María de Garoña Nuclear Power Plant|Santa María de Garoña]]
 +
  }}
  
|group2 = [[Wind power in Spain|Wind farms]]
+
| group2 = [[Wind power in Spain|Wind farms]]
|list2 =
+
| list2 =
 +
* [[El Marquesado Wind Farm|El Marquesado]]
 +
* [[Elgea-Urkilla eolic park|Elgea-Urkilla]]
 +
* [[Eolica Varna Wind Farm|Eolica Varna]]
 
* [[Maranchon Wind Farm|Maranchon]]
 
* [[Maranchon Wind Farm|Maranchon]]
 +
* [[Sisante Wind Farm|Sisante]]
 +
* [[Ventominho Wind Farm|Ventominho]]
  
|group3 = Fossil fuels
+
| group3 = Fossil fuels
|list3 =
+
| list3 =
 
* [[La Camocha, Asturias coal mine]]
 
* [[La Camocha, Asturias coal mine]]
 
* [[Teruel Power Plant]]
 
* [[Teruel Power Plant]]
Line 35: Line 43:
 
* [[Medgaz]]
 
* [[Medgaz]]
  
|group4 = [[Solar power in Spain|Solar power]]
+
| group4 = [[Solar power in Spain|Solar power]]
|list4 =
+
| list4 =
 
* [[Abertura Photovoltaic Power Station|Abertura]]
 
* [[Abertura Photovoltaic Power Station|Abertura]]
 
* [[Alvarado I|Alvarado]]
 
* [[Alvarado I|Alvarado]]
Line 55: Line 63:
 
* [[Monte Alto photovoltaic power plant|Monte Alto]]
 
* [[Monte Alto photovoltaic power plant|Monte Alto]]
 
* [[Olmedilla Photovoltaic Park|Olmedilla]]
 
* [[Olmedilla Photovoltaic Park|Olmedilla]]
 +
* [[Osa de la Vega Solar Plant|Osa de la Vega]]
 
* [[PS10 solar power tower|PS10]]
 
* [[PS10 solar power tower|PS10]]
 
* [[PS20 Solar Power Plant|PS20]]
 
* [[PS20 Solar Power Plant|PS20]]
Line 64: Line 73:
 
* [[Solnova Solar Power Station|Solnova]]
 
* [[Solnova Solar Power Station|Solnova]]
  
|belowclass = hlist
+
| below = [[Nuclear power in Spain|Nuclear power]]{{\}}[[Wind power in Spain|Wind power]]{{\}}[[Solar power in Spain]]
|below =  
+
 
* [[Nuclear power in Spain]]
 
* [[Wind power in Spain]]
 
* [[Solar power in Spain]]
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Energy templates|Spain]]
+
{{Documentation |content={{Collapsible option |statename=optional |default=collapsed}}
 +
 
 +
[[Category:Spain navigational boxes]]
 +
[[Category:Energy templates by country|Spain]]
 +
}}<!--(end Documentation)-->
 
</noinclude>
 
</noinclude>

Latest revision as of 13:58, 10 October 2020

Template documentation

Initial visibility: currently defaults to collapsed

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

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