Template:Scenario

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
(36 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
===Part {{{number}}} - {{{title}}}===
 
===Part {{{number}}} - {{{title}}}===
  
{| class="chtable_b striped" align="left"
+
{| class="chtable_b" style="width:900px;"
 
  |-
 
  |-
| style="width: 30%"|
+
  ! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" | '''Win/Loss''' || colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" rowspan="{{#if:{{{mob10|}}}|15|{{#if:{{{mob9|}}}|14|{{#if:{{{mob8|}}}|13|{{#if:{{{mob7|}}}|12|{{#if:{{{mob6|}}}|11|{{#if:{{{mob5|}}}|10|{{#if:{{{mob4|}}}|9|{{#if:{{{mob3|}}}|8|{{#if:{{{mob2|}}}|7|6}} }} }} }} }} }} }} }} }}" style="width:600px;"| [[File:{{{raw_map}}}|center|600x400px]]
  {| class="chtable_b" align="center" rowspan="2"
+
  ! rowspan="1" colspan="2" | '''Win/Loss'''
+
  ! Victory Stars !! Loss Stars
+
  |-
+
  | {{{victory_stars}}} || {{{loss_stars}}}
+
  |-
+
  {{#if:{{{num_victory_squares|}}}|
+
    {{!}} align="left" {{!}} '''Number of Victory Squares'''
+
    {{!}}-
+
    {{!}} {{{num_victory_squares}}}
+
    {{!}}-
+
  }}
+
  |}
+
  {| class="chtable_b" align="center"
+
  ! Enemies !! Quantity
+
  |-
+
  | align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}
+
  |-
+
  {{#if:{{{mob2|}}}|
+
    {{!}} align="center" {{!}} {{{mob2}}} {{!}}{{!}} align="center" {{!}} {{{mob2_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob3|}}}|
+
    {{!}} align="center" {{!}} {{{mob3}}} {{!}}{{!}} align="center" {{!}} {{{mob3_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob4|}}}|
+
    {{!}} align="center" {{!}} {{{mob4}}} {{!}}{{!}} align="center" {{!}} {{{mob4_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob5|}}}|
+
    {{!}} align="center" {{!}} {{{mob5}}} {{!}}{{!}} align="center" {{!}} {{{mob5_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob6|}}}|
+
    {{!}} align="center" {{!}} {{{mob6}}} {{!}}{{!}} align="center" {{!}} {{{mob6_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob7|}}}|
+
    {{!}} align="center" {{!}} {{{mob7}}} {{!}}{{!}} align="center" {{!}} {{{mob7_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob8|}}}|
+
    {{!}} align="center" {{!}} {{{mob8}}} {{!}}{{!}} align="center" {{!}} {{{mob8_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob9|}}}|
+
    {{!}} align="center" {{!}} {{{mob9}}} {{!}}{{!}} align="center" {{!}} {{{mob9_quantity}}}
+
    {{!}}-
+
  }}
+
  {{#if:{{{mob10|}}}|
+
    {{!}} align="center" {{!}} {{{mob10}}} {{!}}{{!}} align="center" {{!}} {{{mob10_quantity}}}
+
    {{!}}-
+
  }}
+
|}
+
|
+
  {{#if:{{{hint1|}}}|
+
    {{{!}} class="mw-collapsible mw-collapsed" align="left"
+
    {{!}} '''Hints'''
+
    {{!}}-
+
    {{!}}
+
  }}
+
  {{#if:{{{hint1|}}}|* {{{hint1}}} <br> }}
+
  {{#if:{{{hint2|}}}|* {{{hint2}}} <br> }}
+
  {{#if:{{{hint3|}}}|* {{{hint3}}} <br> }}
+
  {{#if:{{{hint4|}}}|* {{{hint4}}} <br> }}
+
  {{#if:{{{hint5|}}}|* {{{hint5}}} <br> }}
+
  {{#if:{{{hint6|}}}|* {{{hint6}}} <br> }}
+
  {{#if:{{{hint7|}}}|* {{{hint7}}} <br> }}
+
  {{#if:{{{hint8|}}}|* {{{hint8}}} <br> }}
+
  {{#if:{{{hint9|}}}|* {{{hint9}}} <br> }}
+
  {{#if:{{{hint10|}}}|* {{{hint10}}} <br> }}
+
  {{#if:{{{hint1|}}}|
+
    {{!}}-
+
    {{!}}}
+
  }}
+
| [[File:{{{raw_map}}}|600x400px|Map]]
+
 
  |-
 
  |-
  ! colspan="2" || |'''Pre-Battle Description'''
+
  ! Victory Stars !! Loss Stars {{#if:{{{num_victory_squares|}}}| !! '''Victory Squares''' }}
 
  |-
 
  |-
  | colspan="2" || | {{{pre_description}}}
+
  | align="center" | {{{victory_stars}}} || align="center" | {{{loss_stars}}}  {{#if:{{{num_victory_squares|}}}| {{!}}{{!}} align="center" {{!}}{{{num_victory_squares}}} }}
 
  |-
 
  |-
  ! colspan="2" || | '''Post-Battle Description'''
+
  ! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" |  
 
  |-
 
  |-
  | colspan="2" || | {{{post_description}}}
+
  !  Enemies !! Quantity
 
  |-
 
  |-
 
+
| align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}
 +
|-
 +
{{#if:{{{mob2|}}}|
 +
  {{!}} align="center" {{!}} {{{mob2}}} {{!}}{{!}} align="center" {{!}} {{{mob2_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob3|}}}|
 +
  {{!}} align="center" {{!}} {{{mob3}}} {{!}}{{!}} align="center" {{!}} {{{mob3_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob4|}}}|
 +
  {{!}} align="center" {{!}} {{{mob4}}} {{!}}{{!}} align="center" {{!}} {{{mob4_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob5|}}}|
 +
  {{!}} align="center" {{!}} {{{mob5}}} {{!}}{{!}} align="center" {{!}} {{{mob5_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob6|}}}|
 +
  {{!}} align="center" {{!}} {{{mob6}}} {{!}}{{!}} align="center" {{!}} {{{mob6_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob7|}}}|
 +
  {{!}} align="center" {{!}} {{{mob7}}} {{!}}{{!}} align="center" {{!}} {{{mob7_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob8|}}}|
 +
  {{!}} align="center" {{!}} {{{mob8}}} {{!}}{{!}} align="center" {{!}} {{{mob8_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob9|}}}|
 +
  {{!}} align="center" {{!}} {{{mob9}}} {{!}}{{!}} align="center" {{!}} {{{mob9_quantity}}}
 +
  {{!-}}
 +
}}
 +
{{#if:{{{mob10|}}}|
 +
  {{!}} align="center" {{!}} {{{mob10}}} {{!}}{{!}} align="center" {{!}} {{{mob10_quantity}}}
 +
  {{!-}}
 +
}}
 +
|-
 +
! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" rowspan="4" style="width:600px;" | !! rowspan="1" colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" | '''Pre-Battle Description'''
 +
|-
 +
| style="width:600px;"| {{{pre_description}}}
 +
|-
 +
! style="width:600px;"| '''Post-Battle Description'''
 +
|-
 +
| style="width:600px;"| {{{post_description}}}
 +
|-
 +
  {{#if:{{{hint1|}}}|
 +
    ! colspan="{{#if:{{{num_victory_squares|}}} |6|5}}" align="left" {{!}} '''Hints'''
 +
    {{!-}}
 +
    {{!}} colspan="{{#if:{{{num_victory_squares|}}} |6|5}}" {{!}} <div class="mw-collapsible mw-collapsed">
 +
* {{{hint1}}} <br>  }}  {{#if:{{{hint2|}}}| * {{{hint2}}} <br> }}  {{#if:{{{hint3|}}}| * {{{hint3}}} <br> }}  {{#if:{{{hint4|}}}| * {{{hint4}}} <br> }}  {{#if:{{{hint5|}}}| * {{{hint5}}} <br> }}  {{#if:{{{hint6|}}}| * {{{hint6}}} <br> }}  {{#if:{{{hint7|}}}| * {{{hint7}}} <br> }}  {{#if:{{{hint8|}}}| * {{{hint8}}} <br> }}  {{#if:{{{hint9|}}}| * {{{hint9}}} <br> }}  {{#if:{{{hint10|}}}| * {{{hint10}}} <br> }}  {{#if:{{{hint1|}}}|</div> }}
 
  |}
 
  |}
  
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
This is the skeletal outline for an individual sub-scenario within an adventure, usage is as follows:
+
This is the skeletal outline for an individual sub-section within an adventure, usage is as follows:
  
 
<pre>
 
<pre>
 
{{Scenario
 
{{Scenario
  | number=<scenario order, mandatory>
+
  | number=<Section order, mandatory>
  | title=<scenario title, mandatory>
+
  | title=<Section title, mandatory>
  | pre_description=<Description of scenario prior to start of battle, mandatory>
+
  | pre_description=<Description of section prior to start of battle, mandatory>
  | post_description=<Description following completion of scenario, mandatory>
+
  | post_description=<Description following completion of section, mandatory>
 
  | raw_map=<screen shot of map.jpg, a raw screenshot of the isometric view of the map, mandatory>
 
  | raw_map=<screen shot of map.jpg, a raw screenshot of the isometric view of the map, mandatory>
 
  | victory_stars=<number of stars required for a victory, mandatory>
 
  | victory_stars=<number of stars required for a victory, mandatory>
Line 129: Line 103:
 
  | mob10=<Tenth opponent, in the form of a link [[Mob location|name]], optional>
 
  | mob10=<Tenth opponent, in the form of a link [[Mob location|name]], optional>
 
  | mob10_quantity=<Number of mob10's, optional>
 
  | mob10_quantity=<Number of mob10's, optional>
  | hint1=<First hint for this scenario, optional>
+
  | hint1=<First hint for this section, optional>
  | hint2=<Second hint for this scenario, optional>
+
  | hint2=<Second hint for this section, optional>
  | hint3=<Third hint for this scenario, optional>
+
  | hint3=<Third hint for this section, optional>
  | hint4=<Fourth hint for this scenario, optional>
+
  | hint4=<Fourth hint for this section, optional>
  | hint5=<Fifth hint for this scenario, optional>
+
  | hint5=<Fifth hint for this section, optional>
  | hint6=<Sixth hint for this scenario, optional>
+
  | hint6=<Sixth hint for this section, optional>
  | hint7=<Seventh hint for this scenario, optional>
+
  | hint7=<Seventh hint for this section, optional>
  | hint8=<Eighth hint for this scenario, optional>
+
  | hint8=<Eighth hint for this section, optional>
  | hint9=<Nineth hint for this scenario, optional>
+
  | hint9=<Nineth hint for this section, optional>
  | hint10=<Tenth hint for this scenario, optional>
+
  | hint10=<Tenth hint for this section, optional>
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 20:38, 24 November 2013


This is the skeletal outline for an individual sub-section within an adventure, usage is as follows:

{{Scenario
 | number=<Section order, mandatory>
 | title=<Section title, mandatory>
 | pre_description=<Description of section prior to start of battle, mandatory>
 | post_description=<Description following completion of section, mandatory>
 | raw_map=<screen shot of map.jpg, a raw screenshot of the isometric view of the map, mandatory>
 | victory_stars=<number of stars required for a victory, mandatory>
 | loss_stars=<number of stars required for a loss, mandatory>
 | num_victory_squares=<number of victory squares present, optional, if absent set to 0>
 | mob1=<First opponent, in the form of a link [[Mob location|name]], mandatory>
 | mob1_quantity=<Number of mob1's, mandatory>
 | mob2=<Second opponent, in the form of a link [[Mob location|name]], optional>
 | mob2_quantity=<Number of mob2's, optional>
 | mob3=<Third opponent, in the form of a link [[Mob location|name]], optional>
 | mob3_quantity=<Number of mob3's, optional>
 | mob4=<Fourth opponent, in the form of a link [[Mob location|name]], optional>
 | mob4_quantity=<Number of mob4's, optional>
 | mob5=<Fifth opponent, in the form of a link [[Mob location|name]], optional>
 | mob5_quantity=<Number of mob5's, optional>
 | mob6=<Sixth opponent, in the form of a link [[Mob location|name]], optional>
 | mob6_quantity=<Number of mob6's, optional>
 | mob7=<Seventh opponent, in the form of a link [[Mob location|name]], optional>
 | mob7_quantity=<Number of mob7's, optional>
 | mob8=<Eighth opponent, in the form of a link [[Mob location|name]], optional>
 | mob8_quantity=<Number of mob8's, optional>
 | mob9=<Nineth opponent, in the form of a link [[Mob location|name]], optional>
 | mob9_quantity=<Number of mob9's, optional>
 | mob10=<Tenth opponent, in the form of a link [[Mob location|name]], optional>
 | mob10_quantity=<Number of mob10's, optional>
 | hint1=<First hint for this section, optional>
 | hint2=<Second hint for this section, optional>
 | hint3=<Third hint for this section, optional>
 | hint4=<Fourth hint for this section, optional>
 | hint5=<Fifth hint for this section, optional>
 | hint6=<Sixth hint for this section, optional>
 | hint7=<Seventh hint for this section, optional>
 | hint8=<Eighth hint for this section, optional>
 | hint9=<Nineth hint for this section, optional>
 | hint10=<Tenth hint for this section, optional>
}}

Simply copy/paste the above code and fill in what should be there and delete any optional lines you are not using. Template automatically puts card in Cards category.

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools