Template:Adventuresection

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
----
 
----
 
===Part {{{number}}} - {{{title}}}===
 
===Part {{{number}}} - {{{title}}}===
{|  
+
 
 +
{| class="chtable_b" align="left" style="font-size:medium;"
 
  |-
 
  |-
  | '''Pre-Battle Description'''
+
  ! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" | '''Win/Loss''' | colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" rowspan="{{#if:{{{mob10|}}}|14|{{#if:{{{mob9|}}}|13|{{#if:{{{mob8|}}}|12|{{#if:{{{mob7|}}}|11|{{#if:{{{mob6|}}}|10|{{#if:{{{mob5|}}}|9|{{#if:{{{mob4|}}}|8|{{#if:{{{mob3|}}}|7|{{#if:{{{mob2|}}}|6|5}} }} }} }} }} }} }} }} }}" | [[File:{{{raw_map}}}|center|600x400px]]
 
  |-
 
  |-
  | {{{pre_description}}}
+
  ! Victory Stars !! Loss Stars {{#if:{{{num_victory_squares|}}}| !! '''Victory Squares''' }}
 
  |-
 
  |-
  | '''Post-Battle Description'''
+
  | {{{victory_stars}}} || {{{loss_stars}}}  {{#if:{{{num_victory_squares|}}}| {{!}}{{!}}{{{num_victory_squares}}} }}
 
  |-
 
  |-
  | {{{post_description}}}
+
  ! Enemies !! Quantity
 
  |-
 
  |-
  | '''Map'''
+
  | align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}
 
  |-
 
  |-
  | [[File:{{{raw_map}}}|left|600x400px]]
+
  {{#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}}}
 +
  {{!}}-
 +
}}
 
  |-
 
  |-
  {| align="center"
+
  ! colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" rowspan="4" | !! rowspan="1" colspan="{{#if:{{{num_victory_squares|}}} |3|2}}" | '''Pre-Battle Description'''
  | '''Win/Loss Conditions'''
+
|-
  |-
+
| {{{pre_description}}}
  | Victory Stars || Loss Stars
+
|-
  |-
+
! '''Post-Battle Description'''
  | {{{victory_stars}}} || {{{loss_stars}}}
+
|-
  |-
+
| {{{post_description}}}
  | align="left" | '''Number of Victory Squares'''
+
|-
  |-
+
|}
  | {{{num_victory_squares|0}}}
+
{{#if:{{{hint1|}}}|
  |-
+
  {{{!}} class="chtable_b mw-collapsible mw-collapsed" align="left" valign="top"
  | align="left" | '''NPC Foes'''
+
  {{!}} '''Hints'''
  |-
+
   {{!}}-
  | Name || Quantity
+
   {{!}}
  |-
+
}}
  | align="center" | {{{mob1}}} || align="center" | {{{mob1_quantity}}}
+
{{#if:{{{hint1|}}}|* {{{hint1}}} <br> }}
  |-
+
  {{#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}}}  
+
    {{!}}-
+
  }}
+
  {| class="mw-collapsible mw-collapsed" align="left"
+
  | '''Hints'''
+
  |-
+
  |
+
{{#if:{{{hint1|}}}|* {{{hint1}}} <br>|* None <br> }}
+
 
{{#if:{{{hint2|}}}|* {{{hint2}}} <br> }}
 
{{#if:{{{hint2|}}}|* {{{hint2}}} <br> }}
 
{{#if:{{{hint3|}}}|* {{{hint3}}} <br> }}
 
{{#if:{{{hint3|}}}|* {{{hint3}}} <br> }}
Line 83: Line 77:
 
{{#if:{{{hint9|}}}|* {{{hint9}}} <br> }}
 
{{#if:{{{hint9|}}}|* {{{hint9}}} <br> }}
 
{{#if:{{{hint10|}}}|* {{{hint10}}} <br> }}
 
{{#if:{{{hint10|}}}|* {{{hint10}}} <br> }}
  |-
+
{{#if:{{{hint1|}}}|
   |}
+
   {{!}}-
|}
+
  {{!}}}
|}
+
}}
  
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
This is the skeletal outline for an individual sub-section within an adventure, usage is as follows:
+
This template is no longer in use operationallyJust a sandbox now.  
 
+
<pre>
+
{{Adventuresection
+
| 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>
+
}}
+
</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