Difference between revisions of "Template:Infobox NHL Draft"
imported>Mo2010 |
imported>Frietjes (succession links) |
||
| Line 44: | Line 44: | ||
| label7 = Arena | | label7 = Arena | ||
| data7= {{{arena|}}} | | data7= {{{arena|}}} | ||
| − | | belowstyle = background:#eee; | + | | belowstyle = background:#eee; font-weight:bold; |
| − | | below = | + | | below = {{#switch:{{lc:{{{type}}}}} |
| − | |||
| − | |||
| dispersal and expansion | dispersal | expansion = | | dispersal and expansion | dispersal | expansion = | ||
| − | + | {{succession links | |
| − | + | | above = NHL [[Expansion draft|Expansion and Dispersal Drafts]] | |
| − | + | | left = {{#switch:{{{year}}} | |
| − | | 1970 = [[1967 NHL Expansion Draft| | + | | 1970 = [[1967 NHL Expansion Draft|1967]] |
| − | | 1972 = [[1970 NHL Expansion Draft| | + | | 1972 = [[1970 NHL Expansion Draft|1970]] |
| − | | 1974 = [[1972 NHL Expansion Draft| | + | | 1974 = [[1972 NHL Expansion Draft|1972]] |
| − | | 1978 = [[1974 NHL Expansion Draft| | + | | 1978 = [[1974 NHL Expansion Draft|1974]] |
| − | | 1979 = [[1978 NHL Dispersal Draft| | + | | 1979 = [[1978 NHL Dispersal Draft|1978]] |
| − | | 1991 = [[1979 NHL Expansion Draft| | + | | 1991 = [[1979 NHL Expansion Draft|1979]] |
| − | | 1992 = [[1991 NHL Dispersal and Expansion Drafts| | + | | 1992 = [[1991 NHL Dispersal and Expansion Drafts|1991]] |
| − | | 1993 = [[1992 NHL Expansion Draft| | + | | 1993 = [[1992 NHL Expansion Draft|1992]] |
| − | | 1998 = [[1993 NHL Expansion Draft| | + | | 1998 = [[1993 NHL Expansion Draft|1993]] |
| − | | 1999 = [[1998 NHL Expansion Draft| | + | | 1999 = [[1998 NHL Expansion Draft|1998]] |
| − | | 2000 = [[1999 NHL Expansion Draft| | + | | 2000 = [[1999 NHL Expansion Draft|1999]] |
| − | | 2017 = [[2000 NHL Expansion Draft| | + | | 2017 = [[2000 NHL Expansion Draft|2000]] |
| − | }} | + | }} |
| − | + | |right = {{#switch:{{{year}}} | |
| − | | 1967 = [[1970 NHL Expansion Draft|1970 | + | | 1967 = [[1970 NHL Expansion Draft|1970]] |
| − | | 1970 = [[1972 NHL Expansion Draft|1972 | + | | 1970 = [[1972 NHL Expansion Draft|1972]] |
| − | | 1972 = [[1974 NHL Expansion Draft|1974 | + | | 1972 = [[1974 NHL Expansion Draft|1974]] |
| − | | 1974 = [[1978 NHL Dispersal Draft|1978 | + | | 1974 = [[1978 NHL Dispersal Draft|1978]] |
| − | | 1978 = [[1979 NHL Expansion Draft|1979 | + | | 1978 = [[1979 NHL Expansion Draft|1979]] |
| − | | 1979 = [[1991 NHL Dispersal and Expansion Drafts|1991 | + | | 1979 = [[1991 NHL Dispersal and Expansion Drafts|1991]] |
| − | | 1991 = [[1992 NHL Expansion Draft|1992 | + | | 1991 = [[1992 NHL Expansion Draft|1992]] |
| − | | 1992 = [[1993 NHL Expansion Draft|1993 | + | | 1992 = [[1993 NHL Expansion Draft|1993]] |
| − | | 1993 = [[1998 NHL Expansion Draft|1998 | + | | 1993 = [[1998 NHL Expansion Draft|1998]] |
| − | | 1998 = [[1999 NHL Expansion Draft|1999 | + | | 1998 = [[1999 NHL Expansion Draft|1999]] |
| − | | 1999 = [[2000 NHL Expansion Draft|2000 | + | | 1999 = [[2000 NHL Expansion Draft|2000]] |
| − | | 2000 = [[2017 NHL Expansion Draft|2017 | + | | 2000 = [[2017 NHL Expansion Draft|2017]] |
| − | }} | + | }} }} |
| − | |||
| supplemental = | | supplemental = | ||
| − | + | {{succession links | |
| − | + | | above = [[NHL Supplemental Draft]] | |
| − | + | | left = {{#ifexpr:{{{year}}} > 1986|[[{{#expr:{{{year}}}-1}} NHL Supplemental Draft|{{#expr:{{{year}}}-1}}]]}} | |
| − | + | | right = {{#ifexpr:{{{year}}}< 1994|[[{{#expr:{{{year}}}+1}} NHL Supplemental Draft|{{#expr:{{{year}}}+1}}]]}} | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| amateur | entry | #default = | | amateur | entry | #default = | ||
| − | + | {{succession links | |
| + | | above = {{#switch:{{#expr: ({{{year|{{CURRENTYEAR}}}}} > 1962) + ({{{year|{{CURRENTYEAR}}}}} > 1978) }} | ||
| 1 = [[NHL Entry Draft|NHL Amateur Draft]] | | 1 = [[NHL Entry Draft|NHL Amateur Draft]] | ||
| 2 = [[NHL Entry Draft]] | | 2 = [[NHL Entry Draft]] | ||
| − | }} | + | }} |
| − | + | | left = {{#switch:{{#expr: ({{{year|{{CURRENTYEAR}}}}} > 1963) + ({{{year|{{CURRENTYEAR}}}}} > 1979) }} | |
| − | + | | 1 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NHL Amateur Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]] | |
| − | | 1 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NHL Amateur Draft| | + | | 2 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NHL Entry Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]] |
| − | | 2 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NHL Entry Draft| | + | }} |
| − | }} | + | | right = {{#switch:{{#expr: ({{{year|{{CURRENTYEAR}}}}} > 1962) + ({{{year|{{CURRENTYEAR}}}}} > 1977) }} |
| − | + | | 1 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Amateur Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}}]] | |
| − | | 1 = [[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Amateur Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} | ||
| 2 = {{#ifexist:{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Entry Draft | | 2 = {{#ifexist:{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Entry Draft | ||
| − | | [[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Entry Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} | + | | [[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NHL Entry Draft|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}}]] |
}} | }} | ||
| − | }} | + | }} |
| − | + | }} | |
| − | }} | + | }} |
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||
Revision as of 15:24, 16 February 2017
| 2026 NHL Draft | |
|---|---|
| Template:Succession links |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox sports draft
| name = {{subst:PAGENAME}}
| logo =
| logosize =
| logoalt =
| image =
| imagesize =
| alt =
| caption =
| sport =
| dates =
| date =
| time =
| location =
| network =
| sponsor =
| overall =
| rounds =
| league =
| first =
| teams =
| team =
| territorial =
| mr_irrelevant =
| fewnum =
| fewest =
| mostnum =
| most =
| first_round =
| hofnum =
| ciau =
| cis =
| u_sports =
| ncaa =
| redshirts =
| prev =
| next =
<!------------------ If expansion draft -->
| expansion_teams =
| expansion_season =
}}
Tracking category
Template Data
TemplateData for Infobox NHL Draft
An Infobox for pages about a sports draft
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Pagename
| String | optional |
| Logo | logo | no description
| File | optional |
| Logosize | logosize | no description | Unknown | optional |
| Logoalt | logoalt | no description | Unknown | optional |
| Image | image | no description
| File | optional |
| Imagesize | imagesize | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Sport | sport | no description | Unknown | optional |
| Date | date | no description | Unknown | optional |
| Time | time | no description | Unknown | optional |
| Location | location | Location of the draft
| String | optional |
| Network | network | no description | Unknown | optional |
| Sponsor | sponsor | no description | Unknown | optional |
| League | league | no description | Unknown | optional |
| Team | team | no description | Unknown | optional |
| Expansion_teams | expansion_teams | no description | Unknown | optional |
| Expansion_team | expansion_team | no description | Unknown | optional |
| Expansion_season | expansion_season | no description | Unknown | optional |
| Territorial | territorial | no description | Unknown | optional |
| First | first | Player selected and/or team selecting with the first pick
| String | optional |
| First_round | first_round | no description | Unknown | optional |
| Fewest | fewest | Team with fewest selections | String | optional |
| Fewest number | fewnum | Number of selections by fewest team | Number | optional |
| Most | most | Team with most selections | String | optional |
| Most number | mostnum | Number of selections by most team | Number | optional |
| Overall | overall | no description | Unknown | optional |
| Prev | prev | no description | Page | optional |
| Next | next | no description | Page | optional |
| Dates | dates | no description | Unknown | optional |
| Rounds | rounds | no description | Unknown | optional |
| Teams | teams | no description | Unknown | optional |
| Merging_teams | merging_teams | no description | Unknown | optional |
| Mr. Irrelevant | mr_irrelevant | Last pick in the NFL Draft | String | optional |
| HOF number | hofnum | Number of draft picks elected to Hall of Fame | Number | optional |
| CIAU | ciau | Canadian university players selected (1978–2001) | Number | optional |
| CIS | cis | Canadian university players selected (2002–2016) | Number | optional |
| U Sports | u_sports | Canadian university players selected (2017–) | Number | optional |
| NCAA | ncaa | Number of NCAA players selected | Number | optional |
| Redshirts | redshirts | no description | Unknown | optional |
| The above documentation is transcluded from Template:Infobox NHL Draft/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |