Template:Adventurepage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
(26 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#if: {{{prereq1|}}}| [[Has prereq_flag1::{{{prereq1}}}| ]] }}{{#if: {{{prereq2|}}}| [[Has prereq_flag2::{{{prereq2}}}| ]] }}{{#if: {{{prereq3|}}}| [[Has prereq_flag3::{{{prereq3}}}| ]] }}{{#if: {{{prereq4|}}}| [[Has prereq_flag4::{{{prereq4}}}| ]] }}{{#if: {{{prereq5|}}}| [[Has prereq_flag5::{{{prereq5}}}| ]] }}{{#if: {{{comp1|}}}| [[Has comp_flag1::{{{comp1}}}|]] }}{{#if: {{{comp2|}}}| [[Has comp_flag2::{{{comp2}}}|]] }}{{#if: {{{comp3|}}}| [[Has comp_flag3::{{{comp3}}}|]] }}{{#if: {{{comp4|}}}| [[Has comp_flag4::{{{comp4}}}|]]  }}{{#if: {{{comp5|}}}| [[Has comp_flag5::{{{comp5}}}|]] }}
 
{| class="chtable_b"  
 
{| class="chtable_b"  
 
  |-
 
  |-
Line 22: Line 22:
 
  | '''Unlocked By'''  
 
  | '''Unlocked By'''  
 
  |-
 
  |-
  |
+
  | {{#ask:[[Has comp_flag1::{{{prereq1}}}]] OR [[Has comp_flag2::{{{prereq1}}}]] OR [[Has comp_flag3::{{{prereq1}}}]] OR [[Has comp_flag4::{{{prereq1}}}]] OR [[Has comp_flag5::{{{prereq1}}}]]|outro=<br>}} {{#ask:[[Has comp_flag1::{{{prereq2}}}]] OR [[Has comp_flag2::{{{prereq2}}}]] OR [[Has comp_flag3::{{{prereq2}}}]] OR [[Has comp_flag4::{{{prereq2}}}]] OR [[Has comp_flag5::{{{prereq2}}}]]|outro=<br>}} {{#ask:[[Has comp_flag1::{{{prereq3}}}]] OR [[Has comp_flag2::{{{prereq3}}}]] OR [[Has comp_flag3::{{{prereq3}}}]] OR [[Has comp_flag4::{{{prereq3}}}]] OR [[Has comp_flag5::{{{prereq3}}}]]|outro=<br>}} {{#ask:[[Has comp_flag1::{{{prereq4}}}]] OR [[Has comp_flag2::{{{prereq4}}}]] OR [[Has comp_flag3::{{{prereq4}}}]] OR [[Has comp_flag4::{{{prereq4}}}]] OR [[Has comp_flag5::{{{prereq4}}}]]|outro=<br>}} {{#ask:[[Has comp_flag1::{{{prereq5}}}]] OR [[Has comp_flag2::{{{prereq5}}}]] OR [[Has comp_flag3::{{{prereq5}}}]] OR [[Has comp_flag4::{{{prereq5}}}]] OR [[Has comp_flag5::{{{prereq5}}}]]}}
{{#if:{{{unlocked_by1|}}}|:[[{{{unlocked_by1}}}]] <br>|:None <br> }}{{#if:{{{unlocked_by2|}}}|:[[{{{unlocked_by2}}}]] <br> }}{{#if:{{{unlocked_by3|}}}|:[[{{{unlocked_by3}}}]] <br> }}{{#if:{{{unlocked_by4|}}}|:[[{{{unlocked_by4}}}]] <br> }}{{#if:{{{unlocked_by5|}}}|:[[{{{unlocked_by5}}}]] <br> }}{{#if:{{{unlocked_by6|}}}|:[[{{{unlocked_by6}}}]] <br> }}{{#if:{{{unlocked_by7|}}}|:[[{{{unlocked_by7}}}]] <br> }}{{#if:{{{unlocked_by8|}}}|:[[{{{unlocked_by8}}}]] <br> }}{{#if:{{{unlocked_by9|}}}|:[[{{{unlocked_by9}}}]] <br> }}{{#if:{{{unlocked_by10|}}}|:[[{{{unlocked_by10}}}]] <br> }}
+
 
  |-
 
  |-
 
  | '''Unlocks '''
 
  | '''Unlocks '''
 
  |-
 
  |-
  |
+
  | {{#ask:[[Has prereq_flag1::{{{comp1}}}]] OR [[Has prereq_flag2::{{{comp1}}}]] OR [[Has prereq_flag3::{{{comp1}}}]] OR [[Has prereq_flag4::{{{comp1}}}]] OR [[Has prereq_flag5::{{{comp1}}}]]|outro=<br> }} {{#ask:[[Has prereq_flag1::{{{comp2}}}]] OR [[Has prereq_flag2::{{{comp2}}}]] OR [[Has prereq_flag3::{{{comp2}}}]] OR [[Has prereq_flag4::{{{comp2}}}]] OR [[Has prereq_flag5::{{{comp2}}}]]|outro=<br>}} {{#ask:[[Has prereq_flag1::{{{comp3}}}]] OR [[Has prereq_flag2::{{{comp3}}}]] OR [[Has prereq_flag3::{{{comp3}}}]] OR [[Has prereq_flag4::{{{comp3}}}]] OR [[Has prereq_flag5::{{{comp3}}}]]|outro=<br>}} {{#ask:[[Has prereq_flag1::{{{comp4}}}]] OR [[Has prereq_flag2::{{{comp4}}}]] OR [[Has prereq_flag3::{{{comp4}}}]] OR [[Has prereq_flag4::{{{comp4}}}]] OR [[Has prereq_flag5::{{{comp4}}}]]|outro=<br>}} {{#ask:[[Has prereq_flag1::{{{comp5}}}]] OR [[Has prereq_flag2::{{{comp5}}}]] OR [[Has prereq_flag3::{{{comp5}}}]] OR [[Has prereq_flag4::{{{comp5}}}]] OR [[Has prereq_flag5::{{{comp5}}}]]}}
{{#if:{{{unlocks1|}}}|:[[{{{unlocks1}}}]] <br>|:None <br> }}{{#if:{{{unlocks2|}}}|:[[{{{unlocks2}}}]] <br> }}{{#if:{{{unlocks3|}}}|:[[{{{unlocks3}}}]] <br> }}{{#if:{{{unlocks4|}}}|:[[{{{unlocks4}}}]] <br> }}{{#if:{{{unlocks5|}}}|:[[{{{unlocks5}}}]] <br> }}{{#if:{{{unlocks6|}}}|:[[{{{unlocks6}}}]] <br> }}{{#if:{{{unlocks7|}}}|:[[{{{unlocks7}}}]] <br> }}{{#if:{{{unlocks8|}}}|:[[{{{unlocks8}}}]] <br> }}{{#if:{{{unlocks9|}}}|:[[{{{unlocks9}}}]] <br> }}{{#if:{{{unlocks10|}}}|:[[{{{unlocks10}}}]] <br> }}
+
 
  |-
 
  |-
 
  |}
 
  |}
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
 +
<div class="noautonum">__TOC__</div>
 
{{{scenario1}}} <br>
 
{{{scenario1}}} <br>
 
{{#if:{{{scenario2|}}}|{{{scenario2}}} <br> }}
 
{{#if:{{{scenario2|}}}|{{{scenario2}}} <br> }}
Line 63: Line 62:
 
  | quest5=<Fifth quest condition, optional>
 
  | quest5=<Fifth quest condition, optional>
 
  | splash_screen=<Splash screen.png, mandatory>
 
  | splash_screen=<Splash screen.png, mandatory>
  | unlocked_by=<Adventure that unlocks this one, mandatory>
+
  | prereq1=adv pre-requisite flag1
  | unlocks1=<First adventure unlocked after completion of this one, optional>
+
  | prereq2=adv pre-requisite flag2
  | unlocks2=<Second adventure unlocked after completion of this one, optional>
+
  | prereq3=adv pre-requisite flag3
  | unlocks3=<Third adventure unlocked after completion of this one, optional>
+
  | prereq4=adv pre-requisite flag4
  | unlocks4=<Fourth adventure unlocked after completion of this one, optional>
+
  | prereq5=adv pre-requisite flag5
| unlocks5=<Fifth adventure unlocked after completion of this one, optional>
+
  | comp1=adv completion flag1
  | unlocks6=<Sixth adventure unlocked after completion of this one, optional>
+
  | comp2=adv completion flag2
  | unlocks7=<Seventh adventure unlocked after completion of this one, optional>
+
  | comp3=adv completion flag3
  | unlocks8=<Eighth adventure unlocked after completion of this one, optional>
+
  | comp4=adv completion flag4
  | unlocks9=<Nineth adventure unlocked after completion of this one, optional>
+
  | comp5=adv completion flag5
  | unlocks10=<Tenth adventure unlocked after completion of this one, optional>
+
 
  | pizza_cost=<Pizza cost to unlock this adventure, optional>
 
  | pizza_cost=<Pizza cost to unlock this adventure, optional>
 
  | reward1=<First guaranteed reward for adventure completion, optional>
 
  | reward1=<First guaranteed reward for adventure completion, optional>

Latest revision as of 19:48, 7 August 2015

This is the skeletal outline for an adventure page, usage is as follows:

{{Adventurepage
 | name=<Adventure title, mandatory>
 | num_scenarios=<Number of sub-scenarios within the adventure, mandatory>
 | level=<Minimum level range, mandatory>
 | quest1=<First quest condition, optional>
 | quest2=<Second quest condition, optional>
 | quest3=<Third quest condition, optional>
 | quest4=<Fourth quest condition, optional>
 | quest5=<Fifth quest condition, optional>
 | splash_screen=<Splash screen.png, mandatory>
 | prereq1=adv pre-requisite flag1
 | prereq2=adv pre-requisite flag2
 | prereq3=adv pre-requisite flag3
 | prereq4=adv pre-requisite flag4
 | prereq5=adv pre-requisite flag5
 | comp1=adv completion flag1
 | comp2=adv completion flag2
 | comp3=adv completion flag3
 | comp4=adv completion flag4
 | comp5=adv completion flag5
 | pizza_cost=<Pizza cost to unlock this adventure, optional>
 | reward1=<First guaranteed reward for adventure completion, optional>
 | reward2=<Second guaranteed reward for adventure completion, optional>
 | reward3=<Third guaranteed reward for adventure completion, optional>
 | reward4=<Fourth guaranteed reward for adventure completion, optional>
 | scenario1=<First scenario, input as a Adventuresection template, mandatory>
 | scenario2=<Sectond scenario, input as a Adventuresection template, optional>
 | scenario3=<Third scenario, input as a Adventuresection template, optional>
 | scenario4=<Fourth scenario, input as a Adventuresection template, optional>
 | scenario5=<Fifth scenario, input as a Adventuresection template, optional>
 | scenario6=<Sixth scenario, input as a Adventuresection template, optional>
 | scenario7=<Seventh scenario, input as a Adventuresection template, optional>
 | scenario8=<Eighth scenario, input as a Adventuresection template, optional>
 | scenario9=<Nineth scenario, input as a Adventuresection template, optional>
 | scenario10=<Tenth scenario, input as a Adventuresection template, 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