Template:Infobox player/basics/fielder/yes

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
(Updated Usage)
Line 1: Line 1:
-
{| class="wikitable" align="right"
+
<includeonly>{| class="wikitable" align="right"
! colspan="2" align="center" | {{{firstname}}} {{{lastname}}}
! colspan="2" align="center" | {{{firstname}}} {{{lastname}}}
|-
|-
Line 17: Line 17:
| E RES = {{rank15|{{{eres}}}}} '''{{{eres}}}'''
| E RES = {{rank15|{{{eres}}}}} '''{{{eres}}}'''
|}
|}
-
<includeonly>[[Category:Custom_{{ #ifeq: {{pos}} | P | Pitchers | Fielders }}_({{{platform}}})|{{{lastname}}},{{{firstname}}}]]</includeonly><noinclude>
+
[[Category:Custom_{{ #ifeq: {{{pos1}}} | P | Pitchers | Fielders }}_({{{platform}}})|{{{lastname}}},{{{firstname}}}]]</includeonly><noinclude>
{{Usage|
{{Usage|
This is the info box for custom players.
This is the info box for custom players.
 +
 +
<pre>
 +
{{Infobox player
 +
|firstname=Test
 +
|lastname=Player
 +
|platform=Wii
 +
|birthday=25
 +
|birthmonth=December
 +
|birthyear=1958
 +
|team=15
 +
|uniform=24
 +
|bats=Right
 +
|throws=Left
 +
|numpositions=1
 +
|pos1=CF
 +
|pos1lvl=A
 +
|con=11
 +
|pwr=142
 +
|trj=3
 +
|run=15
 +
|arm=12
 +
|fld=13
 +
|eres=15
 +
}}
 +
</pre>
 +
 +
will then return:
 +
 +
{{Infobox player
 +
|firstname=Test
 +
|lastname=Player
 +
|platform=Wii
 +
|birthday=25
 +
|birthmonth=December
 +
|birthyear=1958
 +
|team=15
 +
|uniform=24
 +
|bats=Right
 +
|throws=Left
 +
|numpositions=1
 +
|pos1=CF
 +
|pos1lvl=A
 +
|con=11
 +
|pwr=142
 +
|trj=3
 +
|run=15
 +
|arm=12
 +
|fld=13
 +
|eres=15
 +
}}
 +
}}</noinclude>
}}</noinclude>

Revision as of 07:29, 27 February 2008

Usage

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

This is the info box for custom players.

{{Infobox player
|firstname=Test
|lastname=Player
|platform=Wii
|birthday=25
|birthmonth=December
|birthyear=1958
|team=15
|uniform=24
|bats=Right
|throws=Left
|numpositions=1
|pos1=CF
|pos1lvl=A
|con=11
|pwr=142
|trj=3
|run=15
|arm=12
|fld=13
|eres=15
}}

will then return:

Test Player
Born: 25
Oakland Athletics Uniform #
Position: Platform: Wii
TRJ = ERR
CON = Expression error: Unexpected >= operator PWR = Expression error: Unexpected > operator
RUN SPD = Expression error: Unexpected >= operator ARM STR = Expression error: Unexpected >= operator
FLD = Expression error: Unexpected >= operator E RES = Expression error: Unexpected >= operator




Personal tools