Difference between revisions of "Template:Scenario"

From Granblue Fantasy Wiki
Jump to navigation Jump to search
(Adding titles for main quest scenarios (...I hope it works))
Line 38: Line 38:
 
     #if: {{ #var: scenario_event_episode }}
 
     #if: {{ #var: scenario_event_episode }}
 
     | - {{ #var: scenario_event_episode }}
 
     | - {{ #var: scenario_event_episode }}
 +
    }}
 +
  }}
 +
|main_quest={{
 +
  #vardefine: scenario_main_act | {{
 +
    #switch: {{{act|}}}
 +
    |1=Act 1: Girl in Blue
 +
    |2=Act 2: Dawning Sky
 +
    |3=Act 3: Wayfaring Astral
 +
    |3-1=Act 3: Wayfaring Astral: Children of Utopia
 +
    }}
 +
  }}{{
 +
  #vardefine: scenario_main_chapter | {{
 +
    #ifeq: {{{chapter|}}}|op|Opening|Chapter {{{chapter|}}}
 +
    }}
 +
  }}{{
 +
  #if: {{{chapter_name|}}}
 +
  | {{
 +
    #vardefine: scenario_main_chapter | {{
 +
      #if: {{ #var: scenario_main_chapter }}
 +
      |{{ #var: scenario_main_chapter }}: {{{chapter_name}}}
 +
      | {{{chapter_name}}}
 +
      }}
 +
    }}
 +
  }}{{
 +
  #vardefine: scenario_main_episode | {{
 +
    #switch: {{{episode|}}}
 +
    |1|2|3|4|5|6|7|8|9=Episode {{{episode|}}}
 +
    }}
 +
  }}{{
 +
  #if: {{{episode_name|}}}
 +
  | {{
 +
    #vardefine: scenario_main_episode | {{
 +
      #if: {{ #var: scenario_main_episode }}
 +
      |{{ #var: scenario_main_episode }}: {{{episode_name}}}
 +
      | {{{episode_name}}}
 +
      }}
 +
    }}
 +
  }}{{
 +
  #vardefine: scenario_name | {{ #var: scenario_main_act }} - {{ #var: scenario_main_chapter }} {{
 +
    #if: {{ #var: scenario_main_episode }}
 +
    | - {{ #var: scenario_main_episode }}
 
     }}
 
     }}
 
   }}
 
   }}

Revision as of 05:40, 21 August 2020

: Scene 1