Template:Infobox hunt: Difference between revisions

Content added Content deleted
mNo edit summary
(automatically populate into puzzle hunts category)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<includeonly>{{#if:{{NAMESPACE}}||{{#if:{{{running_team|}}}|[[Category: Puzzle Hunts run by {{Delink|{{{running_team}}}}}]]|}} }}{{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
|abovestyle = background:hsl(24, 90%, 75%);
|abovestyle = background:hsl(24, 90%, 75%);
|above = {{{hunt_name|{{PAGENAME}}}}}
|above = {{{hunt_name|{{PAGENAME}}}}}
Line 36: Line 49:
| label15 = Leaderboard Link
| label15 = Leaderboard Link
| data15 = {{#if:{{{leaderboard_link|}}}|[{{{leaderboard_link|}}} Link]|}}
| data15 = {{#if:{{{leaderboard_link|}}}|[{{{leaderboard_link|}}} Link]|}}
| label16 = Repository Link
|header16 = {{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{{hunt|}}} Chronology|}}
| below = {{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{succession links|left={{{prev_hunt|}}}|right={{{next_hunt|}}}}}|}}
| 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}}
{{#if:{{{prev_hunt2|}}}{{{next_hunt2|}}}|{{succession links|left={{{prev_hunt2|}}}|right={{{next_hunt2|}}}|above={{#if:{{{hunt2|}}}|'''{{{hunt2|}}}'''|}}}}|}}
{{clear}}
{{#if:{{{prev_hunt3|}}}{{{next_hunt3|}}}|{{succession links|left={{{prev_hunt3|}}}|right={{{next_hunt3|}}}|above={{#if:{{{hunt3|}}}|'''{{{hunt3|}}}'''|}}}}|}}
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>

Latest revision as of 12:23, 21 August 2023

This template defines the table "Hunts". View table.