Difference between revisions of "Template:Coachbox"

From QBWiki
Jump to navigation Jump to search
m (remove empty paragraph)
 
(6 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
| align="center" colspan="2"|
 
| align="center" colspan="2"|
 
{| border=0 align=right cellpadding=4 cellspacing=4 width=310 style="background:#f9f9f9; text-align:center;"
 
{| border=0 align=right cellpadding=4 cellspacing=4 width=310 style="background:#f9f9f9; text-align:center;"
| width="160px"| <font style="font-size:9pt">'''{{{Name}}}'''</font>
+
| width="160px"| <font style="font-size:112%">'''{{{Name}}}'''</font>
 
|-
 
|-
 
{{if|test={{{Image|}}}|then=
 
{{if|test={{{Image|}}}|then=
Line 23: Line 23:
 
}}
 
}}
 
|-
 
|-
|'''College''' || {{{colpast}}}
+
{{#if: {{{colpast|}}}|
|-
+
{{!-}}
|'''High School''' || {{{hspast}}}
+
{{!}}'''College''' {{!!}} {{{colpast}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
{{#if: {{{firstname|}}}| {{#if:{{{lastname|}}}|
+
{{#if: {{{hspast|}}}|
 
{{!-}}
 
{{!-}}
{{!}}'''Stats''' {{!!}} [https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}} HDWhite]<br>[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}} NAQT page]
+
{{!}}'''High School''' {{!!}} {{{hspast}}}
 
{{!-}}
 
{{!-}}
}}}}
+
}}
|}</includeonly>
+
|-
<noinclude>{{Coachbox
+
{{#if:{{{nostats|}}}||
| Name=Name
+
{{!}}'''Stats''' {{!!}} {{#if:{{{firstname|}}}|{{#if:{{{lastname|}}}| [https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}} HDWhite]<br>[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}} NAQT page]
 +
}}|[https://hdwhite.org/qb/stats/player/{{#explode:{{{Name}}}| |0}}+{{#explode:{{{Name}}}| |-1}} HDWhite]<br>[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{#explode:{{{Name}}}| |0}}&last_name={{#explode:{{{Name}}}| |-1}} NAQT page]
 +
}}
 +
}}
 +
|-
 +
|}</includeonly><!--
 +
--><noinclude>{{Coachbox
 +
| Name=Firstname Lastname
 +
| Image=Image (optional)
 +
| currentschool=currentschool (optional)
 +
| schoolpast=schoolpast (optional)
 +
| colpast=colpast (optional)
 +
| hspast=hspast (optional)
 +
}}<pre>
 +
{{Coachbox
 +
| Name=Firstname Lastname
 
| Image=Image
 
| Image=Image
 
| currentschool=currentschool
 
| currentschool=currentschool
Line 40: Line 57:
 
| colpast=colpast
 
| colpast=colpast
 
| hspast=hspast
 
| hspast=hspast
| firstname=firstname
+
| nostats = if value is provided, then no stats will be shown
| lastname=lastname
 
}}<pre>
 
{{Coachbox
 
| Name=Name
 
| Image=Image (optional)
 
| currentschool=currentschool (optional)
 
| schoolpast=schoolpast (optional)
 
| colpast=colpast
 
| hspast=hspast
 
| firstname=firstname
 
| lastname=lastname
 
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 00:05, 1 May 2021

Firstname Lastname
File:Image (optional)
Current Team Coached currentschool (optional)
Past Teams Coached schoolpast (optional)
College colpast (optional)
High School hspast (optional)
Stats HDWhite
NAQT page
{{Coachbox
| Name=Firstname Lastname
| Image=Image
| currentschool=currentschool
| schoolpast=schoolpast
| colpast=colpast
| hspast=hspast
| nostats = if value is provided, then no stats will be shown
}}