Difference between revisions of "Template:Coachbox"

From QBWiki
Jump to navigation Jump to search
m (remove empty paragraph)
 
(8 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 11: Line 11:
 
|}
 
|}
 
|-
 
|-
{{#if: {{{currentschool}}}|
+
{{#if: {{{currentschool|}}}|
 
{{!-}}
 
{{!-}}
 
{{!}}'''Current Team Coached''' {{!!}} {{{currentschool}}}
 
{{!}}'''Current Team Coached''' {{!!}} {{{currentschool}}}
Line 17: Line 17:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{schoolpast}}}|
+
{{#if: {{{schoolpast|}}}|
 
{{!-}}
 
{{!-}}
 
{{!}}'''Past Teams Coached''' {{!!}} {{{schoolpast}}}
 
{{!}}'''Past Teams Coached''' {{!!}} {{{schoolpast}}}
Line 23: Line 23:
 
}}
 
}}
 
|-
 
|-
|'''College''' || {{{colpast}}}
+
{{#if: {{{colpast|}}}|
 +
{{!-}}
 +
{{!}}'''College''' {{!!}} {{{colpast}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''High School''' || {{{hspast}}}
+
{{#if: {{{hspast|}}}|
 +
{{!-}}
 +
{{!}}'''High School''' {{!!}} {{{hspast}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|}</includeonly>
+
{{#if:{{{nostats|}}}||
<noinclude>{{Coachbox
+
{{!}}'''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]
| Name=Name
+
}}|[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 35: Line 57:
 
| colpast=colpast
 
| colpast=colpast
 
| hspast=hspast
 
| hspast=hspast
}}<pre>
+
| nostats = if value is provided, then no stats will be shown
{{Coachbox
 
| Name=Name
 
| Image=Image (optional)
 
| currentschool=currentschool (optional)
 
| schoolpast=schoolpast (optional)
 
| colpast=colpast
 
| hspast=hspast
 
 
}}
 
}}
 
</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
}}