Difference between revisions of "Template:Coachbox"

From QBWiki
Jump to navigation Jump to search
fix>Iambusyeating
 
m (remove empty paragraph)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border=1 align=right cellpadding=2 cellspacing=0 width=150 class="toccolours" style="margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;"
+
<includeonly>{| border=1 align=right cellpadding=2 cellspacing=0 width=150 class="toccolours" style="margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;"
 
 
 
| 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>
 
|-
 
|-
! align=center colspan=2 | [[Image:{{{Image}}}]]
+
{{if|test={{{Image|}}}|then=
 +
{{!-}}
 +
! align=center colspan=2 {{!}} [[Image:{{{Image}}}]]
 +
{{!-}}
 +
}}
 
|}
 
|}
 
|-
 
|-
|'''Current Team Coached''' || {{{currentschool}}}
+
{{#if: {{{currentschool|}}}|
 +
{{!-}}
 +
{{!}}'''Current Team Coached''' {{!!}} {{{currentschool}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''Past Teams Coached'''|| {{{schoolpast}}}
+
{{#if: {{{schoolpast|}}}|
 +
{{!-}}
 +
{{!}}'''Past Teams Coached''' {{!!}} {{{schoolpast}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|}
+
{{#if: {{{colpast|}}}|
 +
{{!-}}
 +
{{!}}'''College''' {{!!}} {{{colpast}}}
 +
{{!-}}
 +
}}
 +
|-
 +
{{#if: {{{hspast|}}}|
 +
{{!-}}
 +
{{!}}'''High School''' {{!!}} {{{hspast}}}
 +
{{!-}}
 +
}}
 +
|-
 +
{{#if:{{{nostats|}}}||
 +
{{!}}'''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
 +
| currentschool=currentschool
 +
| schoolpast=schoolpast
 +
| colpast=colpast
 +
| hspast=hspast
 +
| nostats = if value is provided, then no stats will be shown
 +
}}
 +
</pre>
 +
</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
}}