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

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(Requesting speedy deletion (CSD G6). (TW))
imported>Steel1943
(#REDIRECT Template:Infobox sports draft {{R with history}} {{R to subpage}} {{R from subpage}})
Line 1: Line 1:
<noinclude>{{db-g6|rationale=Base template has been merged}}</noinclude>
+
#REDIRECT [[Template:Infobox sports draft]]
{{Documentation subpage}}
+
{{R with history}} {{R to subpage}} {{R from subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
 
 
=== Usage ===
 
This template is used on NHL Amateur/Entry Draft pages for navigation. Its parameters are listed below.
 
 
 
* year – the year the respective draft took place in. '''Note: ''' This parameter is mandatory, as it is also used to build the predecessor and successor articles. Per template design, if one of these articles does not exist, the respective link will not be displayed.
 
* type – may be either <code>entry</code>, <code>amateur</code>, <code>dispersal</code>, <code>expansion</code>, <code>dispersal and expansion</code>, or <code>supplemental</code> (default is <code>entry</code>)
 
* logo – Filename for the logo of the respective draft; name should be provided without "File:" prefix.
 
* logosize – the size of the logo in [[pixel]], values should be formed similar to "180px"
 
* caption – an image caption; can be left blank
 
* date – the date the draft takes place on
 
* time – the time the draft takes place on; can be left blank
 
* expansion_teams – teams selecting players in an expansion draft
 
* location – the location of the draft
 
* network – TV networks which are carrying broadcasts of the draft; can be left blank
 
* first – name of the player picked first overall
 
* arena – The arena in which it was held
 
 
 
== Example code ==
 
{{Infobox NHL Draft
 
| year    = 2010
 
| logo    =
 
| caption  =
 
| date    = June 25–26, 2010
 
| location = [[Los Angeles]], [[California]]
 
| first    = {{flagicon|CAN}} [[Taylor Hall (ice hockey b. 1991)|Taylor Hall]]
 
| arena    = [[Staples Center]]
 
}}
 
<pre style="overflow:auto">
 
{{Infobox NHL Draft
 
| year    = 2010
 
| logo    =
 
| caption  =
 
| date    = June 25–26, 2010
 
| location = [[Los Angeles]], [[California]]
 
| first    = {{flagicon|CAN}} [[Taylor Hall (ice hockey b. 1991)|Taylor Hall]]
 
| arena    = [[Staples Center]]
 
}}
 
</pre>
 
results in the infobox displayed on the right.
 
 
 
<includeonly>{{basepage subpage|
 
<!-- Categories go here: -->
 
[[Category:Ice hockey infobox templates|NHL draft]]
 
}}</includeonly>
 

Revision as of 07:52, 7 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).