Template:Infobox hunt: Difference between revisions
Content added Content deleted
(Fix template) |
(automatically populate into puzzle hunts category) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: |
|||
{{Infobox |
|||
_table = Hunts |
|||
⚫ | |||
|hunt_name = String |
|||
⚫ | |||
|running_team = String |
|||
|num_teams = Integer |
|||
|winning_team = String |
|||
|num_rounds = Integer |
|||
|num_puzzles = Integer |
|||
|start_time = Datetime |
|||
|first_finish_time = Datetime |
|||
|end_time = Datetime |
|||
|hunt_link = String |
|||
|leaderboard_link = String |
|||
}}</noinclude><includeonly>{{#if:{{NAMESPACE}}||<!--BEGIN CARGO STORE-->{{#cargo_store:_table = Hunts|running_team={{Delink|{{{running_team|}}}}}|winning_team={{Delink|{{{winning_team|}}}}}}}<!--END CARGO STORE-->[[Category: Puzzle Hunts]]{{#if:{{{running_team|}}}|[[Category: Puzzle Hunts run by {{Delink|{{{running_team}}}}}]]|}} }}{{Infobox |
|||
⚫ | |||
⚫ | |||
| image = {{{image|}}} |
| image = {{#if:{{{image|}}}|[[{{{image|}}}|{{{image_width|450px}}}]]}} |
||
|caption = {{{image_caption|}}} |
|caption = {{{image_caption|}}} |
||
Line 27: | Line 40: | ||
| label10 = Official End Time |
| label10 = Official End Time |
||
| data10 = {{{end_time|}}} |
| data10 = {{{end_time|}}} |
||
|header11 = {{#if:{{{ |
|header11 = {{#if:{{{hunt_link|}}}{{{kickoff_link|}}}{{{wrapup_link|}}}{{{leaderboard_link|}}}|Links|}} |
||
| label12 = Hunt Link |
|||
⚫ | |||
| data12 = {{#if:{{{hunt_link|}}}|[{{{hunt_link|}}} Link]|}} |
|||
}} |
|||
| label13 = Kickoff Link |
|||
| data13 = {{#if:{{{kickoff_link|}}}|[{{{kickoff_link|}}} Link]|}} |
|||
| label14 = Wrapup Link |
|||
| data14 = {{#if:{{{wrapup_link|}}}|[{{{wrapup_link|}}} Link]|}} |
|||
| label15 = Leaderboard Link |
|||
| data15 = {{#if:{{{leaderboard_link|}}}|[{{{leaderboard_link|}}} Link]|}} |
|||
| label16 = Repository Link |
|||
| data16 = {{#if:{{{repo_link|}}}|[{{{repo_link|}}} Link]|}} |
|||
|header17 = {{#if:{{{hunt2|}}}|Chronology|{{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{{hunt|}}} Chronology|}}}} |
|||
| below = |
|||
{{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{succession links|left={{{prev_hunt|}}}|right={{{next_hunt|}}}|above={{#if:{{{hunt2|}}}|'''{{{hunt|}}}'''|}}}}|}}<!--hunt2 is intentional here, we only display hunts this way if there are multiple chronologies--> |
|||
{{clear}} |
|||
⚫ | |||
{{clear}} |
|||
{{#if:{{{prev_hunt3|}}}{{{next_hunt3|}}}|{{succession links|left={{{prev_hunt3|}}}|right={{{next_hunt3|}}}|above={{#if:{{{hunt3|}}}|'''{{{hunt3|}}}'''|}}}}|}} |
|||
}}</includeonly> |
|||
<noinclude> |
<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 12:23, 21 August 2023
This template defines the table "Hunts". View table.
{{Infobox hunt |hunt_name = |image = |image_caption = |image_width = |running_team = |num_teams = |winning_team = |num_rounds = |num_puzzles = |location = |start_time = |first_finish_time = |end_time = |hunt = |prev_hunt = |next_hunt = |hunt_link = |kickoff_link = |wrapup_link = |leaderboard_link = |repo_link = }}
hunt_name
defaults to page name. image_width
defaults to 450px
. image
should just be the name of a file.
Example:
{{Infobox hunt |hunt_name = MIT Mystery Hunt 2021 |image = File:MIT 2021 State Diagram WITH KEY.png |image_width = 350px |image_caption = General Structure of the 2021 MIT Mystery Hunt |running_team = [[✈✈✈ Galactic Trendsetters ✈✈✈]] |num_teams = 346 |winning_team = [[Palindrome]] |num_rounds = 10 |num_puzzles = 199 |location = Online |start_time = 1:00PM EST, January 15, 2021 |first_finish_time = 7:55PM EST, January 17, 2021 |end_time = 10:00AM EST, January 18, 2021 |hunt = [[MIT Mystery Hunt]] |prev_hunt = [[MIT Mystery Hunt 2020|2020]] |next_hunt = [[MIT Mystery Hunt 2022|2022]] |hunt_link = https://puzzles.mit.edu/2021/ |kickoff_link = https://www.youtube.com/watch?v=aZ2ihFvauSM |wrapup_link = https://www.youtube.com/watch?v=DFFyI0GiHn0 |repo_link = https://github.com/YewLabs }}
gives
MIT Mystery Hunt 2021 | |
---|---|
Running Team | ✈✈✈ Galactic Trendsetters ✈✈✈ |
No. of Registered Teams | 346 |
Winning Team | Palindrome |
No. of Rounds | 10 |
No. of Puzzles (Feeders and Metas) | 199 |
Timeframe and Location | |
Location | Online |
Start Time | 1:00PM EST, January 15, 2021 |
Finishing Time (Winning Team) | 7:55PM EST, January 17, 2021 |
Official End Time | 10:00AM EST, January 18, 2021 |
Links | |
Hunt Link | Link |
Kickoff Link | Link |
Wrapup Link | Link |
Repository Link | Link |
MIT Mystery Hunt Chronology | |
If a hunt is part of multiple chronologies/franchises, additionally include hunt2/prev_hunt2/next_hunt2
and hunt3/prev_hunt3/next_hunt3
parameters as needed. Example of multiple chronologies:
{{Infobox hunt |hunt_name = BANG 33 |running_team = Bob Schaffer |num_teams = 20, 14 |winning_team = [[The Burninators]], [[The Judean GNUs]] |location = San Jose |start_time = 06/02/2012, 09/29/2012 |hunt = [[Bay Area Night Game]] |prev_hunt = [[BANG 28|28]] |next_hunt = [[BANG 34|34]] |hunt2 = [[Elevate Tutoring Puzzle Hunt]] |next_hunt2 = [[Elevate Tutoring Puzzle Hunt 2|2]] }}
gives
BANG 33 | |
---|---|
Running Team | Bob Schaffer |
No. of Registered Teams | 20, 14 |
Winning Team | The Burninators, The Judean GNUs |
Timeframe and Location | |
Location | San Jose |
Start Time | 06/02/2012, 09/29/2012 |
Chronology | |