Template:Scenario

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
===Part {{{number}}} - {{{title}}}===
 
===Part {{{number}}} - {{{title}}}===
  
{| class="chtable_b" align="left" style="font-size:medium;"
+
{| class="chtable_b"  
 
  |-
 
  |-
  |
+
  ! 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}} }} }} }} }} }} }} }} }}" | [[File:{{{raw_map}}}|center|600x400px]]
{| class="chtable_b" valign="top" align="left"
+
|-
  |
+
! Victory Stars !! Loss Stars {{#if:{{{num_victory_squares|}}}| !! '''Victory Squares''' }}
  {| class="chtable_b" align="center"
+
|-
  ! {{#if:{{{num_victory_squares|}}} | colspan="3" | colspan="2" }} | '''Win/Loss'''
+
| align="center" | {{{victory_stars}}} || align="center" | {{{loss_stars}}}  {{#if:{{{num_victory_squares|}}}| {{!}}{{!}} align="center" {{!}}{{{num_victory_squares}}} }}
  |-
+
|-
  ! Victory Stars !! Loss Stars {{#if:{{{num_victory_squares|}}}| !! '''Victory Squares''' }}
+
! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" |  
  |-
+
|-
  | {{{victory_stars}}} || {{{loss_stars}}}  {{#if:{{{num_victory_squares|}}}| {{!}}{{!}}{{{num_victory_squares}}} }}
+
! Enemies !! Quantity
  |-
+
|-
  |}
+
| align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}  
  |-
+
|-
  |
+
{{#if:{{{mob2|}}}|
  {| class="chtable_b" align="center"
+
  {{!}} align="center" {{!}} {{{mob2}}} {{!}}{{!}} align="center" {{!}} {{{mob2_quantity}}}  
  ! Enemies !! Quantity
+
  {{!}}-
  |-
+
}}
  | align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}  
+
{{#if:{{{mob3|}}}|
  |-
+
  {{!}} align="center" {{!}} {{{mob3}}} {{!}}{{!}} align="center" {{!}} {{{mob3_quantity}}}  
  {{#if:{{{mob2|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob2}}} {{!}}{{!}} align="center" {{!}} {{{mob2_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob4|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob4}}} {{!}}{{!}} align="center" {{!}} {{{mob4_quantity}}}  
  {{#if:{{{mob3|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob3}}} {{!}}{{!}} align="center" {{!}} {{{mob3_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob5|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob5}}} {{!}}{{!}} align="center" {{!}} {{{mob5_quantity}}}  
  {{#if:{{{mob4|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob4}}} {{!}}{{!}} align="center" {{!}} {{{mob4_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob6|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob6}}} {{!}}{{!}} align="center" {{!}} {{{mob6_quantity}}}  
  {{#if:{{{mob5|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob5}}} {{!}}{{!}} align="center" {{!}} {{{mob5_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob7|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob7}}} {{!}}{{!}} align="center" {{!}} {{{mob7_quantity}}}  
  {{#if:{{{mob6|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob6}}} {{!}}{{!}} align="center" {{!}} {{{mob6_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob8|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob8}}} {{!}}{{!}} align="center" {{!}} {{{mob8_quantity}}}  
  {{#if:{{{mob7|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob7}}} {{!}}{{!}} align="center" {{!}} {{{mob7_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob9|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob9}}} {{!}}{{!}} align="center" {{!}} {{{mob9_quantity}}}  
  {{#if:{{{mob8|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob8}}} {{!}}{{!}} align="center" {{!}} {{{mob8_quantity}}}  
+
}}
    {{!}}-
+
{{#if:{{{mob10|}}}|
  }}
+
  {{!}} align="center" {{!}} {{{mob10}}} {{!}}{{!}} align="center" {{!}} {{{mob10_quantity}}}  
  {{#if:{{{mob9|}}}|
+
  {{!}}-
    {{!}} align="center" {{!}} {{{mob9}}} {{!}}{{!}} align="center" {{!}} {{{mob9_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'''
  {{#if:{{{mob10|}}}|
+
|-
    {{!}} align="center" {{!}} {{{mob10}}} {{!}}{{!}} align="center" {{!}} {{{mob10_quantity}}}  
+
| {{{pre_description}}}
    {{!}}-
+
|-
  }}
+
! '''Post-Battle Description'''
  |}
+
|-
  |-
+
| {{{post_description}}}
  |}
+
|
+
{| class="chtable_b" align="left" valign="top" style="width: 600px;"
+
  |-
+
  | [[File:{{{raw_map}}}|center|600x400px]]
+
  |}
+
 
  |-
 
  |-
|
 
 
   {{#if:{{{hint1|}}}|
 
   {{#if:{{{hint1|}}}|
     {{{!}} class="chtable_b mw-collapsible mw-collapsed" align="left" valign="top"
+
     ! colspan="{{#if:{{{num_victory_squares|}}} |6|5}}" align="left" {{!}} '''Hints'''
    {{!}} '''Hints'''
+
 
     {{!}}-
 
     {{!}}-
     {{!}}
+
     {{!}} colspan="{{#if:{{{num_victory_squares|}}} |6|5}}" {{!}} <div class="mw-collapsible mw-collapsed">
  }}
+
* {{{hint1}}} <br> }}
  {{#if:{{{hint1|}}}|* {{{hint1}}} <br> }}
+
   {{#if:{{{hint2|}}}| * {{{hint2}}} <br> }}
   {{#if:{{{hint2|}}}|* {{{hint2}}} <br> }}
+
   {{#if:{{{hint3|}}}| * {{{hint3}}} <br> }}
   {{#if:{{{hint3|}}}|* {{{hint3}}} <br> }}
+
   {{#if:{{{hint4|}}}| * {{{hint4}} <br> }}
   {{#if:{{{hint4|}}}|* {{{hint4}}} <br> }}
+
   {{#if:{{{hint5|}}}| * {{{hint5}}} <br> }}
   {{#if:{{{hint5|}}}|* {{{hint5}}} <br> }}
+
   {{#if:{{{hint6|}}}| * {{{hint6}}} <br> }}
   {{#if:{{{hint6|}}}|* {{{hint6}}} <br> }}
+
   {{#if:{{{hint7|}}}| * {{{hint7}}} <br> }}
   {{#if:{{{hint7|}}}|* {{{hint7}}} <br> }}
+
   {{#if:{{{hint8|}}}| * {{{hint8}}} <br> }}
   {{#if:{{{hint8|}}}|* {{{hint8}}} <br> }}
+
   {{#if:{{{hint9|}}}| * {{{hint9}}} <br> }}
   {{#if:{{{hint9|}}}|* {{{hint9}}} <br> }}
+
   {{#if:{{{hint10|}}}| * {{{hint10}}} <br> }}
   {{#if:{{{hint10|}}}|* {{{hint10}}} <br> }}
+
   {{#if:{{{hint1|}}}|</div> }}
   {{#if:{{{hint1|}}}|
+
  |}
    {{!}}-
+
    {{!}}}
+
  }}
+
  |
+
{| class="chtable_b" align="left" valign="top" style="width: 600px;"
+
  |-
+
  ! '''Pre-Battle Description'''
+
  |-
+
  | {{{pre_description}}}
+
  |-
+
  ! '''Post-Battle Description'''
+
  |-
+
  | {{{post_description}}}
+
  |-
+
  |}
+
|}
+
  
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
This is the skeletal outline for an individual sub-scenario within an adventure, usage is as follows:
+
This template is no longer in use operationallyJust a sandbox now.  
 
+
<pre>
+
{{Scenario
+
| number=<scenario order, mandatory>
+
| title=<scenario title, mandatory>
+
| pre_description=<Description of scenario prior to start of battle, mandatory>
+
| post_description=<Description following completion of scenario, 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 scenario, optional>
+
| hint2=<Second hint for this scenario, optional>
+
| hint3=<Third hint for this scenario, optional>
+
| hint4=<Fourth hint for this scenario, optional>
+
| hint5=<Fifth hint for this scenario, optional>
+
| hint6=<Sixth hint for this scenario, optional>
+
| hint7=<Seventh hint for this scenario, optional>
+
| hint8=<Eighth hint for this scenario, optional>
+
| hint9=<Nineth hint for this scenario, optional>
+
| hint10=<Tenth hint for this scenario, optional>
+
}}
+
</pre>
+
 
+
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.
+
 
</noinclude>
 
</noinclude>

Revision as of 07:11, 16 August 2013


This template is no longer in use operationally. Just a sandbox now.

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools