Difference between revisions of "Template:Coachbox"

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