Шаблон:Releases nav — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | <hr style="margin-top:1em; margin-bottom:1em; clear:both;" /> | + | <includeonly>{{#if: |
+ | |||
+ | {{#vardefine:header-expansion | [[Release|Релизы]] [[expansion|дополнений]] }} | ||
+ | {{#vardefine:list-expansion | | ||
+ | * {{HoT|24px}} [[Guild Wars 2: Heart of Thorns|Heart of Thorns]] | ||
+ | * {{PoF|24px}} [[Guild Wars 2: Path of Fire|Path of Fire]] | ||
+ | * {{EoD|24px}} [[Guild Wars 2: End of Dragons|End of Dragons]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-1 | [[Release|Релизы]] с оригинальной историей [[Living World Season 1|1-го сезона Живого Мира]] }} | ||
+ | {{#vardefine:list-1 | | ||
+ | * [[Flame and Frost/archive|Flame and Frost]] <small>([[Flame and Frost: Prelude|Prelude]]{{bullet}}[[Flame and Frost: The Gathering Storm|The Gathering Storm]]{{bullet}}[[Flame and Frost: The Razing|The Razing]]{{bullet}}[[Flame and Frost: Retribution|Retribution]])</small> | ||
+ | * [[The Secret of Southsun]] | ||
+ | * [[Last Stand at Southsun]] | ||
+ | * [[Dragon Bash 2013|Dragon Bash]] | ||
+ | * [[Sky Pirates of Tyria]] | ||
+ | * [[Cutthroat Politics]] | ||
+ | * [[Queen's Jubilee]] | ||
+ | * [[Clockwork Chaos/archive|Clockwork Chaos]] | ||
+ | * [[Twilight Assault]] | ||
+ | * [[Tower of Nightmares (release)/archive|Tower of Nightmares]] | ||
+ | * [[The Nightmares Within]] | ||
+ | * [[Fractured]] | ||
+ | * [[The Origins of Madness]] | ||
+ | * [[The Edge of the Mists (release)|The Edge of the Mists]] | ||
+ | * [[Escape from Lion's Arch]] | ||
+ | * [[Battle for Lion's Arch/archive|Battle for Lion's Arch]] | ||
+ | * [[Battle for Lion's Arch: Aftermath]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-1-return | [[Release|Релизы]] с переработанной историей [[Living World Season 1|1-го сезона Живого Мира]] }} | ||
+ | {{#vardefine:list-1-return | | ||
+ | * [[Flame and Frost]] | ||
+ | * [[Sky Pirates] | ||
+ | * [[Clockwork Chaos]] | ||
+ | * [[Tower of Nightmares (release)|Tower of Nightmares]] | ||
+ | * [[Battle for Lion's Arch]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-2 | [[Release|Релизы]] с историей [[Living World Season 2|2-го сезона Живого Мира]] }} | ||
+ | {{#vardefine:list-2 | | ||
+ | * [[Gates of Maguuma]] | ||
+ | * [[Entanglement]] | ||
+ | * [[The Dragon's Reach: Part 1]] | ||
+ | * [[The Dragon's Reach: Part 2]] | ||
+ | * [[Echoes of the Past]] | ||
+ | * [[Tangled Paths]] | ||
+ | * [[Seeds of Truth]] | ||
+ | * [[Point of No Return]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-3 | [[Release|Релизы]] с историей [[Living World Season 3|3-го сезона Живого Мира]] }} | ||
+ | {{#vardefine:list-3 | | ||
+ | * [[Out of the Shadows]] | ||
+ | * [[Rising Flames]] | ||
+ | * [[A Crack in the Ice]] | ||
+ | * [[The Head of the Snake]] | ||
+ | * [[Flashpoint]] | ||
+ | * [[One Path Ends]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-4 | [[Release|Релизы]] с историей [[Living World Season 4|4-го сезона Живого Мира]] }} | ||
+ | {{#vardefine:list-4 | | ||
+ | * [[Daybreak]] | ||
+ | * [[A Bug in the System]] | ||
+ | * [[Long Live the Lich]] | ||
+ | * [[A Star to Guide Us]] | ||
+ | * [[All or Nothing]] | ||
+ | * [[War Eternal]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-5 | [[Release|Релизы]] с историей [[The Icebrood Saga|Саги об Исчадиях Льда]] }} | ||
+ | {{#vardefine:list-5 | | ||
+ | * [[Prologue: Bound by Blood]] | ||
+ | * [[Whisper in the Dark]] | ||
+ | * [[Shadow in the Ice]] | ||
+ | * [[Visions of the Past: Steel and Fire]] | ||
+ | * [[No Quarter]] | ||
+ | * [[Jormag Rising]] | ||
+ | * [[Champions]] <small>([[Chapter 1: Truce|Truce]]{{bullet}}[[Chapter 2: Power|Power]]{{bullet}}[[Chapter 3: Balance|Balance]]{{bullet}}[[Chapter 4: Judgment|Judgment]])</small> | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-eod | [[Release|Релизы]] с дополнительной историей [[Guild Wars 2: End of Dragons|End of Dragons]] }} | ||
+ | {{#vardefine:list-eod | | ||
+ | * [[What Lies Beneath]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:header-featurepack | [[Release|Релизы]] с наборами особенностей }} | ||
+ | {{#vardefine:list-featurepack | | ||
+ | * [[April 2014 Feature Pack]] | ||
+ | * [[September 2014 Feature Pack]] | ||
+ | * [[Winter 2016 Quarterly Update]] | ||
+ | * [[Spring 2016 Quarterly Update]] | ||
+ | * [[June 2017 Competitive Feature Pack]] | ||
+ | }} | ||
+ | |||
+ | {{#vardefine:specialevent-years | 2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023 }} | ||
+ | {{#vardefine:header-specialevent | {{{2}}} [[Festival]] and [[Special Event]] [[release]]s }} | ||
+ | {{#vardefine:list-specialevent2012 | | ||
+ | * [[Shadow of the Mad King 2012|Shadow of the Mad King]] | ||
+ | * [[The Lost Shores]] | ||
+ | * [[Wintersday: The Wondrous Workshop of Toymaker Tixx|The Wondrous Workshop of Toymaker Tixx]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2013 | | ||
+ | * [[Super Adventure Box (release)|Super Adventure Box]] | ||
+ | * [[Bazaar of the Four Winds]] | ||
+ | * [[Super Adventure Box: Back to School]] | ||
+ | * [[Tequatl Rising]] | ||
+ | * [[Blood and Madness 2013|Blood and Madness]] | ||
+ | * [[Wintersday 2013|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2014 | | ||
+ | * [[Festival of the Four Winds 2014|Festival of the Four Winds]] | ||
+ | * [[Blood and Madness 2014|Blood and Madness]] | ||
+ | * [[Wintersday 2014|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2015 | | ||
+ | * [[Lunar New Year 2015|Lunar New Year]] | ||
+ | * [[Shadow of the Mad King 2015|Shadow of the Mad King]] | ||
+ | * [[Spirit Vale]] | ||
+ | * [[Wintersday 2015|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2016 | | ||
+ | * [[Lunar New Year 2016|Lunar New Year]] | ||
+ | * [[Salvation Pass]] | ||
+ | * [[Super Adventure Festival 2016|Super Adventure Festival]] | ||
+ | * [[Stronghold of the Faithful]] | ||
+ | * [[Shadow of the Mad King 2016|Shadow of the Mad King]] | ||
+ | * [[Wintersday 2016|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2017 | | ||
+ | * [[Lunar New Year 2017|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2017|Super Adventure Festival]] | ||
+ | * [[Shadow of the Mad King 2017|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2017|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2018 | | ||
+ | * [[Lunar New Year 2018|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2018|Super Adventure Festival]] | ||
+ | * [[Festival of the Four Winds 2018|Festival of the Four Winds]] | ||
+ | * [[Shadow of the Mad King 2018|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2018|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2019 | | ||
+ | * [[Lunar New Year 2019|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2019|Super Adventure Festival]] | ||
+ | * [[Dragon Bash 2019|Dragon Bash]] | ||
+ | * [[Festival of the Four Winds 2019|Festival of the Four Winds]] | ||
+ | * [[Shadow of the Mad King 2019|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2019|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2020 | | ||
+ | * [[Lunar New Year 2020|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2020|Super Adventure Festival]] | ||
+ | * [[Dragon Bash 2020|Dragon Bash]] | ||
+ | * [[Festival of the Four Winds 2020|Festival of the Four Winds]] | ||
+ | * [[Shadow of the Mad King 2020|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2020|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2021 | | ||
+ | * [[Lunar New Year 2021|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2021|Super Adventure Festival]] | ||
+ | * [[Dragon Bash 2021|Dragon Bash]] | ||
+ | * [[Festival of the Four Winds 2021|Festival of the Four Winds]] | ||
+ | * [[Shadow of the Mad King 2021|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2021|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2022 | | ||
+ | * [[Lunar New Year 2022|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2022|Super Adventure Festival]] | ||
+ | * [[Dragon Bash 2022|Dragon Bash]] | ||
+ | * [[Festival of the Four Winds 2022|Festival of the Four Winds]] | ||
+ | * [[Guild Wars 2 10th Anniversary]] | ||
+ | * [[Shadow of the Mad King 2022|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2022|A Very Merry Wintersday]] | ||
+ | }} | ||
+ | {{#vardefine:list-specialevent2023 | | ||
+ | * [[Lunar New Year 2023|Lunar New Year]] | ||
+ | * [[Super Adventure Festival 2023|Super Adventure Festival]] | ||
+ | <!-- | ||
+ | * [[Dragon Bash 2023|Dragon Bash]] | ||
+ | * [[Festival of the Four Winds 2023|Festival of the Four Winds]] | ||
+ | * [[Shadow of the Mad King 2023|Shadow of the Mad King]] | ||
+ | * [[A Very Merry Wintersday 2023|A Very Merry Wintersday]] | ||
+ | --> | ||
+ | }} | ||
+ | |||
+ | }}<hr style="margin-top:1em; margin-bottom:1em; clear:both;" /> | ||
<div class="nav mech2 wide"> | <div class="nav mech2 wide"> | ||
− | <div class="box | + | <div class="box"> |
− | <div class="heading">[[Release | + | <div class="heading">{{#var:header-{{{1}}}| [[Release]]s }}</div> |
− | <div class="wrapper | + | <div class="wrapper" style="text-align:center; padding:0"> |
− | + | {| class="hlist" style="width:100%;" | |
− | | | ||
− | |||
|- | |- | ||
− | + | | {{#var: list-{{{1}}}{{{2|}}} }} | |
− | + | |} | |
+ | |||
+ | {| class="hlist collapsible" style="width:100%; margin:8px 0 0; text-align:left; " | ||
+ | |- class="expandable" | ||
+ | ! class="subheading mech2" style="text-align:center; border-top-color: #AAA; border-top-width:1px; border-top-style:solid; border-right:0px" colspan="2" | <div style="margin: 0px auto; width: 15em;">Все релизы и ''дополнения''</div> | ||
|- | |- | ||
− | ! | + | | <!-- spacer --> |
− | |||
|- | |- | ||
− | + | ! style="width: 10em;" | [[Living World Season 1|LW Season 1]] (original) | |
− | + | | {{#var:list-1}} | |
− | ! | ||
|- | |- | ||
− | + | ! [[Living World Season 1|LW Season 1]] (reworked) | |
+ | | {{#var:list-1-return}} | ||
|- | |- | ||
− | + | ! [[Living World Season 2|LW Season 2]] | |
− | | | + | | {{#var:list-2}} |
− | |||
|- | |- | ||
− | | | + | ! {{HoT|20px}} ''[[Guild Wars 2: Heart of Thorns|Heart of Thorns]]'' |
+ | | | ||
|- | |- | ||
− | + | ! [[Living World Season 3|LW Season 3]] | |
− | | | + | | {{#var:list-3}} |
− | |||
|- | |- | ||
− | | | + | ! {{PoF|20px}} ''[[Guild Wars 2: Path of Fire|Path of Fire]]'' |
+ | | | ||
|- | |- | ||
− | + | ! [[Living World Season 4|LW Season 4]] | |
− | | | + | | {{#var:list-4}} |
− | |||
|- | |- | ||
− | + | ! [[The Icebrood Saga]] | |
+ | | {{#var:list-5}} | ||
|- | |- | ||
− | | | + | ! {{EoD|20px}} ''[[Guild Wars 2: End of Dragons|End of Dragons]]'' |
− | | | + | | {{#var:list-eod}} |
− | |||
|- | |- | ||
− | + | | style="padding: 4px 8px" | <!-- spacer --> | |
− | |||
|- | |- | ||
− | ! | + | ! Feature packs |
− | | | + | | {{#var:list-featurepack}} |
|- | |- | ||
− | ! | + | | <!-- spacer --> |
− | |||
|- | |- | ||
− | + | ! colspan="2" style="text-align:left; border-right:0; padding:4px 8px; border-top:1px solid #aaa" | [[Festival]]s and [[Special Event]]s | |
− | |||
− | ! colspan="2" style="text-align:left; border-right:0; padding:4px 8px; border-top:1px solid #aaa" | [[Festival | ||
|- | |- | ||
− | + | | colspan="2" style="padding:0" | | |
− | + | {| style="margin:0" | |
− | + | {{#arraymap: {{#var:specialevent-years}}|,|@@@| | |
− | + | {{!}}- | |
− | + | ! style="width: 3.5em;" {{!}} @@@ | |
− | | | + | {{!}} {{#var:list-specialevent@@@}} |
− | + | |\n}} | |
− | + | |} | |
− | |||
− | |||
− | | | ||
− | |||
− | ! | ||
− | |||
− | |||
− | ! style="width: | ||
− | |||
− | |||
− | ! | ||
− | |||
− | |||
− | ! | ||
− | |||
− | |||
− | |||
− | | | ||
|- | |- | ||
− | + | | <!-- spacer --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | </div></div></div><noinclude> | + | </div> |
+ | </div> | ||
+ | </div></includeonly><noinclude> | ||
== Description == | == Description == | ||
− | Navigation template for game [[release]]s. If a release belongs to a season, the appropriate season will be | + | Navigation template for game [[release]]s. If a release belongs to a season or another major category, the appropriate season/category will be shown by default. |
== Usage == | == Usage == | ||
<pre> | <pre> | ||
− | {{ | + | {{Releases nav}} |
− | {{ | + | {{Releases nav|<category>}} |
+ | {{Releases nav|specialevent|<year>}} | ||
</pre> | </pre> | ||
=== Parameters === | === Parameters === | ||
;1 ''(unnamed parameter)'' | ;1 ''(unnamed parameter)'' | ||
− | : | + | : Identify the season or category the release belongs to. Possible values: |
+ | :*<tt>1</tt>: [[Living World Season 1]] | ||
+ | :*<tt>1-return</tt>: [[Living World Season 1]] re-release | ||
+ | :*<tt>2</tt>: [[Living World Season 2]] | ||
+ | :*<tt>3</tt>: [[Living World Season 3]] | ||
+ | :*<tt>4</tt>: [[Living World Season 4]] | ||
+ | :*<tt>5</tt>: [[The Icebrood Saga]] | ||
+ | :*<tt>eod</tt>: [[End of Dragons]] additional story | ||
+ | :*<tt>expansion</tt>: [[Expansion]]s | ||
+ | :*<tt>featurepack</tt>: Feature packs | ||
+ | :*<tt>specialevent</tt>: [[Festival]]s and [[Special Event]]s | ||
+ | |||
+ | ;2 ''(unnamed parameter)'' | ||
+ | : If the first parameter is set to <tt>specialevent</tt>, this should define the year to display the festivals and special events by default. | ||
+ | |||
+ | === Examples === | ||
+ | <pre> | ||
+ | {{Releases nav|expansion}} | ||
+ | </pre> | ||
+ | {{Releases nav|expansion}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav|1-return}} | ||
+ | </pre> | ||
+ | {{Releases nav|1-return}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav|5}} | ||
+ | </pre> | ||
+ | {{Releases nav|5}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav|eod}} | ||
+ | </pre> | ||
+ | {{Releases nav|eod}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav|featurepack}} | ||
+ | </pre> | ||
+ | {{Releases nav|featurepack}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav|specialevent|2022}} | ||
+ | </pre> | ||
+ | {{Releases nav|specialevent|2022}} | ||
+ | |||
+ | <pre> | ||
+ | {{Releases nav}} | ||
+ | </pre> | ||
+ | {{Releases nav}} | ||
[[Category:Navigation templates|releases nav]] | [[Category:Navigation templates|releases nav]] | ||
− |
Версия 08:37, 3 марта 2023
Содержание
Description
Navigation template for game releases. If a release belongs to a season or another major category, the appropriate season/category will be shown by default.
Usage
{{Releases nav}} {{Releases nav|<category>}} {{Releases nav|specialevent|<year>}}
Parameters
- 1 (unnamed parameter)
- Identify the season or category the release belongs to. Possible values:
- 1: Living World Season 1
- 1-return: Living World Season 1 re-release
- 2: Living World Season 2
- 3: Living World Season 3
- 4: Living World Season 4
- 5: The Icebrood Saga
- eod: End of Dragons additional story
- expansion: Expansions
- featurepack: Feature packs
- specialevent: Festivals and Special Events
- 2 (unnamed parameter)
- If the first parameter is set to specialevent, this should define the year to display the festivals and special events by default.
Examples
{{Releases nav|expansion}}
{{Releases nav|1-return}}
{{Releases nav|5}}
{{Releases nav|eod}}
{{Releases nav|featurepack}}
{{Releases nav|specialevent|2022}}
{{Releases nav}}