Template:Infobox player

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
-
<div style="float:right; clear:both; width:250px; overflow:shown; position:relative; margin:0em; padding:0em 0em 0em 1em; background:white;">
+
<includeonly><div style="float:right; width:250px; overflow:shown; position:absolute; top:0; left:0; margin:0em; padding:0em 0em 0em 1em; background:white;">
{{Infobox player/portrait/{{{portrait|no}}}}}
{{Infobox player/portrait/{{{portrait|no}}}}}
{{Infobox player/basics
{{Infobox player/basics
-
|firstname={{{firstname|}}}
+
|firstname={{{firstname}}}
-
|middlename={{{middlename|}}}
+
|middlename={{{middlename}}}
-
|lastname={{{lastname|}}}
+
|lastname={{{lastname}}}
-
|team={{{team|}}}
+
|team={{{team}}}
-
|number={{{number|}}}
+
|number={{{number}}}
-
|birthday={{{birthday|}}}
+
|birthday={{{birthday}}}
-
|experience={{{experience|}}}
+
|experience={{{experience}}}
-
|position={{{mainpos|}}}
+
|position={{{mainpos}}}
-
|bats={{{bats|}}}
+
|bats={{{bats}}}
-
|throws={{{throws|}}}
+
|throws={{{throws}}}
-
|platform={{{platform|}}}
+
|platform={{{platform}}}
}}{{Infobox player/basics/pitcher/{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | yes | no }}
}}{{Infobox player/basics/pitcher/{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | yes | no }}
-
|topspeed={{{topspeed|1}}}
+
|topspeed={{{topspeed}}}
-
|control={{{control|1}}}
+
|control={{{control}}}
-
|stamina={{{stamina|1}}}
+
|stamina={{{stamina}}}
}}{{Infobox player/basics/fielder/{{{showfielderbasics|{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | no | yes }}}}}
}}{{Infobox player/basics/fielder/{{{showfielderbasics|{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | no | yes }}}}}
-
|contact={{{contact|1}}}
+
|contact={{{contact}}}
-
|power={{{power|1}}}
+
|power={{{power}}}
-
|trajectory={{{trajectory|1}}}
+
|trajectory={{{trajectory}}}
-
|runspeed={{{runspeed|1}}}
+
|runspeed={{{runspeed}}}
-
|armstrength={{{armstrength|1}}}
+
|armstrength={{{armstrength}}}
-
|fielding={{{fielding|1}}}
+
|fielding={{{fielding}}}
-
|errorresist={{{errorresist|1}}}
+
|errorresist={{{errorresist}}}
}}{{Infobox player/pitcher/pitchdiag/{{{showpitchdiag|no}}}
}}{{Infobox player/pitcher/pitchdiag/{{{showpitchdiag|no}}}
-
|pitchtypeU={{{pitchtypeU|}}}
 
-
|pitchbreakU={{{pitchbreakU|}}}
 
-
|pitchtypeR1={{{pitchtypeR1|}}}
 
-
|pitchbreakR1={{{pitchbreakR1|}}}
 
-
|pitchtypeR2={{{pitchtypeR2|}}}
 
-
|pitchbreakR2={{{pitchbreakR2|}}}
 
-
|pitchtypeDR1={{{pitchtypeDR1|}}}
 
-
|pitchbreakDR1={{{pitchbreakDR1|}}}
 
-
|pitchtypeDR2={{{pitchtypeDR2|}}}
 
-
|pitchbreakDR2={{{pitchbreakDR2|}}}
 
-
|pitchtypeD1={{{pitchtypeD1|}}}
 
-
|pitchbreakD1={{{pitchbreakD1|}}}
 
-
|pitchtypeD2={{{pitchtypeD2|}}}
 
-
|pitchbreakD2={{{pitchbreakD2|}}}
 
-
|pitchtypeDL1={{{pitchtypeDL1|}}}
 
-
|pitchbreakDL1={{{pitchbreakDL1|}}}
 
-
|pitchtypeDL2={{{pitchtypeDL2|}}}
 
-
|pitchbreakDL2={{{pitchbreakDL2|}}}
 
-
|pitchtypeL1={{{pitchtypeL1|}}}
 
-
|pitchbreakL1{{{pitchbreakL1|}}}
 
-
|pitchtypeL2={{{pitchtypeL2|}}}
 
-
|pitchbreakL2={{{pitchbreakL2|}}}
 
}}{{Infobox player/battingzones/{{{showhotzones|no}}}
}}{{Infobox player/battingzones/{{{showhotzones|no}}}
-
|hotzones={{{hotzones|}}}
+
|SZ1={{{SZ1}}}
-
|coldzones={{{coldzones|}}}
+
|SZ2={{{SZ2}}}
 +
|SZ3={{{SZ3}}}
 +
|SZ4={{{SZ4}}}
 +
|SZ5={{{SZ5}}}
 +
|SZ6={{{SZ6}}}
 +
|SZ7={{{SZ7}}}
 +
|SZ8={{{SZ8}}}
 +
|SZ9={{{SZ9}}}
}}{{Infobox player/fieldpos/{{{showposchart|no}}}
}}{{Infobox player/fieldpos/{{{showposchart|no}}}
-
|P={{{P|G}}}
+
|P={{{P}}}
-
|C={{{C|G}}}
+
|C={{{C}}}
-
|1B={{{1B|G}}}
+
|1B={{{1B}}}
-
|2B={{{2B|G}}}
+
|2B={{{2B}}}
-
|3B={{{3B|G}}}
+
|3B={{{3B}}}
-
|SS={{{SS|G}}}
+
|SS={{{SS}}}
-
|LF={{{LF|G}}}
+
|LF={{{LF}}}
-
|CF={{{CF|G}}}
+
|CF={{{CF}}}
-
|RF={{{RF|G}}}
+
|RF={{{RF}}}
-
}}</div><includeonly>[[Category:Custom_{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | Pitchers | Fielders }}_({{{platform|}}})|{{{lastname|}}},{{{firstname|}}}]]</includeonly>
+
}}</div>[[Category:Custom_{{ #ifeq: {{lc:{{{mainpos|}}}}} | pitcher | Pitchers | Fielders }}_({{{platform|}}})|{{{lastname|}}},{{{firstname|}}}]]</includeonly>
-
<noinclude>{{usage|1=This is a catch-all for creating infoboxes for custom players.
+
<noinclude>{{usage|This is a catch-all for creating infoboxes for custom players.}}
 +
The following example is shown on this page
 +
<pre>
 +
{{Infobox player
 +
|firstname=Test
 +
|middlename=K.
 +
|lastname=Player
 +
|team=25
 +
|number=24
 +
|birthday=April 1, 1986
 +
|experience=0
 +
|position=2B
 +
|bats=Right
 +
|throws=Right
 +
|platform=Wii
 +
|contact=13
 +
|power=165
 +
|trajectory=2
 +
|runspeed=14
 +
|armstrength=12
 +
|fielding=15
 +
|errorresist=15
 +
|showhotzones=Right
 +
|SZ1=Cold
 +
|SZ3=Hot
 +
|SZ5=Hot
 +
|SZ8=Hot
 +
|showposchart=yes
 +
|1B=E
 +
|2B=A
 +
|3B=E
 +
|SS=C
 +
}}</pre>
 +
{{Infobox player
 +
|firstname=Test
 +
|middlename=K.
 +
|lastname=Player
 +
|team=25
 +
|number=24
 +
|birthday=April 1, 1986
 +
|experience=0
 +
|position=2B
 +
|bats=Right
 +
|throws=Right
 +
|platform=Wii
 +
|contact=13
 +
|power=165
 +
|trajectory=2
 +
|runspeed=14
 +
|armstrength=12
 +
|fielding=15
 +
|errorresist=15
 +
|showhotzones=right
 +
|SZ1=Cold
 +
|SZ3=Hot
 +
|SZ5=Hot
 +
|SZ8=Hot
 +
|showposchart=yes
 +
|1B=E
 +
|2B=A
 +
|3B=E
 +
|SS=C
}}</noinclude>
}}</noinclude>

Revision as of 03:52, 31 May 2008

Usage

These usage notes will not be included in articles bearing this template.

This is a catch-all for creating infoboxes for custom players.


The following example is shown on this page

{{Infobox player
|firstname=Test
|middlename=K.
|lastname=Player
|team=25
|number=24
|birthday=April 1, 1986
|experience=0
|position=2B
|bats=Right
|throws=Right
|platform=Wii
|contact=13
|power=165
|trajectory=2
|runspeed=14
|armstrength=12
|fielding=15
|errorresist=15
|showhotzones=Right
|SZ1=Cold
|SZ3=Hot
|SZ5=Hot
|SZ8=Hot
|showposchart=yes
|1B=E
|2B=A
|3B=E
|SS=C
}}
Test K. Player
Born: April 1, 1986
Seattle Mariners Uniform #24
Position: Platform: Wii
TRJ = 2
CON = 13 PWR = 165
RUN SPD = 14 ARM STR = 12
FLD = 15 E RES = 15
Hitting Zones - Right Handed
GdStrike-Righty.png
Image:Fielder_Levels.png
Image:Rank_G.png
Image:Rank_G.png
Image:Rank_E.png
Image:Rank_A.png
Image:Rank_E.png
Image:Rank_C.png
Image:Rank_G.png
Image:Rank_G.png
Image:Rank_G.png


Personal tools