Template:Adventurepage
From Card Hunter Wiki
(Difference between revisions)
(58 intermediate revisions by 2 users 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" | |
− | {| | + | |
− | + | ||
|- | |- | ||
− | | | + | | colspan="2" | [[File:{{{splash_screen}}}|center|400x600px]] |
|- | |- | ||
− | | ''' | + | | '''Number of Scenarios'''|| {{{num_scenarios}}} |
|- | |- | ||
+ | {{#if:{{{pizza_cost|}}}| | ||
+ | {{!}} '''Pizza Cost to Unlock''' {{!}}{{!}} {{{pizza_cost}}} | ||
+ | {{!-}} }} | ||
+ | {{#if:{{{reward1|}}}| | ||
+ | {{!}} '''Guaranteed Reward for Completion''' | ||
+ | {{!-}} | ||
+ | {{!}} | ||
+ | {{#if:{{{reward1|}}}|:[[Items/{{{reward1}}}|{{{reward1}}}]] <br> }}{{#if:{{{reward2|}}}|:[[Items/{{{reward2}}}|{{{reward2}}}]] <br> }}{{#if:{{{reward3|}}}|:[[Items/{{{reward3}}}|{{{reward3}}}]] <br> }}{{#if:{{{reward4|}}}|:[[Items/{{{reward4}}}|{{{reward4}}}]] <br> }} | ||
+ | {{!-}} }} | ||
| '''Quests''' | | '''Quests''' | ||
|- | |- | ||
| | | | ||
− | {{#if:{{{quest1|}}}|{{{quest1}}} <br>|:None <br> }} | + | {{#if:{{{quest1|}}}|* {{{quest1}}} <br>|:None <br> }}{{#if:{{{quest2|}}}|* {{{quest2}}} <br> }}{{#if:{{{quest3|}}}|* {{{quest3}}} <br> }}{{#if:{{{quest4|}}}|* {{{quest4}}} <br> }}{{#if:{{{quest5|}}}|* {{{quest5}}} <br> }} |
− | {{#if:{{{quest2|}}}|{{{quest2}}} <br> }} | + | |- |
− | {{#if:{{{quest3|}}}|{{{quest3}}} <br> }} | + | | '''Unlocked By''' |
− | {{#if:{{{quest4|}}}|{{{quest4}}} <br> }} | + | |- |
− | {{#if:{{{quest5|}}}|{{{quest5}}} <br> }} | + | | {{#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 ''' | ||
+ | |- | ||
+ | | {{#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> |
− | {{#if:{{{ | + | {{#if:{{{scenario2|}}}|{{{scenario2}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario3|}}}|{{{scenario3}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario4|}}}|{{{scenario4}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario5|}}}|{{{scenario5}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario6|}}}|{{{scenario6}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario7|}}}|{{{scenario7}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario8|}}}|{{{scenario8}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario9|}}}|{{{scenario9}}} <br> }} |
− | {{#if:{{{ | + | {{#if:{{{scenario10|}}}|{{{scenario10}}} <br> }} |
− | + | [[Category:Adventure]][[Category:Level {{{level}}} Adventures]][[Category:Adventures With {{{num_scenarios}}} Scenarios]] | |
− | </includeonly> | + | {{#if:{{{pizza_cost|}}}|[[Category:Treasure Hunt Adventures]]|[[Category:Free Adventures]] }} |
− | <noinclude> | + | {{#if:{{{quest1|}}}|[[Category: {{{quest1|}}}]]|}} |
+ | {{#if:{{{quest2|}}}|[[Category: {{{quest2|}}}]]|}} | ||
+ | {{#if:{{{quest3|}}}|[[Category: {{{quest3|}}}]]|}} | ||
+ | {{#if:{{{quest4|}}}|[[Category: {{{quest4|}}}]]|}} | ||
+ | {{#if:{{{quest5|}}}|[[Category: {{{quest5|}}}]]|}}</includeonly><noinclude> | ||
This is the skeletal outline for an adventure page, usage is as follows: | This is the skeletal outline for an adventure page, usage is as follows: | ||
Line 41: | Line 54: | ||
{{Adventurepage | {{Adventurepage | ||
| name=<Adventure title, mandatory> | | name=<Adventure title, mandatory> | ||
− | | | + | | num_scenarios=<Number of sub-scenarios within the adventure, mandatory> |
| level=<Minimum level range, mandatory> | | level=<Minimum level range, mandatory> | ||
| quest1=<First quest condition, optional> | | quest1=<First quest condition, optional> | ||
Line 49: | 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> | ||
− | | reward=< | + | | 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> | ||
}} | }} | ||
</pre> | </pre> |
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.