Difference between revisions of "Template:Dolphins1989DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>HandsomeFella
(no reason for articles on this year's draft picks to link to every other years' template; copyedit)
imported>Charlesaaronthompson
(I updated the HTML formatting.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Dolphins1989DraftPicks
+
| name = Dolphins1989DraftPicks
| titlestyle = {{NFLPrimaryColor|Miami Dolphins|year=1989}}; {{NFLSecondaryColor|Miami Dolphins|year=1989}}; border:2px solid #DF6108
+
| titlestyle = {{NFLPrimaryStyle|Miami Dolphins|year=1989|border=2}};
| title     = [[Miami Dolphins|<span style="color:white">Miami Dolphins</span>]] [[1989 NFL draft|<span style="color:white">1989 NFL draft</span>]] selections
+
| title = [[Miami Dolphins|<span style="{{NFLSecondaryColor|Miami Dolphins}}">Miami Dolphins</span>]] [[1989 NFL draft|<span style="{{NFLSecondaryColor|Miami Dolphins}}">1989 NFL draft</span>]] selections
| state     = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
| listclass = hlist
+
| listclass = hlist
| list1     =
+
| list1 =
 
* [[Sammie Smith]]
 
* [[Sammie Smith]]
 
* [[Louis Oliver]]
 
* [[Louis Oliver]]
Line 19: Line 19:
 
* [[J. B. Brown]]
 
* [[J. B. Brown]]
 
<noinclude>
 
<noinclude>
| below     = {{Miami Dolphins Draft template list}}
+
| below = {{Miami Dolphins Draft template list}}
 
| belowstyle = {{NFLAltPrimaryColor|Miami Dolphins|year=1989}}
 
| belowstyle = {{NFLAltPrimaryColor|Miami Dolphins|year=1989}}
 
</noinclude>
 
</noinclude>

Revision as of 20:37, 26 April 2018

Initial visibility: currently defaults to autocollapse

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

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