Difference between revisions of "Template:Anaheim Ducks"

From blackwiki
Jump to navigation Jump to search
blackwiki>Charlesaaronthompson
(I updated the wiki-code formatting in the template.)
blackwiki>Charlesaaronthompson
m (Undid revision 971038830 by Charlesaaronthompson (talk) I reverted the template back to this version.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Anaheim Ducks
 
| name = Anaheim Ducks
| title = [[Anaheim Ducks|{{color|#{{Ice hockey color|Anaheim Ducks|2}}|Anaheim Ducks}}]]
+
| title = [[Anaheim Ducks]]
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| titlestyle = {{Ice hockey color cell|Anaheim Ducks|border=2}};
+
| titlestyle = background:#FFFFFF; border-top:#111111 5px solid; border-bottom:#B5985A 5px solid;
| groupstyle = {{Ice hockey color cell2|Anaheim Ducks|border=2}};
+
| groupstyle = background:#FFFFFF; {{box-shadow border|a|#B5985A|2px}}
| abovestyle = {{Ice hockey color cell2|Anaheim Ducks|border=2}};
+
| abovestyle = background:#FFFFFF; {{box-shadow border|a|#B5985A|2px}}
| belowstyle = {{Ice hockey color cell2|Anaheim Ducks|border=2}};
+
| belowstyle = background:#FFFFFF; {{box-shadow border|a|#111111|2px}}
  
 
| above =
 
| above =
 
* Formerly the '''Mighty Ducks of Anaheim'''
 
* Formerly the '''Mighty Ducks of Anaheim'''
* Founded in '''[[1993–94 NHL season|{{color|#{{Ice hockey color|Anaheim Ducks|4}}|1993}}]]'''
+
* Founded in '''[[1993–94 NHL season|1993]]'''
* Based in '''[[Anaheim, California|{{color|#{{Ice hockey color|Anaheim Ducks|4}}|Anaheim, California}}]]'''
+
* Based in '''[[Anaheim, California]]'''
  
 
| group1 = Franchise
 
| group1 = Franchise
Line 84: Line 84:
  
 
| below =
 
| below =
* {{Icon|Category}} [[:Category:Anaheim Ducks|{{color|#{{Ice hockey color|Anaheim Ducks|4}}|Category}}]]
+
* {{Icon|Category}} [[:Category:Anaheim Ducks|Category]]
* {{Icon|WikiProject}} [[Wikipedia:WikiProject Ice Hockey/Anaheim Ducks task force|{{color|#{{Ice hockey color|Anaheim Ducks|4}}|WikiProject}}]]
+
* {{Icon|WikiProject}} [[Wikipedia:WikiProject Ice Hockey/Anaheim Ducks task force|WikiProject]]
* {{Icon|Commons}} [[:Commons:Category:Anaheim Ducks|{{color|#{{Ice hockey color|Anaheim Ducks|4}}|Commons}}]]
+
* {{Icon|Commons}} [[:Commons:Category:Anaheim Ducks|Commons]]
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 20:44, 3 August 2020

Initial visibility: currently defaults to autocollapse

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

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