Difference between revisions of "Template:Infobox national tournament/doc"
Jump to navigation
Jump to search
(+Prev/next/year documentation) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
The '''NationalInfoBox''' template is a template used to generate an infobox for a national tournament. | The '''NationalInfoBox''' template is a template used to generate an infobox for a national tournament. | ||
Line 36: | Line 35: | ||
:<code><nowiki>LockheedC</nowiki></code> - the division C winner of the Lockheed Martin Spirit Award | :<code><nowiki>LockheedC</nowiki></code> - the division C winner of the Lockheed Martin Spirit Award | ||
:<code><nowiki>Website</nowiki></code> - the tournament website | :<code><nowiki>Website</nowiki></code> - the tournament website | ||
+ | '''Navigation''' | ||
+ | :<code><nowiki>Prev</nowiki></code> - the previous tournament's wiki | ||
+ | :<code><nowiki>Next</nowiki></code> - the next tournament's wiki | ||
+ | :<code><nowiki>Year</nowiki></code> - the current tournament's year | ||
== Usage == | == Usage == | ||
Line 46: | Line 49: | ||
|- | |- | ||
|<pre> | |<pre> | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
}} | }} | ||
|- | |- | ||
|<pre> | |<pre> | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
|Total teams=120 | |Total teams=120 | ||
Line 66: | Line 69: | ||
</pre> | </pre> | ||
| | | | ||
− | {{ | + | {{NationalInfoBox |
|State=New York | |State=New York | ||
|Host=Cornell University | |Host=Cornell University | ||
Line 77: | Line 80: | ||
|- | |- | ||
|<pre> | |<pre> | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
|Total teams=120 | |Total teams=120 | ||
Line 91: | Line 94: | ||
</pre> | </pre> | ||
| | | | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
|Total teams=120 | |Total teams=120 | ||
Line 105: | Line 108: | ||
|- | |- | ||
|<pre> | |<pre> | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
|Total teams=120 | |Total teams=120 | ||
Line 119: | Line 122: | ||
</pre> | </pre> | ||
| | | | ||
− | {{ | + | {{NationalInfoBox |
|Host=Cornell University | |Host=Cornell University | ||
|Total teams=120 | |Total teams=120 | ||
Line 133: | Line 136: | ||
|- | |- | ||
|<pre> | |<pre> | ||
− | {{ | + | {{NationalInfoBox |
|logo=Image:2019 Nationals logo.jpg | |logo=Image:2019 Nationals logo.jpg | ||
|Host=Cornell University | |Host=Cornell University | ||
Line 157: | Line 160: | ||
|Date=January 1-3, 2020 | |Date=January 1-3, 2020 | ||
|Website=http://www.scioly.org | |Website=http://www.scioly.org | ||
+ | |Prev=[[Cornell University 2019|2019]] | ||
+ | |Next=[[Arizona State University 2021|2021]] | ||
+ | |Year=2020 | ||
}} | }} | ||
</pre> | </pre> | ||
− | |{{ | + | |{{NationalInfoBox |
|logo=Image:2019 Nationals logo.jpg | |logo=Image:2019 Nationals logo.jpg | ||
|Host=Cornell University | |Host=Cornell University | ||
Line 183: | Line 189: | ||
|Date=January 1-3, 2020 | |Date=January 1-3, 2020 | ||
|Website=http://www.scioly.org | |Website=http://www.scioly.org | ||
+ | |Prev=[[Cornell University 2019|2019]] | ||
+ | |Next=[[Arizona State University 2021|2021]] | ||
+ | |Year=2020 | ||
}} | }} | ||
|- | |- | ||
|} | |} | ||
+ | <includeonly> | ||
+ | [[Category:Templates]] | ||
+ | [[Category:Infobox Templates]] | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | [[Category:Documentation]] | ||
+ | </noinclude> |
Revision as of 05:09, 11 December 2020
The NationalInfoBox template is a template used to generate an infobox for a national tournament.
Parameters
Location
state
- the state of the tournamentlat
- the latitude of the host of the tournamentlong
- the longitude of the host of the tournamentmap
- a custom map showing the tournament location (note: please usestate
,lat
, andlong
typically, and only use this parameter if needed)
General Information
logo
- the file name of the logo of the tournamentHost
- the host of the tournamentTotal teams
- the total number of teams at the tournamentChampionB
- the Division B championChampionC
- the Division C championDate
- the dates on which the competition was held
Results
1stBName
- the name of the Division B 1st place winner2ndBName
- the name of the Division B 2nd place winner3rdBName
- the name of the Division B 3rd place winner1stBPoints
- the points earned by the Division B 1st place winner2ndBPoints
- the points earned by the Division B 2nd place winner3rdBPoints
- the points earned by the Division B 3rd place winner1stCName
- the name of the Division C 1st place winner2ndCName
- the name of the Division C 2nd place winner3rdCName
- the name of the Division C 3rd place winner1stCPoints
- the points earned by the Division C 1st place winner2ndCPoints
- the points earned by the Division C 2nd place winner3rdCPoints
- 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 AwardLockheedC
- the division C winner of the Lockheed Martin Spirit AwardWebsite
- the tournament website
Navigation
Prev
- the previous tournament's wikiNext
- the next tournament's wikiYear
- 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 |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 |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 |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 |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 }} |
Template:NationalInfoBox |