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

From blackwiki
Jump to navigation Jump to search
imported>Sawol
imported>Steel1943
(#REDIRECT Template:Infobox sports draft/doc {{R with history}} {{R to subpage}} {{R from subpage}})
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Infobox sports draft/doc]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{R with history}} {{R to subpage}} {{R from subpage}}
This infobox was created for MLB Draft articles.
 
 
 
== Usage ==
 
{{Parameter names example|year|image|image_size|width|alt|caption|date|time|location|network|first|most|fewest|first_round|overall}}
 
<pre style="overflow:auto;">
 
{{Infobox MLB Draft
 
| year          =
 
| image        =
 
| image_size    =
 
| caption      =
 
| date          = <!-- {{Start date|YYYY|MM|DD}}-<br />{{End date|YYYY|MM|DD}} -->
 
| time          =
 
| location      =
 
| network      =
 
| first        =
 
| first_round  =
 
| overall      =
 
}}
 
</pre>
 
 
 
== 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>
 
 
 
== Microformat ==
 
{{UF-hcal}}
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Major League Baseball templates|Draft]]
 
[[Category:Baseball infobox templates|MLB Draft]]
 
</includeonly>
 

Latest revision as of 17:48, 15 December 2018

  • With history: This is a redirect from a page containing substantive page history. This page is kept as a redirect to preserve its former content and attributions. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated), nor delete this page.
    • This template should not be used for redirects having some edit history but no meaningful content in their previous versions, nor for redirects created as a result of a page merge (use {{R from merge}} instead), nor for redirects from a title that forms a historic part of Wikipedia (use {{R with old history}} instead).
  • From a subpage: This is a redirect from a subpage. In a page title, a subpage name appears after a forward slash (/); for example, "Wikipedia:WikiProject Cricket/Articles", which is a subpage of "Wikipedia:WikiProject Cricket", redirects to Template:CricketRecentChanges. Not all articles or other pages with "/" in their titles are subpages (e.g. CP/M).