Difference between revisions of "Template:Highschoolteam"

From QBWiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 5 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">'''{{{Display Name|{{{Name|{{{1}}}}}}}}}'''</font>
| align="center" colspan="2" style="background:#f9f9f9; text-align:center;"| <font style="font-size:9pt">'''{{{Name}}}'''</font>
+
|-
 +
{{if|test={{{image|}}}|then=
 +
{{!-}}
 +
! align=center colspan=2 {{!}} [[File:{{{image}}}|250px]]
 +
{{!-}}
 +
}}
 
|-
 
|-
! align=center colspan=2 | [[Image:{{{image}}}]]
+
! align=center colspan=2| Location: <br> {{{citystate|{{{2}}}}}}
 
|-
 
|-
! align=center colspan=2| Location: <br> {{{citystate}}}
+
{{if|test={{{currentpres|}}}|then=
 +
{{!-}}
 +
{{!}}'''Club Presidents'''{{!!}} {{{currentpres}}}
 +
{{!-}}
 +
}}
 
|-
 
|-
|'''Coaches'''|| {{{currentcoach}}}
+
{{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}}}
 
|-
 
|-
|'''Nationals 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|active}}}
+
{{if|test={{{website|}}}|then=
 +
{{!-}}
 +
{{!}}'''Website'''{{!!}} [{{{website}}} link]
 +
{{!-}}
 +
}}
 
|-
 
|-
|}
+
|}[[Category: High school teams]]</includeonly><noinclude>
<includeonly>[[Category: High school teams]]</includeonly>
 
 
 
 
 
  
  
 
+
==Usage==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<!--This following is documentation and it won't show up when the template is used on a page-->
 
 
 
== Raw wikitext ==
 
<noinclude>
 
 
<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 45: 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 57: 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===
  
 
+
* '''Name'''/{{{1}}}: Full name of school
== Parameters ==
+
* '''image''': Image of school or school logo (optional)
 
+
* '''citystate'''/{{{2}}}: Information about City, State/Province and country (if outside of North America).
* '''Name''': Full name of school
+
* '''currentpres''': Current student club president if any (optional)
* '''Image''': image of school or school logo
+
* '''currentcoach'''/'''coach''': Any coaching staff (optional)
* '''citystate''': information about City, State, Province and country if outside of North America
+
* '''state''': State championships won; list years and tournament name if not NAQT (optional)
* '''Coaches''': any coaching staff, student club president doesn't count; indicate if there is no coach
+
* '''nats''': National championships won; list years and tournament (optional)
* '''State championships''': state championships won, list years and tournament name if not NAQT
+
* '''nationals appearances'''/'''atnats''': appearances at national championships (optional)
* '''National championships''': national championships won, list years and tournament
+
* '''status''': whether or not a team has participated in an event in the current or previous school year (optional)
* '''Nationals appearances''': appearances at national championships
+
* '''size''': Can give enrollment figures. Indicates Small School eligibility (optional)
* '''Program status''': whether or not a team has participated in an event in the current or previous school year
+
* '''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)