Difference between revisions of "Template:Infobox MLB Draft/doc"
imported>Izkala (ce) |
imported>Izkala (TemplateData) |
||
| Line 22: | Line 22: | ||
== Parameters == | == Parameters == | ||
| − | { | + | <templatedata> |
| − | + | { | |
| − | + | "params": { | |
| − | + | "year": { | |
| − | + | "description": "Place the year of the draft. Example '''1999'''.<br/>This value also determines the links at the bottom of the table to the previous and next year's drafts. ''These links will only appear if the page exists.''", | |
| − | + | "required": true | |
| − | + | }, | |
| − | + | "image": { | |
| − | + | "description": "Place an image that represents the MLB Draft of the given year or any new image that has to do with the current season and/or MLB." | |
| − | + | }, | |
| − | + | "image_size": { | |
| − | + | "aliases": [ | |
| − | + | "width" | |
| − | + | ], | |
| − | + | "description": "Place the size of image you would like to show in pixels. Example '''###px'''" | |
| − | + | }, | |
| − | + | "alt": {}, | |
| − | + | "caption": { | |
| − | + | "description": "Place caption here that will show below the image given." | |
| − | + | }, | |
| − | + | "date": { | |
| − | + | "description": "Place the event date(s) here.", | |
| − | + | "suggested": true | |
| − | + | }, | |
| − | + | "time": { | |
| − | + | "description": "Place the event time(s) here." | |
| − | + | }, | |
| − | + | "location": { | |
| − | + | "description": "Place the location of the event here.", | |
| − | + | "suggested": true | |
| − | + | }, | |
| − | + | "network": { | |
| − | + | "description": "Place the broadcasting network of the event here." | |
| − | + | }, | |
| − | + | "first": { | |
| − | + | "description": "Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Bryce Harper<br />Washington Nationals'''" | |
| − | + | }, | |
| − | + | "most": {}, | |
| − | + | "fewest": {}, | |
| + | "first_round": { | ||
| + | "description": "Place here the number of picks made in the first round (including the supplemental first round). Example: '''52'''" | ||
| + | }, | ||
| + | "overall": { | ||
| + | "description": "Place here the number of picks made in all rounds . Example: '''1355'''" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
<includeonly> | <includeonly> | ||
Revision as of 21:17, 25 July 2015
| 40px | This is a documentation subpage for Template:Infobox MLB Draft. It contains usage information, categories and other content that is not part of the original template page. |
This infobox was created for MLB Draft articles.
Usage
Template:Parameter names example
{{Infobox MLB Draft
| year =
| image =
| image_size =
| caption =
| date =
| time =
| location =
| network =
| first =
| first_round =
| overall =
}}
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | year | Place the year of the draft. Example '''1999'''.<br/>This value also determines the links at the bottom of the table to the previous and next year's drafts. ''These links will only appear if the page exists.'' | Unknown | required |
| Image | image | Place an image that represents the MLB Draft of the given year or any new image that has to do with the current season and/or MLB. | Unknown | optional |
| Image_size | image_size width | Place the size of image you would like to show in pixels. Example '''###px''' | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | caption | Place caption here that will show below the image given. | Unknown | optional |
| Date | date | Place the event date(s) here. | Unknown | suggested |
| Time | time | Place the event time(s) here. | Unknown | optional |
| Location | location | Place the location of the event here. | Unknown | suggested |
| Network | network | Place the broadcasting network of the event here. | Unknown | optional |
| First | first | Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Bryce Harper<br />Washington Nationals''' | Unknown | optional |
| Most | most | no description | Unknown | optional |
| Fewest | fewest | no description | Unknown | optional |
| First_round | first_round | Place here the number of picks made in the first round (including the supplemental first round). Example: '''52''' | Unknown | optional |
| Overall | overall | Place here the number of picks made in all rounds . Example: '''1355''' | Unknown | optional |