Template:Adventurepage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<includeonly> =={{{name}}}== {| style="float: right;" | '''Number of Sections'''|| {{{num_sections}}} |- | '''Level Range''' || {{{min_level}}}-{{#expr:{{min_level}}+1}} ...")
 
 
(61 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}}}|]] }}
=={{{name}}}==
+
{| class="chtable_b"
{| style="float: right;"
+
| '''Number of Sections'''|| {{{num_sections}}}
+
 
  |-
 
  |-
  | '''Level Range''' || {{{min_level}}}-{{#expr:{{min_level}}+1}}
+
  | colspan="2" | [[File:{{{splash_screen}}}|center|400x600px]]
 
  |-
 
  |-
  | '''Level Cap''' || {{#expr:{{min_level}}+2}}
+
  | '''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<includeonly>|</includeonly>}}}|{{{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<includeonly>|</includeonly>}}}|{{{quest2}}} <br> }}
+
|-
{{#if:{{{quest3<includeonly>|</includeonly>}}}|{{{quest3}}} <br> }}
+
| '''Unlocked By'''
{{#if:{{{quest4<includeonly>|</includeonly>}}}|{{{quest4}}} <br> }}
+
|-
{{#if:{{{quest5<includeonly>|</includeonly>}}}|{{{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}}}]]}}
 
  |-
 
  |-
 
  |}
 
  |}
 
[[File:{{{splash_screen}}}|400x600px]]
 
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
----
+
<div class="noautonum">__TOC__</div>
{{{section1}}} <br>
+
{{{scenario1}}} <br>
{{#if:{{{section2<includeonly>|</includeonly>}}}|{{{section2}}} <br> }}
+
{{#if:{{{scenario2|}}}|{{{scenario2}}} <br> }}
{{#if:{{{section3<includeonly>|</includeonly>}}}|{{{section3}}} <br> }}
+
{{#if:{{{scenario3|}}}|{{{scenario3}}} <br> }}
{{#if:{{{section4<includeonly>|</includeonly>}}}|{{{section4}}} <br> }}
+
{{#if:{{{scenario4|}}}|{{{scenario4}}} <br> }}
{{#if:{{{section5<includeonly>|</includeonly>}}}|{{{section5}}} <br> }}
+
{{#if:{{{scenario5|}}}|{{{scenario5}}} <br> }}
 
+
{{#if:{{{scenario6|}}}|{{{scenario6}}} <br> }}
</includeonly>
+
{{#if:{{{scenario7|}}}|{{{scenario7}}} <br> }}
<noinclude>
+
{{#if:{{{scenario8|}}}|{{{scenario8}}} <br> }}
 +
{{#if:{{{scenario9|}}}|{{{scenario9}}} <br> }}
 +
{{#if:{{{scenario10|}}}|{{{scenario10}}} <br> }}
 +
[[Category:Adventure]][[Category:Level {{{level}}} Adventures]][[Category:Adventures With {{{num_scenarios}}} Scenarios]]
 +
{{#if:{{{pizza_cost|}}}|[[Category:Treasure Hunt Adventures]]|[[Category:Free Adventures]] }}
 +
{{#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 36: Line 54:
 
{{Adventurepage
 
{{Adventurepage
 
  | name=<Adventure title, mandatory>
 
  | name=<Adventure title, mandatory>
  | num_sections=<Number of sub-sections within the adventure, mandatory>
+
  | num_scenarios=<Number of sub-scenarios within the adventure, mandatory>
  | min_level=<Minimum level range, mandatory>
+
  | level=<Minimum level range, mandatory>
 
  | quest1=<First quest condition, optional>
 
  | quest1=<First quest condition, optional>
 
  | quest2=<Second quest condition, optional>
 
  | quest2=<Second quest condition, optional>
Line 44: Line 62:
 
  | quest5=<Fifth quest condition, optional>
 
  | quest5=<Fifth quest condition, optional>
 
  | splash_screen=<Splash screen.png, mandatory>
 
  | splash_screen=<Splash screen.png, mandatory>
  | unlock1=<First adventure unlocked after completion of this one, optional>
+
  | prereq1=adv pre-requisite flag1
  | unlock2=<Second adventure unlocked after completion of this one, optional>
+
| prereq2=adv pre-requisite flag2
  | unlock3=<Third adventure unlocked after completion of this one, optional>
+
| 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=<Gaurenteed reward for adventure completion, optional>
+
  | reward1=<First guaranteed reward for adventure completion, optional>
  | section1=<First section, input as a Adventuresection template, mandatory>
+
| reward2=<Second guaranteed reward for adventure completion, optional>
  | section2=<Sectond section, input as a Adventuresection template, optional>
+
  | reward3=<Third guaranteed reward for adventure completion, optional>
  | section3=<Third section, input as a Adventuresection template, optional>
+
| reward4=<Fourth guaranteed reward for adventure completion, optional>
  | section4=<Fourth section, input as a Adventuresection template, optional>
+
| scenario1=<First scenario, input as a Adventuresection template, mandatory>
  | section5=<Fifth section, input as a Adventuresection template, optional>
+
  | 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 20: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