Difference between revisions of "Template:Los Angeles Rams"

From blackwiki
Jump to navigation Jump to search
imported>Spparky
(move seaons to a sub template, clean up look)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 5: Line 5:
 
| bodystyle = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
 
| bodystyle = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
 
| groupstyle=background:#C9AF74; color:#0d254c;
 
| groupstyle=background:#C9AF74; color:#0d254c;
| state = {{{state|collapsed}}}
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| abovestyle = background:#C9AF74; color:#0d254c;
 
| abovestyle = background:#C9AF74; color:#0d254c;
 
| above=Formerly the '''Cleveland Rams''' and the '''Los Angeles Rams''' • Founded in 1936 • Based in '''[[St. Louis, Missouri|<span style="color:#0d254c;">St. Louis<span>]]''', '''[[Missouri|<span style="color:#0d254c;">Missouri<span>]]'''
 
| above=Formerly the '''Cleveland Rams''' and the '''Los Angeles Rams''' • Founded in 1936 • Based in '''[[St. Louis, Missouri|<span style="color:#0d254c;">St. Louis<span>]]''', '''[[Missouri|<span style="color:#0d254c;">Missouri<span>]]'''
Line 57: Line 57:
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 +
{{collapsible option}}
 
[[Category:National Football League team navigational boxes|{{PAGENAME}}]]
 
[[Category:National Football League team navigational boxes|{{PAGENAME}}]]
 
[[Category:St. Louis Rams templates| ]]
 
[[Category:St. Louis Rams templates| ]]
  
 
</noinclude>
 
</noinclude>

Revision as of 00:11, 15 April 2012

Initial visibility: currently defaults to autocollapse

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

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