Template:Adventurepage
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{prereq1}}}| [[Has prereq_flag1::{{{prereq1}}}| ]] | [[Has prereq_flag1::None|None]] }} | + | <includeonly>{{#if: {{{prereq1}}}| [[Has prereq_flag1::{{{prereq1}}}| ]] | [[Has prereq_flag1::None|None]] }}{{#if: {{{prereq2}}}| [[Has prereq_flag2::{{{prereq2}}}| ]] | [[Has prereq_flag2::None|None]] }}{{#if: {{{prereq3}}}| [[Has prereq_flag3::{{{prereq3}}}| ]] | [[Has prereq_flag3::None|None]] }}{{#if: {{{prereq4}}}| [[Has prereq_flag4::{{{prereq4}}}| ]] | [[Has prereq_flag4::None|None]] }}{{#if: {{{prereq5}}}| [[Has prereq_flag5::{{{prereq5}}}| ]] | [[Has prereq_flag5::None|None]] }}{{#if: {{{comp1}}}| [[Has comp_flag1::{{{comp1}}}|]] | [[Has comp_flag1::None|None]] }}{{#if: {{{comp2}}}| [[Has comp_flag2::{{{comp2}}}|]] | [[Has comp_flag2::None|None]] }}{{#if: {{{comp3}}}| [[Has comp_flag3::{{{comp3}}}|]] | [[Has comp_flag3::None|None]] }}{{#if: {{{comp4}}}| [[Has comp_flag4::{{{comp4}}}|]] | [[Has comp_flag4::None|None]] }}{{#if: {{{comp5}}}| [[Has comp_flag5::{{{comp5}}}|]] | [[Has comp_flag5::None|None]] }}{| class="chtable_b" |
− | {{#if: {{{prereq2}}}| [[Has prereq_flag2::{{{prereq2}}}| ]] | [[Has prereq_flag2::None|None]] }} | + | |
− | {{#if: {{{prereq3}}}| [[Has prereq_flag3::{{{prereq3}}}| ]] | [[Has prereq_flag3::None|None]] }} | + | |
− | {{#if: {{{prereq4}}}| [[Has prereq_flag4::{{{prereq4}}}| ]] | [[Has prereq_flag4::None|None]] }} | + | |
− | {{#if: {{{prereq5}}}| [[Has prereq_flag5::{{{prereq5}}}| ]] | [[Has prereq_flag5::None|None]] }} | + | |
− | {{#if: {{{comp1}}}| [[Has comp_flag1::{{{comp1}}}|]] | [[Has comp_flag1::None|None]] }} | + | |
− | {{#if: {{{comp2}}}| [[Has comp_flag2::{{{comp2}}}|]] | [[Has comp_flag2::None|None]] }} | + | |
− | {{#if: {{{comp3}}}| [[Has comp_flag3::{{{comp3}}}|]] | [[Has comp_flag3::None|None]] }} | + | |
− | {{#if: {{{comp4}}}| [[Has comp_flag4::{{{comp4}}}|]] | [[Has comp_flag4::None|None]] }} | + | |
− | {{#if: {{{comp5}}}| [[Has comp_flag5::{{{comp5}}}|]] | [[Has comp_flag5::None|None]] }}{| class="chtable_b" | + | |
|- | |- | ||
| colspan="2" | [[File:{{{splash_screen}}}|center|400x600px]] | | colspan="2" | [[File:{{{splash_screen}}}|center|400x600px]] |
Revision as of 21:43, 19 April 2014
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.