Difference between revisions of "Template:NationalInfoBox"

From Wiki - Scioly.org
Jump to navigation Jump to search
(attempting to fix empty brackets)
(added more fields)
Line 19: Line 19:
 
| label3 = Host
 
| label3 = Host
 
| data3 = {{{Host|}}}
 
| data3 = {{{Host|}}}
| label4 = Total teams
+
| label4 = Date
| data4 = {{{Total teams|}}}
+
| data4 = {{{Date|}}}
| label5 = Date
 
| data5 = {{{Date|}}}
 
  
| header6 = Results
+
| header5 = Tournament Information
| data7 = {{#if: {{{1stBName|}}}|
+
| label6 = Total teams
 +
| data6 = {{{Total teams|}}}
 +
| label7 = Host State
 +
| data7 = {{{state|}}}
 +
| label8 = Tournament Director
 +
| data8 = {{{director|}}}
 +
| label9 = Opening Ceremony
 +
| data9 = {{{opening_ceremony|}}}
 +
| label10 = Closing Ceremony
 +
| data10 = {{{closing_ceremony|}}}
 +
| label11 = Trial Events
 +
| data11 = {{{trial_events|}}}
 +
| label12 = Activities
 +
| data12 = {{{activities|}}}
 +
| label13 = [[Japanese International Team|International Team]]
 +
| data13 = {{{international_team|}}}
 +
 
 +
| header14 = Results
 +
| data15 = {{#if: {{{1stBName|}}}|
 
{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%;"
 
{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%;"
 
{{!}}-
 
{{!}}-
Line 82: Line 98:
 
}}
 
}}
  
| header8 = Awards Information
+
| header16 = Awards Information
| data9 = {{#if: {{{DuPontB|}}}{{{DuPontC|}}}{{{CortevaB|}}}{{{CortevaC|}}}{{{LockheedB|}}}{{{LockheedC|}}}|
+
| data17 = {{#if: {{{DuPontB|}}}{{{DuPontC|}}}{{{CortevaB|}}}{{{CortevaC|}}}{{{LockheedB|}}}{{{LockheedC|}}}|
 
{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%;"
 
{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%;"
 
{{!}}-
 
{{!}}-
Line 122: Line 138:
 
}}
 
}}
  
| header10 = Social Media
+
| header18 = Social Media
| label11 = Website
+
| label19 = Website
| data11 = {{{Website|}}}
+
| data19 = {{{Website|}}}
 +
| label20 = Facebook
 +
| data20 = {{{facebook|}}}
 +
| label21 = Twitter
 +
| data21 = {{{twitter|}}}
 +
| label22 = Instagram
 +
| data22 = {{{instagram|}}}
  
| below = {{#if: {{{Prev|}}}|<div style="float: left;">← {{{Prev}}}</div>}}{{#if: {{{Next|}}}|<div style="float: left;">{{{Next}}} →</div>}}
+
| below = {{#if: {{{Prev|}}}|<div style="float: left;">← {{{Prev}}}</div>}}{{#if: {{{Next|}}}|<div style="float: right;">{{{Next}}} →</div>}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:05, 2 June 2021

NationalInfoBox
Template documentation[view] [edit] [history] [purge]

The NationalInfoBox template is a template used to generate an infobox for a national tournament.

Parameters

Location

state - the state of the tournament
lat - the latitude of the host of the tournament
long - the longitude of the host of the tournament
map - a custom map showing the tournament location (note: please use state, lat, and long typically, and only use this parameter if needed)

General Information

logo - the file name of the logo of the tournament
Host - the host of the tournament
Total teams - the total number of teams at the tournament
ChampionB - the Division B champion
ChampionC - the Division C champion
Date - the dates on which the competition was held

Results

1stBName - the name of the Division B 1st place winner
2ndBName - the name of the Division B 2nd place winner
3rdBName - the name of the Division B 3rd place winner
1stBPoints - the points earned by the Division B 1st place winner
2ndBPoints - the points earned by the Division B 2nd place winner
3rdBPoints - the points earned by the Division B 3rd place winner
1stCName - the name of the Division C 1st place winner
2ndCName - the name of the Division C 2nd place winner
3rdCName - the name of the Division C 3rd place winner
1stCPoints - the points earned by the Division C 1st place winner
2ndCPoints - the points earned by the Division C 2nd place winner
3rdCPoints - the points earned by the Division C 3rd place winner

Awards

DuPontB - the division B winner of the DuPont Team Enterprise Award (only for tournaments from 2018 and earlier)
DuPontC - the division C winner of the DuPont Team Enterprise Award (only for tournaments from 2018 and earlier)
CortevaB - the division B winner of the Corteva Enterprise Award (only for tournaments from 2019 and later)
CortevaC - the division C winner of the Corteva Enterprise Award (only for tournaments from 2019 and later)
LockheedB - the division B winner of the Lockheed Martin Spirit Award
LockheedC - the division C winner of the Lockheed Martin Spirit Award
Website - the tournament website

Navigation

Prev - the previous tournament's wiki
Next - the next tournament's wiki
Year - the current tournament's year

Usage

The template should be placed at the very top of an article, with no empty line breaks before or after the template

Examples

Code Result
{{NationalInfoBox
|Host=Cornell University
}}
NationalInfoBox
General Information
HostCornell University
{{NationalInfoBox
|Host=Cornell University
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
}}
NationalInfoBox
General Information
HostCornell University
DateJanuary 1-3, 2020
Tournament Information
Total teams120
Social Media
Websitehttp://www.scioly.org
{{NationalInfoBox
|Host=Cornell University
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|DuPontB=Ladue Middle School
|DuPontC=Ladue Horton Watkins High School
|LockheedB=Ladue Middle School
|LockheedC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
}}
NationalInfoBox
General Information
HostCornell University
DateJanuary 1-3, 2020
Tournament Information
Total teams120
Awards Information
DuPont Team Enterprise Award
B Ladue Middle School
C Ladue Horton Watkins High School
Lockheed Martin Spirit Award
B Ladue Middle School
C Ladue Horton Watkins High School
Social Media
Websitehttp://www.scioly.org
{{NationalInfoBox
|Host=Cornell University
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|CortevaB=Ladue Middle School
|CortevaC=Ladue Horton Watkins High School
|LockheedB=Ladue Middle School
|LockheedC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
}}
NationalInfoBox
General Information
HostCornell University
DateJanuary 1-3, 2020
Tournament Information
Total teams120
Awards Information
Corteva Enterprise Award
B Ladue Middle School
C Ladue Horton Watkins High School
Lockheed Martin Spirit Award
B Ladue Middle School
C Ladue Horton Watkins High School
Social Media
Websitehttp://www.scioly.org
{{NationalInfoBox
|logo=Image:2019 Nationals logo.jpg
|Host=Cornell University
|1stBName=Kennedy Middle School
|1stBPoints=148
|2ndBName=Solon Middle School
|2ndBPoints=191
|3rdBName=Community Middle School
|3rdBPoints=250
|1stCName=Troy High School
|1stCPoints=231
|2ndCName=Solon High School
|2ndCPoints=276
|3rdCName=Harriton High School
|3rdCPoints=277
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|DuPontB=Ladue Middle School
|DuPontC=Ladue Horton Watkins High School
|LockheedB=Ladue Middle School
|LockheedC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
|Prev=[[Cornell University 2019|2019]]
|Next=[[Arizona State University 2021|2021]]
|Year=2020
}}
NationalInfoBox
2019 Nationals logo.jpg
General Information
HostCornell University
DateJanuary 1-3, 2020
Tournament Information
Total teams120
Results
Division B
1st Kennedy Middle School 148
2nd Solon Middle School 191
3rd Community Middle School 250
Division C
1st Troy High School 231
2nd Solon High School 276
3rd Harriton High School 277
Awards Information
DuPont Team Enterprise Award
B Ladue Middle School
C Ladue Horton Watkins High School
Lockheed Martin Spirit Award
B Ladue Middle School
C Ladue Horton Watkins High School
Social Media
Websitehttp://www.scioly.org
2019
2021