Difference between revisions of "Template:Infobox MLB Draft/doc"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(ce)
imported>Izkala
(TemplateData)
Line 22: Line 22:
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable"
+
<templatedata>
|-
+
{
!Parameter
+
"params": {
!Explanation
+
"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.''",
!year  
+
"required": true
| 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.''
+
},
|-
+
"image": {
!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."
| 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": {
!imagesize
+
"aliases": [
| Place the size of image you would like to show in pixels. Example '''###px'''
+
"width"
|-
+
],
!caption
+
"description": "Place the size of image you would like to show in pixels. Example '''###px'''"
| Place caption here that will show below the image given.
+
},
|-
+
"alt": {},
!date(s)
+
"caption": {
| Place the event date(s) here.
+
"description": "Place caption here that will show below the image given."
|-
+
},
!time(s)
+
"date": {
| Place the event time(s) here. ''Optional''
+
"description": "Place the event date(s) here.",
|-
+
"suggested": true
!location
+
},
| Place the location of the event here.
+
"time": {
|-
+
"description": "Place the event time(s) here."
!network(s)
+
},
| Place the broadcasting network of the event here. ''Optional''
+
"location": {
|-
+
"description": "Place the location of the event here.",
!first
+
"suggested": true
| Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Bryce Harper<br />Washington Nationals'''
+
},
|-
+
"network": {
!first_round
+
"description": "Place the broadcasting network of the event here."
| Place here the number of picks made in the first round (including the supplemental first round). Example: '''52'''
+
},
|-
+
"first": {
!overall
+
"description": "Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Bryce Harper<br />Washington Nationals'''"
| Place here the number of picks made in all rounds . Example: '''1355'''
+
},
|}
+
"most": {},
{{clear}}
+
"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

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.

Template parameters

ParameterDescriptionTypeStatus
Yearyear

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.''

Unknownrequired
Imageimage

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.

Unknownoptional
Image_sizeimage_size width

Place the size of image you would like to show in pixels. Example '''###px'''

Unknownoptional
Altalt

no description

Unknownoptional
Captioncaption

Place caption here that will show below the image given.

Unknownoptional
Datedate

Place the event date(s) here.

Unknownsuggested
Timetime

Place the event time(s) here.

Unknownoptional
Locationlocation

Place the location of the event here.

Unknownsuggested
Networknetwork

Place the broadcasting network of the event here.

Unknownoptional
Firstfirst

Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Bryce Harper<br />Washington Nationals'''

Unknownoptional
Mostmost

no description

Unknownoptional
Fewestfewest

no description

Unknownoptional
First_roundfirst_round

Place here the number of picks made in the first round (including the supplemental first round). Example: '''52'''

Unknownoptional
Overalloverall

Place here the number of picks made in all rounds . Example: '''1355'''

Unknownoptional