Template:Baseballstats/testcases
Appearance
This is the template test cases page for the sandbox of Template:Baseballstats. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Spacing tests
[edit]Invoked without external bullet and without nobullet
Some text blah blah. {{Baseballstats |mlb=|espn=|br=|fangraphs=|brm=bleis-000mig}}
{{Baseballstats}}
Some text blah blah.
- Career statistics from Baseball Reference (Minors)
Some text blah blah.
• Career statistics and player information from Baseball-Reference (Minors)
Invoked with external bullet and without nobullet
Some text blah blah. * {{Baseballstats |mlb=|espn=|br=|fangraphs=|brm=bleis-000mig}}
{{Baseballstats}}
Some text blah blah.
- Career statistics from Baseball Reference (Minors)
Some text blah blah.
- • Career statistics and player information from Baseball-Reference (Minors)
Player tests
[edit]Roberto Clemente 1
{{Baseballstats |br=c/clemero01 |retro=C/Pclemr101 |fangraphs=1002340 |cube=9963 }}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs, or Retrosheet |
Roberto Clemente 2
{{Baseballstats |br=c/clemero01 |fangraphs=1002340 |cube=9963 |retro=}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs |
Roberto Clemente 3
{{Baseballstats |cube=9963 |retro= |br= |fangraphs=1002340}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Fangraphs |
Roberto Clemente 4
{{Baseballstats |id=c/ |br=clemero01 |fangraphs=1002340 |cube=9963 |retro=}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs |
Roberto Clemente 5
{{Baseballstats |br=clemero01 |fangraphs=1002340 |cube=9963 |retro= |id=c/ }}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs |
Roberto Clemente 6
{{Baseballstats |id=c/clemero01 |fangraphs=1002340 |cube=9963 |retro=}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs |
Ty Cobb 1
{{Baseballstats |mlb= |espn= |br=c/cobbty01 |fangraphs=1002378 |cube=9996|brm=cobb--001tyr |retro=C/Pcobbt101}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs, or Baseball-Reference (Minors), or Retrosheet |
Ty Cobb 2
{{Baseballstats |retro=C/Pcobbt101 |mlb= |espn= |br=c/cobbty01 |fangraphs=1002378 |cube=9996|brm=cobb--001tyr }}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs, or Baseball-Reference (Minors), or Retrosheet |
Joe DiMaggio 1
{{Baseballstats |br=d/dimagjo01 |fangraphs=1003311 |cube=10765 |brm=dimagg001jos |retro=D/Pdimaj101}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs, or Baseball-Reference (Minors), or Retrosheet |
Joe DiMaggio 2
{{Baseballstats |br=d/dimagjo01 |retro=D/Pdimaj101 |fangraphs=1003311 |cube=10765 |brm=dimagg001jos |mlb= |espn=}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Fangraphs, or Baseball-Reference (Minors), or Retrosheet |
Ted Williams 1
{{Baseballstats |mlb=124341 |espn=28096 |br=w/willite01 |fangraphs=1014040 |cube=19737 |brm=willia002the |retro=W/Pwillt103}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from MLB, or ESPN, or Baseball-Reference, or Fangraphs, or Baseball-Reference (Minors), or Retrosheet |
Ted Williams 2
{{Baseballstats |espn=28096 |mlb=124341 }}
{{Baseballstats}} | → | |
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from MLB, or ESPN |
Enos Slaughter
{{Baseballstats |retro=S/Pslaue101 |INVALID=1234 |br=s/slaugen01}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Retrosheet |
Jim Rice
{{Baseballstats |br=r/riceji01 |retro=R/Pricej001}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Baseball-Reference, or Retrosheet |
Carlton Fisk
{{Baseballstats |retro=F/Pfiskc001}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → | • Career statistics and player information from Retrosheet |
unknown or missing parameters
[edit]One invalid parameter name
{{Baseballstats |BOGUS=bogus}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → |
• Career statistics and player information from Error: Template:Baseballstats must contain at least one valid parameter name. • Career statistics and player information from <span style="color: red;"> Error: [[Template:Baseballstats]] must contain at least one valid parameter name.</span> |
No parameters
{{Baseballstats}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → |
• Career statistics and player information from Error: Template:Baseballstats must contain at least one valid parameter name. • Career statistics and player information from <span style="color: red;"> Error: [[Template:Baseballstats]] must contain at least one valid parameter name.</span> |
cube parameter
[edit]cube=R/Cal-Ripken
{{Baseballstats |cube=R/Cal-Ripken}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → |
• Career statistics and player information from Error: Template:Baseballstats must contain at least one valid parameter name. • Career statistics and player information from <span style="color: red;"> Error: [[Template:Baseballstats]] must contain at least one valid parameter name.</span> |
cube=Cal-Ripken
{{Baseballstats |cube=Cal-Ripken}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → |
• Career statistics and player information from Error: Template:Baseballstats must contain at least one valid parameter name. • Career statistics and player information from <span style="color: red;"> Error: [[Template:Baseballstats]] must contain at least one valid parameter name.</span> |
cube=550
{{Baseballstats |cube=550}}
{{Baseballstats}} | → |
|
---|---|---|
{{Baseballstats/sandbox}} | → |
• Career statistics and player information from Error: Template:Baseballstats must contain at least one valid parameter name. • Career statistics and player information from <span style="color: red;"> Error: [[Template:Baseballstats]] must contain at least one valid parameter name.</span> |