Difference between revisions of "Template:Collegebox"

From QBWiki
Jump to navigation Jump to search
(Standardized this template with Template:Highschoolteam)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| border=1 cellpadding=2 cellspacing=0 width=150 class="toccolours" style="float: right; margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;"
+
{| border=1 cellpadding=2 cellspacing=0 width=310 class="toccolours" style="float: right; 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" | <font style="font-size:9pt">'''{{{College Name}}}'''</font>
 +
|-
 
{{#if:{{{Image|}}}|
 
{{#if:{{{Image|}}}|
{{{!}} border=0 align=right cellpadding=4 cellspacing=4 width=310 style="background:#f9f9f9; text-align:center;"
 
{{!}} width="160px"{{!}} <font style="font-size:9pt">'''{{{College Name}}}'''</font>
 
 
{{!-}}
 
{{!-}}
! align=center colspan=2 {{!}} [[Image:{{{Image}}}|200px]]
+
! align=center colspan=2{{!}} [[Image:{{{Image}}}|200px]]
{{!}}}
+
{{!-}}
|{{!}} align="center" colspan="2"{{!}} <font style="font-size:9pt">'''{{{College Name}}}'''</font>
 
 
}}
 
}}
 
|-
 
|-
Line 23: Line 22:
 
|'''NAQT Page'''|| [https://www.naqt.com/stats/school/search.jsp?PASSBACK=SCHOOL_SEARCH&name={{#replace:{{#replace:{{{College Name}}}|-|+}}| |+}}&city=&state=&country= link]
 
|'''NAQT Page'''|| [https://www.naqt.com/stats/school/search.jsp?PASSBACK=SCHOOL_SEARCH&name={{#replace:{{#replace:{{{College Name}}}|-|+}}| |+}}&city=&state=&country= link]
 
|-
 
|-
|}[[Category: College clubs]]</includeonly>
+
{{if|test={{{website|}}}|then=
<noinclude>
+
{{!-}}
 +
{{!}}'''Website'''{{!!}} [{{{website}}} link]
 +
{{!-}}
 +
}}
 +
|-
 +
|}[[Category: College clubs]]</includeonly><!--
 +
--><noinclude>
 +
 
 +
==Usage==
 +
<pre style="overflow:auto">
 +
{{Collegebox|College Name = DePaul University
 +
|Image = DePaul Blue Demons Script Logo.png
 +
|citystate = Chicago, IL
 +
|president = Kyle Asta
 +
|nats = None
 +
|website = https://www.depaul.edu/
 +
|}}
 +
</pre>
 +
 
 +
==Output==
 
{{Collegebox|College Name = DePaul University
 
{{Collegebox|College Name = DePaul University
 
|Image = DePaul Blue Demons Script Logo.png
 
|Image = DePaul Blue Demons Script Logo.png
 
|citystate = Chicago, IL
 
|citystate = Chicago, IL
|president = [[Kyle Asta]]
+
|president = Kyle Asta
 
|nats = None
 
|nats = None
 +
|website = https://www.depaul.edu/
 
| }}
 
| }}
Usage:<pre>{{Collegebox|College Name = DePaul University
+
 
|Image = DePaul Blue Demons Script Logo.png
+
==Parameters==
|citystate = Chicago, IL
+
* '''College Name''': Full name of school
|president = [[Kyle Asta]]
+
* '''image''': Image of school or school logo (optional)
|nats =
+
* '''citystate''': Information about City, State/Province and country (if outside of North America).
|}}
+
* '''president''': President or coach of the quizbowl team (optional)
</pre>
+
* '''nats''': National championships won; list years and tournament (optional)
 +
* '''website''': A link to the college's website (remember to begin the url with https://) (optional)
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:05, 22 May 2021


Usage

{{Collegebox|College Name = DePaul University
 |Image = DePaul Blue Demons Script Logo.png
 |citystate = Chicago, IL
 |president = Kyle Asta
 |nats = None
 |website = https://www.depaul.edu/
|}}

Output

DePaul University
DePaul Blue Demons Script Logo.png
Location:
Chicago, IL
Current President or Coach Kyle Asta
National championships None
NAQT Page link
Website link

Parameters

  • College Name: Full name of school
  • image: Image of school or school logo (optional)
  • citystate: Information about City, State/Province and country (if outside of North America).
  • president: President or coach of the quizbowl team (optional)
  • nats: National championships won; list years and tournament (optional)
  • website: A link to the college's website (remember to begin the url with https://) (optional)