Difference between revisions of "Template:TB"

From Hyrule Castle Library
Jump to: navigation, search
(testing)
(work in progress)
Line 1: Line 1:
 
{| width="300px" align="right" table class="wikitable"
 
{| width="300px" align="right" table class="wikitable"
! colspan=2| Optional Title
+
{{#if:{{{title|}}}|! colspan=2{{!}} {{{title|}}}
|-
+
{{!}}-|! colspan=2{{!}} {{PAGENAME}}
{{#if:{{{1}}}|{{!}} colspan=2 align="center"{{!}} [[Image:Optional Image.jpg]]
+
{{!}}-}}
 +
{{#if:
 +
{{{image|}}}
 +
|{{!}} colspan=2 align="center"{{!}} [[Image:{{{image|}}}]]
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
Line 12: Line 15:
 
|-  
 
|-  
 
! Costs
 
! Costs
| '''P5''': 40 rupees<br>'''P4:''' 50 rupees<br>'''P3:''' 60 rupees<br>'''P2:''' 70 rupees<br>'''P1:''' 80 rupees
+
| {{#if:{{{set|}}}|{{{set|}}} rupees|}}{{#ifeq:{{{difficulty|}}}|1|:''Easiest''|
 +
{{#ifeq:{{{difficulty|}}}|2|:''Easier''|
 +
{{#ifeq:{{{difficulty|}}}|3|:''Normal''|
 +
{{#ifeq:{{{difficulty|}}}|4|:''Harder''|
 +
{{#ifeq:{{{difficulty|}}}|5|:''Hardest''|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|{{{type|}}}5: 10 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|2|{{{type|}}}5: 30 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|3|{{{type|}}}5: 40 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|4|{{{type|}}}5: 60 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|5|{{{type|}}}5: 70 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|{{{type|}}}4: 15 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|2|{{{type|}}}4: 35 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|3|{{{type|}}}4: 50 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|4|{{{type|}}}4: 70 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|5|{{{type|}}}4: 85 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|{{{type|}}}3: 20 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|2|{{{type|}}}3: 40 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|3|{{{type|}}}3: 60 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|4|{{{type|}}}3: 80 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|5|{{{type|}}}3: 100 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|{{{type|}}}2: 25 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|2|{{{type|}}}2: 45 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|3|{{{type|}}}2: 70 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|4|{{{type|}}}2: 90 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|5|{{{type|}}}2: 115 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|{{{type|}}}1: 30 rupees|
 +
{{#ifeq:{{{difficulty|}}}|2|{{{type|}}}1: 50 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|3|{{{type|}}}1: 80 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|4|{{{type|}}}1: 100 rupees<br>|
 +
{{#ifeq:{{{difficulty|}}}|5|{{{type|}}}1: 130 rupees<br>|}}}}}}}}}}{{#if:{{{custom|}}}|{{#if:{{{P5|}}}|'''P5:''' {{{{P5|}}} rupees|}}
 +
{{#if:{{{W5|}}}|'''W5:''' {{{{W5|}}} rupees|}}
 +
{{#if:{{{C5|}}}|'''C5:''' {{{{C5|}}} rupees|}}
 +
{{#if:{{{P4|}}}|'''P4:''' {{{{P4|}}} rupees|}}
 +
{{#if:{{{W4|}}}|'''W4:''' {{{{W4|}}} rupees|}}
 +
{{#if:{{{C4|}}}|'''C4:''' {{{{C4|}}} rupees|}}
 +
{{#if:{{{P3|}}}|'''P3:''' {{{{P3|}}} rupees|}}
 +
{{#if:{{{W3|}}}|'''W3:''' {{{{W3|}}} rupees|}}
 +
{{#if:{{{C3|}}}|'''C3:''' {{{{C3|}}} rupees|}}
 +
{{#if:{{{P2|}}}|'''P2:''' {{{{P2|}}} rupees|}}
 +
{{#if:{{{W2|}}}|'''W4:''' {{{{W2|}}} rupees|}}
 +
{{#if:{{{C2|}}}|'''C2:''' {{{{C2|}}} rupees|}}
 +
{{#if:{{{P1|}}}|'''P1:''' {{{{P1|}}} rupees|}}
 +
{{#if:{{{W1|}}}|'''W1:''' {{{{W1|}}} rupees|}}
 +
{{#if:{{{C1|}}}|'''C1:''' {{{{C1|}}} rupees|}}|}}
 
|}
 
|}
{{clear}}
+
<noinclude>{{clear}}
<noinclude>
 
 
==Usage==
 
==Usage==
 
+
<pre>{{TB
 +
|difficulty=
 +
|type=
 +
}}
 +
</pre>
 +
OR
 +
<pre>{{TB
 +
|set=
 +
}}</pre>
 +
OR
 +
<pre>{{TB
 +
|P5=
 +
|P4=
 +
|P3=
 +
|P2=
 +
|P1=
 +
|W5=
 +
|W4=
 +
|W3=
 +
|W2=
 +
|W1=
 +
|C5=
 +
|C4=
 +
|C3=
 +
|C2=
 +
|C1=
 +
}}</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 15:54, 13 October 2013

TB
Type Major Defensive Spell
Fields Fire, Heal, Projectile
Costs

Usage

{{TB
|difficulty=
|type=
}}

OR

{{TB
|set=
}}

OR

{{TB
|P5=
|P4=
|P3=
|P2=
|P1=
|W5=
|W4=
|W3=
|W2=
|W1=
|C5=
|C4=
|C3=
|C2=
|C1=
}}