Template:MissionNavigation/PreviousMission: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
PetraMagna (talk | contribs) (get the mission before the current mission; returns an empty string if the current mission is 1-1 or 1-1H) |
PetraMagna (talk | contribs) (fix for A stages) |
||
Line 2:
-->{{#ifeq:{{MissionNavigation/GetChapter}}|1||<!--leave empty if this is 1-1; otherwise subtract 1 to chapter and reset stage
-->{{#expr:{{MissionNavigation/GetChapter}}-1}}-{{#if:{{#pos:{{MissionNavigation/GetMission}}|H|0}} | 3H | 5}}
}}|<!--
-->
-->{{MissionNavigation/GetChapter}}-5|<!-- no need to carry; just subtract 1
-->{{MissionNavigation/GetChapter}}-{{#expr:{{MissionNavigation/GetStage}}-1}}{{#if:{{#pos:{{MissionNavigation/GetMission}}|H|0}} | H |}}
}}
}}
|
Latest revision as of 02:44, 23 April 2024
PreviousMission-Expression error: Unrecognized word "r".