Difference between revisions of "Template:Highschoolteam"

From QBWiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<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;"
 
<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>
 
|-
 
|-
 
{{if|test={{{image|}}}|then=
 
{{if|test={{{image|}}}|then=
Line 8: Line 8:
 
}}
 
}}
 
|-
 
|-
! align=center colspan=2| Location: <br> {{{citystate}}}
+
! align=center colspan=2| Location: <br> {{{citystate|{{{2}}}}}}
 
|-
 
|-
 
{{if|test={{{currentpres|}}}|then=
 
{{if|test={{{currentpres|}}}|then=
 
{{!-}}
 
{{!-}}
{{!}}'''Club President'''{{!!}} {{{currentpres}}}
+
{{!}}'''Club Presidents'''{{!!}} {{{currentpres}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
 
|-
 
|-
{{if|test={{{currentcoach|}}}|then=
+
{{if|test={{{currentcoach|{{{coach|}}}}}}|then=
 
{{!-}}
 
{{!-}}
{{!}}'''Coaches'''{{!!}} {{{currentcoach}}}
+
{{!}}'''Coaches'''{{!!}} {{{currentcoach|{{{coach}}}}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 26: Line 26:
 
{{!-}}
 
{{!-}}
 
}}
 
}}
{{if|test={{{nats|}}}|then=
+
{{if|test={{{nats|{{{atnats|}}}}}}|then=
 
{{!-}}
 
{{!-}}
{{!}}'''National Championships'''{{!!}} {{{nats}}}
+
{{!}}'''National Championships'''{{!!}} {{{nats|{{{atnats}}}}}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 41: Line 41:
 
|'''School Size'''|| {{{size|Unknown}}}
 
|'''School Size'''|| {{{size|Unknown}}}
 
|-
 
|-
|'''NAQT Page'''|| [https://www.naqt.com/stats/school/search.jsp?PASSBACK=SCHOOL_SEARCH&name={{#replace:{{#replace:{{{Name}}}|-|+}}| |+}}&city=&state=&country= link]
+
|'''NAQT Page'''|| [https://www.naqt.com/stats/school/search.jsp?PASSBACK=SCHOOL_SEARCH&name={{#replace:{{#replace:{{{Name|{{{Display Name|{{{1}}}}}}}}}|-|+}}| |+}}&city=&state=&country= link]
 +
|-
 +
{{if|test={{{website|}}}|then=
 +
{{!-}}
 +
{{!}}'''Website'''{{!!}} [{{{website}}} link]
 +
{{!-}}
 +
}}
 
|-
 
|-
 
|}[[Category: High school teams]]</includeonly><noinclude>
 
|}[[Category: High school teams]]</includeonly><noinclude>
 +
 +
 
==Usage==
 
==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 53: 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 64: 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 (optional)
 
* '''image''': Image of school or school logo (optional)
* '''citystate''': Information about City, State/Province and country (if outside of North America).
+
* '''citystate'''/{{{2}}}: Information about City, State/Province and country (if outside of North America).
 
* '''currentpres''': Current student club president if any (optional)
 
* '''currentpres''': Current student club president if any (optional)
* '''currentcoach''': Any coaching staff (optional)
+
* '''currentcoach'''/'''coach''': Any coaching staff (optional)
 
* '''state''': State championships won; list years and tournament name if not NAQT (optional)
 
* '''state''': State championships won; list years and tournament name if not NAQT (optional)
 
* '''nats''': National championships won; list years and tournament (optional)
 
* '''nats''': National championships won; list years and tournament (optional)
* '''nationals appearances''': appearances at national championships (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)
 
* '''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)
 
* '''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)