Template:Infobox hunt: Difference between revisions

Content added Content deleted
mNo edit summary
(Attempt at extending infobox to include multiple chronologies (required for simulcasted hunts or hunts in multiple "series"))
Line 36: Line 36:
| label15 = Leaderboard Link
| label15 = Leaderboard Link
| data15 = {{#if:{{{leaderboard_link|}}}|[{{{leaderboard_link|}}} Link]|}}
| data15 = {{#if:{{{leaderboard_link|}}}|[{{{leaderboard_link|}}} Link]|}}
|header16 = {{#if:{{{prev_hunt|}}}{{{next_hunt|}}}|{{{hunt|}}} Chronology|}}
|header16 = {{#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|}}}}}|}}
{{#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>

Revision as of 21:06, 9 January 2023