Template:Adventurepage
From Card Hunter Wiki
(Difference between revisions)
(27 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}}}]]}} |
− | :[[{{{ | + | |
|- | |- | ||
| '''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}}}]]}} |
− | {{# | + | |
|- | |- | ||
|} | |} | ||
<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> | ||
− | | | + | | 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> | | 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.