Difference between revisions of "Template:Highschoolteam"

From QBWiki
Jump to navigation Jump to search
(Adding "School Size" section, in regards to Small School.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float: right; margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%; width: 300px;"
+
<includeonly>{| class="wikitable" style="float: right; margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%; width: 300px;"
| align="center" colspan="2" style="background:#f9f9f9; text-align:center;"| <font style="font-size:9pt">'''{{{Name}}}'''</font>
+
| align="center" colspan="2" style="background:#f9f9f9; text-align:center;"| <font style="font-size:9pt">'''{{{Display Name|{{{Name|{{{1}}}}}}}}}'''</font>
 
|-
 
|-
! align=center colspan=2 | [[Image:{{{image}}}]]
+
{{if|test={{{image|}}}|then=
 +
{{!-}}
 +
! align=center colspan=2 {{!}} [[File:{{{image}}}|250px]]
 +
{{!-}}
 +
}}
 
|-
 
|-
! align=center colspan=2| Location: <br> {{{citystate}}}
+
! align=center colspan=2| Location: <br> {{{citystate|{{{2}}}}}}
 
|-
 
|-
|'''Club President'''|| {{{currentpres|None}}}
+
{{if|test={{{currentpres|}}}|then=
 +
{{!-}}
 +
{{!}}'''Club Presidents'''{{!!}} {{{currentpres}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''Coaches'''|| {{{currentcoach|None}}}
+
{{if|test={{{currentcoach|{{{coach|}}}}}}|then=
 +
{{!-}}
 +
{{!}}'''Coaches'''{{!!}} {{{currentcoach|{{{coach}}}}}}
 +
{{!-}}
 +
}}
 +
{{if|test={{{state|}}}|then=
 +
{{!-}}
 +
{{!}}'''State Championships'''{{!!}} {{{state}}}
 +
{{!-}}
 +
}}
 +
{{if|test={{{nats|{{{atnats|}}}}}}|then=
 +
{{!-}}
 +
{{!}}'''National Championships'''{{!!}} {{{nats|{{{atnats}}}}}}
 +
{{!-}}
 +
}}
 +
{{if|test={{{nats appearances|}}}|then=
 +
{{!-}}
 +
{{!}}'''National Appearances'''{{!!}} {{{nats appearances}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''State Championships'''|| {{{state|None}}}
+
|'''Program Status'''|| {{{status|Unknown}}}
 
|-
 
|-
|'''National Championships'''|| {{{nats|None}}}
+
|'''School Size'''|| {{{size|Unknown}}}
 
|-
 
|-
|'''National Appearances'''|| {{{nats appearances|Unknown}}}
+
|'''NAQT Page'''|| [https://www.naqt.com/stats/school/search.jsp?PASSBACK=SCHOOL_SEARCH&name={{#replace:{{#replace:{{{Name|{{{Display Name|{{{1}}}}}}}}}|-|+}}| |+}}&city=&state=&country= link]
 
|-
 
|-
|'''Program Status'''|| {{{status|Unknown}}}
+
{{if|test={{{website|}}}|then=
 +
{{!-}}
 +
{{!}}'''Website'''{{!!}} [{{{website}}} link]
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''School Size'''|| {{{size|Unknown}}}
+
|}[[Category: High school teams]]</includeonly><noinclude>
|}
+
 
<includeonly>[[Category: High school teams]]</includeonly><noinclude>
+
 
== Raw wikitext ==
+
==Usage==
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Highschoolteam|Name = Bellarmine College Preparatory
+
{{Highschoolteam
 +
|Display Name = Bellarmine
 +
|Name = Bellarmine College Preparatory
 
|image = Bellarmine.jpeg
 
|image = Bellarmine.jpeg
 
|citystate = San Jose, CA
 
|citystate = San Jose, CA
Line 30: Line 63:
 
|nats = [[2012 HSNCT]]
 
|nats = [[2012 HSNCT]]
 
|nats appearances = HSNCT: 2009-2013 <br/> PACE: 2011, 2012
 
|nats appearances = HSNCT: 2009-2013 <br/> PACE: 2011, 2012
| }}
+
|website = https://www.bcp.org/
</pre>
+
|}}</pre>
  
 
== Output ==
 
== Output ==
 
{{Highschoolteam
 
{{Highschoolteam
 +
|Display Name = Bellarmine
 
|Name = Bellarmine College Preparatory
 
|Name = Bellarmine College Preparatory
 
|image = Bellarmine.jpeg
 
|image = Bellarmine.jpeg
Line 42: Line 76:
 
|nats = [[2012 HSNCT]]
 
|nats = [[2012 HSNCT]]
 
|nats appearances = HSNCT: 2009-2013 <br/> PACE: 2011, 2012
 
|nats appearances = HSNCT: 2009-2013 <br/> PACE: 2011, 2012
 +
|website = https://www.bcp.org/
 
| }}
 
| }}
  
== Parameters ==
+
===Parameters===
  
* '''Name''': Full name of school
+
* '''Name'''/{{{1}}}: Full name of school
* '''image''': Image of school or school logo
+
* '''image''': Image of school or school logo (optional)
* '''citystate''': Information about City, State/Province and country (if outside of North America). Can give address
+
* '''citystate'''/{{{2}}}: Information about City, State/Province and country (if outside of North America).
* '''currentpres''': Current student club president if any; indicate if there is no president
+
* '''currentpres''': Current student club president if any (optional)
* '''currentcoach''': Any coaching staff; indicate if there is no coach
+
* '''currentcoach'''/'''coach''': Any coaching staff (optional)
* '''state''': State championships won; list years and tournament name if not NAQT
+
* '''state''': State championships won; list years and tournament name if not NAQT (optional)
* '''nats''': National championships won; list years and tournament
+
* '''nats''': National championships won; list years and tournament (optional)
* '''nationals appearances''': appearances at national championships
+
* '''nationals appearances'''/'''atnats''': appearances at national championships (optional)
* '''status''': whether or not a team has participated in an event in the current or previous school year
+
* '''status''': whether or not a team has participated in an event in the current or previous school year (optional)
* '''size''': Can give enrollment figures. Indicates Small School eligibility
+
* '''size''': Can give enrollment figures. Indicates Small School eligibility (optional)
 +
* '''website''': A link to the school's website (remember to begin the url with https://) (optional)
 
</noinclude>
 
</noinclude>

Latest revision as of 12:16, 28 July 2022


Usage

{{Highschoolteam
|Display Name = Bellarmine
|Name = Bellarmine College Preparatory
|image = Bellarmine.jpeg
|citystate = San Jose, CA
|currentcoach = [[Chris Fleitas]] (2007-present) <br/> Joe Romano (Assistant Coach)
|state = [[NAQT Northern California Championship|NorCal]] 2008, 2011, 2012
|nats = [[2012 HSNCT]]
|nats appearances = HSNCT: 2009-2013 <br/> PACE: 2011, 2012
|website = https://www.bcp.org/
|}}

Output

Bellarmine
Bellarmine.jpeg
Location:
San Jose, CA
Coaches Chris Fleitas (2007-present)
Joe Romano (Assistant Coach)
State Championships NorCal 2008, 2011, 2012
National Championships 2012 HSNCT
National Appearances HSNCT: 2009-2013
PACE: 2011, 2012
Program Status Unknown
School Size Unknown
NAQT Page link
Website link

Parameters

  • Name/{{{1}}}: Full name of school
  • image: Image of school or school logo (optional)
  • citystate/{{{2}}}: Information about City, State/Province and country (if outside of North America).
  • currentpres: Current student club president if any (optional)
  • currentcoach/coach: Any coaching staff (optional)
  • state: State championships won; list years and tournament name if not NAQT (optional)
  • nats: National championships won; list years and tournament (optional)
  • nationals appearances/atnats: appearances at national championships (optional)
  • status: whether or not a team has participated in an event in the current or previous school year (optional)
  • size: Can give enrollment figures. Indicates Small School eligibility (optional)
  • website: A link to the school's website (remember to begin the url with https://) (optional)