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

From blackwiki
Jump to navigation Jump to search
imported>Jjwyatt
m (typo)
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 place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
{{R with history}} {{R to subpage}} {{R from subpage}}
This infobox was created for [[National Pro Fastpitch]] draft articles.
 
 
 
== Usage ==
 
<pre>
 
{{Infobox NPF Draft
 
| name =
 
| image =
 
| caption =
 
| sport =
 
| date = <!-- or dates = -->
 
| time =
 
| network =
 
| location =
 
| league =
 
| teams =
 
| expansion_teams = <!-- or expansion_team = -->
 
| expansion_season =
 
| first =
 
| most =
 
| fewest =
 
| overall =
 
| prev =
 
| next =
 
}}</pre>
 
 
 
=== Parameters ===
 
{| class="wikitable"
 
|-
 
!Parameter
 
!Explanation
 
|-
 
!year
 
| Place the year of the draft. Example '''2004'''.
 
|-
 
!image
 
| Place an image that represents the NPF draft of the given year or any new image that has to do with the current season and/or NPF.
 
|-
 
!imagesize
 
| Place the size of image you would like to show in pixels. Example '''###px'''
 
|-
 
!caption
 
| Place caption here that will show below the image given.
 
|-
 
!date(s)
 
| Place the event date(s) here.
 
|-
 
!time(s)
 
| Place the event time(s) here. 
 
|-
 
!network(s)
 
| Place the broadcasting network of the event here. 
 
|-
 
!location
 
| Place the location of the event here.
 
|-
 
!first
 
| Place the first overall pick's name here, position and team drafted.<br />Example:<br />'''Jane Doe, P<br />New York Juggernaut'''
 
|-
 
!most
 
| Place the name of the team(s) with the '''most''' picks here.<br />Example:<br />'''Arizona Heat (12)'''
 
|-
 
!fewest
 
| Place the name of the team(s) with the '''fewest''' picks here.<br />Example:<br />'''Philadelphia Force (4)<br />Carolina Diamonds'''
 
|-
 
!overall
 
| Place here the number of picks made. Example: '''252'''
 
|}
 
{{clear}}
 
 
 
== Example code ==
 
 
 
{{Infobox NPF Draft
 
| name = 2015 NPF College Draft
 
| sport = [[softball]]
 
| year    = 2015
 
<!-- Commented out: | image= 2015_NPF_Draft.png -->
 
| imagesize=
 
| caption  =
 
| date    = April 1, 2015
 
| time = 12:00
 
| network = [[CBS Sports Network]]
 
| location = [[Nashville]], [[Tennessee]]
 
| league=[[National Pro Fastpitch]]
 
| first    =  [[Jane Doe]] LHP [[Yale]]<br>
 
<small>selected by [[Chicago Bandits]]</small>
 
|most=[[Dallas Charge]], 15
 
|fewest=[[Akron Racers]],5
 
|overall= 50 selections
 
|prev=[[2014 NPF Draft]]
 
|next=[[2016 NPF Draft]]
 
}}
 
<pre style="overflow:auto">
 
{{Infobox NPF Draft
 
| name = 2015 NPF College Draft
 
| sport = [[softball]]
 
| year    = 2015
 
<!-- Commented out: | image= 2015_NPF_Draft.png -->
 
| imagesize=
 
| caption  =
 
| date    = April 1, 2015
 
| time = 12:00
 
| network = [[CBS Sports Network]]
 
| location = [[Nashville]], [[Tennessee]]
 
| league=[[National Pro Fastpitch]]
 
| first    =  [[Jane Doe]] LHP [[Yale]]<br>
 
<small>selected by [[Chicago Bandits]]</small>
 
|most=[[Dallas Charge]], 15
 
|fewest=[[Akron Racers]],5
 
|overall= 50 selections
 
|prev=[[2014 NPF Draft]]
 
|next=[[2016 NPF Draft]]
 
}}
 
</pre>
 
results in the infobox displayed on the right.
 
 
 
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Sports infobox templates|Draft]]
 
}}</includeonly>
 

Latest revision as of 17:47, 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).