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}} ...")
 
Line 11: Line 11:
 
  |-
 
  |-
 
  |  
 
  |  
{{#if:{{{quest1<includeonly>|</includeonly>}}}|{{{quest1}}} <br>|:None <br> }}
+
{{#if:{{{quest1}}}|{{{quest1}}} <br>|:None <br> }}
{{#if:{{{quest2<includeonly>|</includeonly>}}}|{{{quest2}}} <br> }}
+
{{#if:{{{quest2}}}|{{{quest2}}} <br> }}
{{#if:{{{quest3<includeonly>|</includeonly>}}}|{{{quest3}}} <br> }}
+
{{#if:{{{quest3}}}|{{{quest3}}} <br> }}
{{#if:{{{quest4<includeonly>|</includeonly>}}}|{{{quest4}}} <br> }}
+
{{#if:{{{quest4}}}|{{{quest4}}} <br> }}
{{#if:{{{quest5<includeonly>|</includeonly>}}}|{{{quest5}}} <br> }}
+
{{#if:{{{quest5}}}|{{{quest5}}} <br> }}
 
  |-
 
  |-
 
  |}
 
  |}
Line 24: Line 24:
 
----
 
----
 
{{{section1}}} <br>
 
{{{section1}}} <br>
{{#if:{{{section2<includeonly>|</includeonly>}}}|{{{section2}}} <br> }}
+
{{#if:{{{section2}}}|{{{section2}}} <br> }}
{{#if:{{{section3<includeonly>|</includeonly>}}}|{{{section3}}} <br> }}
+
{{#if:{{{section3}}}|{{{section3}}} <br> }}
{{#if:{{{section4<includeonly>|</includeonly>}}}|{{{section4}}} <br> }}
+
{{#if:{{{section4}}}|{{{section4}}} <br> }}
{{#if:{{{section5<includeonly>|</includeonly>}}}|{{{section5}}} <br> }}
+
{{#if:{{{section5}}}|{{{section5}}} <br> }}
  
 
</includeonly>
 
</includeonly>

Revision as of 08:02, 6 August 2013


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

{{Adventurepage
 | name=<Adventure title, mandatory>
 | num_sections=<Number of sub-sections within the adventure, mandatory>
 | min_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>
 | unlock1=<First adventure unlocked after completion of this one, optional>
 | unlock2=<Second adventure unlocked after completion of this one, optional>
 | unlock3=<Third adventure unlocked after completion of this one, optional>
 | pizza_cost=<Pizza cost to unlock this adventure, optional>
 | reward=<Gaurenteed reward for adventure completion, optional>
 | section1=<First section, input as a Adventuresection template, mandatory>
 | section2=<Sectond section, input as a Adventuresection template, optional>
 | section3=<Third section, input as a Adventuresection template, optional>
 | section4=<Fourth section, input as a Adventuresection template, optional>
 | section5=<Fifth section, 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