Template:Infobox hunt: Difference between revisions

Content added Content deleted
(Attempt at extending infobox to include multiple chronologies (required for simulcasted hunts or hunts in multiple "series"))
No edit summary
Line 36: Line 36:
| 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:{{{hunt2|}}}|Chronology|{{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{{hunt|}}} Chronology|}}}}
| data16 = {{#if:{{{repo_link|}}}|[{{{repo_link|}}} Link]|}}
|header17 = {{#if:{{{hunt2|}}}|Chronology|{{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{{hunt|}}} Chronology|}}}}
| below =
| 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-->
{{#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-->

Revision as of 23:22, 28 January 2023