Difference between revisions of "Template:Infobox sports draft/doc"
imported>Blaixx (→Template Data: expanded template data) |
imported>Blaixx (→Template Data: added template data) |
||
| Line 57: | Line 57: | ||
"name": { | "name": { | ||
"description": "Pagename", | "description": "Pagename", | ||
| − | "example": "2015 NBA | + | "example": "2015 NBA draft", |
"type": "string", | "type": "string", | ||
"default": "PAGENAME" | "default": "PAGENAME" | ||
| Line 90: | Line 90: | ||
"expansion_season": {}, | "expansion_season": {}, | ||
"territorial": {}, | "territorial": {}, | ||
| − | "first": {}, | + | "first": { |
| + | "description": "Player selected and/or team selecting with the first pick", | ||
| + | "example": "LeBron James, Cleveland Cavaliers", | ||
| + | "type": "string" | ||
| + | }, | ||
"fewest": { | "fewest": { | ||
"description": "Team with fewest selections", | "description": "Team with fewest selections", | ||
| Line 121: | Line 125: | ||
"teams": {}, | "teams": {}, | ||
"merging_teams": {}, | "merging_teams": {}, | ||
| − | "mr_irrelevant": {}, | + | "mr_irrelevant": { |
| − | "hofnum": {}, | + | "label": "Mr. Irrelevant", |
| − | "ciau": {}, | + | "description": "Last pick in the NFL Draft", |
| + | "type": "string" | ||
| + | }, | ||
| + | "hofnum": { | ||
| + | "label": "HOF number", | ||
| + | "description": "Number of draft picks elected to Hall of Fame", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "ciau": { | ||
| + | "label": "CIAU", | ||
| + | "description": "Canadian university players selected (1978–2001)", | ||
| + | "type": "number" | ||
| + | }, | ||
"cis": { | "cis": { | ||
"label": "CIS", | "label": "CIS", | ||
| − | "description": " | + | "description": "Canadian university players selected (2002–2016)", |
"type": "number" | "type": "number" | ||
}, | }, | ||
"u_sports": { | "u_sports": { | ||
"label": "U Sports", | "label": "U Sports", | ||
| − | "description": " | + | "description": "Canadian university players selected (2017–)", |
"type": "number" | "type": "number" | ||
}, | }, | ||
Revision as of 11:38, 13 March 2019
| This is a documentation subpage for Template:Infobox sports draft. It contains usage information, categories and other content that is not part of the original template page. |
| 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 sports 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 |