Difference between revisions of "Template:TreasureBox"

From Hyrule Castle Library
Jump to: navigation, search
(tweaks)
 
(52 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__</noinclude> {{#if:{{{field1|}}}| [[Category:{{{field1|}}} Field]] |}}{{#if:{{{field2|}}}| [[Category:{{{field2|}}} Field]] |}}{{#if:{{{field3|}}}| [[Category:{{{field3|}}} Field]] |}}{{#if:{{{field4|}}}| [[Category:{{{field4|}}} Field]] |}}{{#if:{{{field5|}}}| [[Category:{{{field5|}}} Field]] |}}{{#if:{{{field6|}}}| [[Category:{{{field6|}}} Field]] |}}{{#if:{{{field7|}}}| [[Category:{{{field7|}}} Field]] |}}{{#if:{{{field8|}}}| [[Category:{{{field8|}}} Field]] |}}{{#if:{{{field9|}}}| [[Category:{{{field9|}}} Field]] |}}{{#if:{{{field10|}}}| [[Category:{{{field10|}}} Field]] |}}{{#if:{{{field11|}}}| [[Category:{{{field11|}}} Field]] |}}{{#if:{{{field12|}}}| [[Category:{{{field12|}}} Field]] |}} {{#ifeq:{{{PWC|}}}|P|[[Category:Power-based]]|}} {{#ifeq:{{{PWC|}}}|W|[[Category:Wisdom-based]]|}} {{#ifeq:{{{PWC|}}}|C|[[Category:Courage-based]]|}} {{#if:{{{major|}}}|[[Category:Major Treasures]]|}} {{#if:{{{intent|}}}|[[Category:{{{intent|}}} Intent]]|}} {{#if:{{{form|}}}|[[Category:{{{form|}}}s]]|}} {{#ifeq:{{{difficulty|}}}|1|[[Category:Lowest Cost]]| {{#ifeq:{{{difficulty|}}}|2|[[Category:Lower Cost]]| {{#ifeq:{{{difficulty|}}}|3|[[Category:Normal Cost]]| {{#ifeq:{{{difficulty|}}}|4|[[Category:Higher Cost]]| {{#ifeq:{{{difficulty|}}}|5|[[Category:Highest Cost]]|}}}}}}}}}} {{#if:{{{set|}}}|[[Category:Set Cost]]|}}
+
<noinclude>__NOTOC__</noinclude><includeonly>[[Category:Treasures]] {{#if:{{{pre|}}}|[[Category:Treasures with Requirements]]|}} {{#if:{{{weaponsmith|}}}|[[Category:Materials]] [[Category:Weaponsmith Materials]]|}} {{#if:{{{outfitter|}}}|[[Category:Materials]] [[Category:Outfitter Materials]]|}} {{#if:{{{botanist|}}}|[[Category:Materials]] [[Category:Botanist Materials]]|}} {{#if:{{{field1|}}}| [[Category:{{{field1|}}} Field]] |}}{{#if:{{{field2|}}}| [[Category:{{{field2|}}} Field]] |}}{{#if:{{{field3|}}}| [[Category:{{{field3|}}} Field]] |}}{{#if:{{{field4|}}}| [[Category:{{{field4|}}} Field]] |}}{{#if:{{{field5|}}}| [[Category:{{{field5|}}} Field]] |}}{{#if:{{{field6|}}}| [[Category:{{{field6|}}} Field]] |}}{{#if:{{{field7|}}}| [[Category:{{{field7|}}} Field]] |}}{{#if:{{{field8|}}}| [[Category:{{{field8|}}} Field]] |}}{{#if:{{{field9|}}}| [[Category:{{{field9|}}} Field]] |}}{{#if:{{{field10|}}}| [[Category:{{{field10|}}} Field]] |}}{{#if:{{{field11|}}}| [[Category:{{{field11|}}} Field]] |}}{{#if:{{{field12|}}}| [[Category:{{{field12|}}} Field]] |}} {{#ifeq:{{{PWC|}}}|P|[[Category:Power-based]]|}} {{#ifeq:{{{PWC|}}}|W|[[Category:Wisdom-based]]|}} {{#ifeq:{{{PWC|}}}|C|[[Category:Courage-based]]|}} {{#if:{{{major|}}}|[[Category:Major Treasures]]|}} {{#ifeq:{{{intent|}}}|Companion|[[Category:Companions]]|{{#if:{{{intent|}}}|[[Category:{{{intent|}}} Intent]]|}}}} {{#if:{{{form|}}}|[[Category:{{{form|}}}s]]|}} {{#ifeq:{{{augment|}}}| |{{#ifeq:{{{cost|}}}|1|[[Category:Lowest Cost]]| {{#ifeq:{{{cost|}}}|2|[[Category:Lower Cost]]| {{#ifeq:{{{cost|}}}|3|[[Category:Low Cost]]| {{#ifeq:{{{cost|}}}|4|[[Category:Normal Cost]]| {{#ifeq:{{{cost|}}}|5|[[Category:High Cost]]| {{#ifeq:{{{cost|}}}|6|[[Category:Higher Cost]]| {{#ifeq:{{{cost|}}}|7|[[Category:Highest Cost]]}}}}}}}}}}}}}}}} {{#ifeq:{{{augment|}}}| |{{#ifeq:{{{setcat|}}}|no| |{{#if:{{{set|}}}|[[Category:Set Cost]]|}}}}|}} {{#if:{{{augment|}}}|[[Category:Treasures with Augments]]|}} {{#if:{{{variant|}}}|[[Category:Treasures with Variants]]|}}
{| width="200px" align="right" table class="wikitable"
+
{| width="200px" style="float: right;" table class="wikitable"
{{#if:{{{title|}}}|! colspan=2{{!}} {{{title|}}}
+
{{#ifeq:{{{title|}}}|none| |{{#if:{{{title|}}}|! colspan=2{{!}} {{{title|}}}
 
{{!}}-|! colspan=2{{!}} {{PAGENAME}}
 
{{!}}-|! colspan=2{{!}} {{PAGENAME}}
{{!}}-}}
+
{{!}}-}}}}
 
{{#if:
 
{{#if:
 
{{{image|}}}
 
{{{image|}}}
Line 9: Line 9:
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
 +
{{#if:{{{intent|}}}|
 
! Type
 
! Type
| {{#if:{{{major|}}}|Major|}} {{{intent|}}} {{{form|}}}
+
{{!}} {{#if:{{{major|}}}|Major|}} {{{intent|}}} {{#ifeq:{{{form|}}}|Magical Item|Magical {{#if:{{{material|}}}|Material|Item}}|{{#ifeq:{{{form|}}}|Mechanical Item|Mechanical {{#if:{{{material|}}}|Material|Item}}|{{#ifeq:{{{form|}}}|Organic Item|Organic {{#if:{{{material|}}}|Material|Item}}|{{{form|}}}}}}}}}
|-
+
{{!}}-|}}
! Fields
+
{{#if:{{{field1|}}}|
| {{#if:{{{field1|}}}|[[{{{field1|}}}]]{{#if:{{{field2|}}}|, [[{{{field2|}}}]]{{#if:{{{field3|}}}|, [[{{{field3|}}}]]{{#if:{{{field4|}}}|, [[{{{field4|}}}]]{{#if:{{{field5|}}}|, [[{{{field5|}}}]]{{#if:{{{field6|}}}|, [[{{{field6|}}}]]{{#if:{{{field7|}}}|, [[{{{field7|}}}]]{{#if:{{{field8|}}}|, [[{{{field8|}}}]]{{#if:{{{field9|}}}|, [[{{{field9|}}}]]{{#if:{{{field10|}}}|, [[{{{field10|}}}]]|{{#if:{{{field11|}}}|, [[{{{field11|}}}]]|{{#if:{{{field12|}}}|, [[{{{field12|}}}]]|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
+
! {{#if:{{{augment|}}}|Additional<br>|}} Fields
|-
+
{{!}} {{#if:{{{field1|}}}|[[:Category:{{{field1|}}} Field|{{{field1|}}}]]{{#if:{{{field2|}}}|, [[:Category:{{{field2|}}} Field|{{{field2|}}}]]{{#if:{{{field3|}}}|, [[:Category:{{{field3|}}} Field|{{{field3|}}}]]{{#if:{{{field4|}}}|, [[:Category:{{{field4|}}} Field|{{{field4|}}}]]{{#if:{{{field5|}}}|, [[:Category:{{{field5|}}} Field|{{{field5|}}}]]{{#if:{{{field6|}}}|, [[:Category:{{{field6|}}} Field|{{{field6|}}}]]{{#if:{{{field7|}}}|, [[:Category:{{{field7|}}} Field|{{{field7|}}}]]{{#if:{{{field8|}}}|, [[:Category:{{{field8|}}} Field|{{{field8|}}}]]{{#if:{{{field9|}}}|, [[:Category:{{{field9|}}} Field|{{{field9|}}}]]{{#if:{{{field10|}}}|, [[:Category:{{{field10|}}} Field|{{{field10|}}}]]{{#if:{{{field11|}}}|, [[:Category:{{{field11|}}} Field|{{{field11|}}}]]{{#if:{{{field12|}}}|, [[:Category:{{{field12|}}} Field|{{{field12|}}}]]|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
! Costs
+
{{!}}- |}}
| align="center"|{{#if:{{{set|}}}|{{{set|}}} rupees|}}{{#ifeq:{{{difficulty|}}}|1|''Lowest Cost''<br>|
+
{{#if:{{{pre|}}}|! Requires
{{#ifeq:{{{difficulty|}}}|2|''Lower Cost''<br>|
+
{{!}} {{{pre|}}}
{{#ifeq:{{{difficulty|}}}|3|''Normal Cost''<br>|
+
{{!}}-|}}
{{#ifeq:{{{difficulty|}}}|4|''Harder Cost''<br>|
+
! {{#if:{{{augment|}}}|Additional<br>|}} Cost
{{#ifeq:{{{difficulty|}}}|5|''Hardest''<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|'''{{{PWC|}}}5:''' 10 rupees<br>|
+
| align="center"|{{#if:{{{set|}}}|{{{set|}}} rupees|}}{{#ifeq:{{{cost|}}}|1|''Lowest Cost''<br>|
{{#ifeq:{{{difficulty|}}}|2|'''{{{PWC|}}}5:''' 30 rupees<br>|
+
{{#ifeq:{{{cost|}}}|2|''Lower Cost''<br>|
{{#ifeq:{{{difficulty|}}}|3|'''{{{PWC|}}}5:''' 40 rupees<br>|
+
{{#ifeq:{{{cost|}}}|3|''Low Cost''<br>|
{{#ifeq:{{{difficulty|}}}|4|'''{{{PWC|}}}5:''' 60 rupees<br>|
+
{{#ifeq:{{{cost|}}}|4|''Normal Cost''<br>|
{{#ifeq:{{{difficulty|}}}|5|'''{{{PWC|}}}5:''' 70 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|'''{{{PWC|}}}4:''' 15 rupees<br>|
+
{{#ifeq:{{{cost|}}}|5|''High Cost''<br>|
{{#ifeq:{{{difficulty|}}}|2|'''{{{PWC|}}}4:''' 35 rupees<br>|
+
{{#ifeq:{{{cost|}}}|6|''Higher Cost''<br>|
{{#ifeq:{{{difficulty|}}}|3|'''{{{PWC|}}}4:''' 50 rupees<br>|
+
{{#ifeq:{{{cost|}}}|7|''Highest Cost''<br>|}}}}}}}}}}}}}}
{{#ifeq:{{{difficulty|}}}|4|'''{{{PWC|}}}4:''' 70 rupees<br>|
+
{{#ifeq:{{{cost|}}}|1|'''{{{PWC|}}}5:''' 10 rupees<br>|
{{#ifeq:{{{difficulty|}}}|5|'''{{{PWC|}}}4:''' 85 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|'''{{{PWC|}}}3:''' 20 rupees<br>|
+
{{#ifeq:{{{cost|}}}|2|'''{{{PWC|}}}5:''' 20 rupees<br>|
{{#ifeq:{{{difficulty|}}}|2|'''{{{PWC|}}}3:''' 40 rupees<br>|
+
{{#ifeq:{{{cost|}}}|3|'''{{{PWC|}}}5:''' 30 rupees<br>|
{{#ifeq:{{{difficulty|}}}|3|'''{{{PWC|}}}3:''' 60 rupees<br>|
+
{{#ifeq:{{{cost|}}}|4|'''{{{PWC|}}}5:''' 40 rupees<br>|
{{#ifeq:{{{difficulty|}}}|4|'''{{{PWC|}}}3:''' 80 rupees<br>|
+
{{#ifeq:{{{cost|}}}|5|'''{{{PWC|}}}5:''' 55 rupees<br>|
{{#ifeq:{{{difficulty|}}}|5|'''{{{PWC|}}}3:''' 100 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|'''{{{PWC|}}}2:''' 25 rupees<br>|
+
{{#ifeq:{{{cost|}}}|6|'''{{{PWC|}}}5:''' 70 rupees<br>|
{{#ifeq:{{{difficulty|}}}|2|'''{{{PWC|}}}2:''' 45 rupees<br>|
+
{{#ifeq:{{{cost|}}}|7|'''{{{PWC|}}}5:''' 90 rupees<br>|
{{#ifeq:{{{difficulty|}}}|3|'''{{{PWC|}}}2:''' 70 rupees<br>|
+
}}}}}}}}}}}}}}{{#ifeq:{{{cost|}}}|1|'''{{{PWC|}}}4:''' 15 rupees<br>|
{{#ifeq:{{{difficulty|}}}|4|'''{{{PWC|}}}2:''' 90 rupees<br>|
+
{{#ifeq:{{{cost|}}}|2|'''{{{PWC|}}}4:''' 25 rupees<br>|
{{#ifeq:{{{difficulty|}}}|5|'''{{{PWC|}}}2:''' 115 rupees<br>|}}}}}}}}}}{{#ifeq:{{{difficulty|}}}|1|'''{{{PWC|}}}1:''' 30 rupees|
+
{{#ifeq:{{{cost|}}}|3|'''{{{PWC|}}}4:''' 35 rupees<br>|
{{#ifeq:{{{difficulty|}}}|2|'''{{{PWC|}}}1:''' 50 rupees<br>|
+
{{#ifeq:{{{cost|}}}|4|'''{{{PWC|}}}4:''' 50 rupees<br>|
{{#ifeq:{{{difficulty|}}}|3|'''{{{PWC|}}}1:''' 80 rupees<br>|
+
{{#ifeq:{{{cost|}}}|5|'''{{{PWC|}}}4:''' 65 rupees<br>|
{{#ifeq:{{{difficulty|}}}|4|'''{{{PWC|}}}1:''' 100 rupees<br>|
+
{{#ifeq:{{{cost|}}}|6|'''{{{PWC|}}}4:''' 85 rupees<br>|
{{#ifeq:{{{difficulty|}}}|5|'''{{{PWC|}}}1:''' 130 rupees<br>|}}}}}}}}}}{{#if:{{{custom|}}}|{{#if:{{{P5|}}}|'''P5:''' {{{{P5|}}} rupees|}}
+
{{#ifeq:{{{cost|}}}|7|'''{{{PWC|}}}4:''' 110 rupees<br>|}}}}}}}}}}}}}}{{#ifeq:{{{cost|}}}|1|'''{{{PWC|}}}3:''' 20 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|2|'''{{{PWC|}}}3:''' 30 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|3|'''{{{PWC|}}}3:''' 40 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|4|'''{{{PWC|}}}3:''' 60 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|5|'''{{{PWC|}}}3:''' 75 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|6|'''{{{PWC|}}}3:''' 100 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|7|'''{{{PWC|}}}3:''' 130 rupees<br>|}}}}}}}}}}}}}}{{#ifeq:{{{cost|}}}|1|'''{{{PWC|}}}2:''' 25 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|2|'''{{{PWC|}}}2:''' 35 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|3|'''{{{PWC|}}}2:''' 45 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|4|'''{{{PWC|}}}2:''' 70 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|5|'''{{{PWC|}}}2:''' 85 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|6|'''{{{PWC|}}}2:''' 115 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|7|'''{{{PWC|}}}2:''' 150 rupees<br>|}}}}}}}}}}}}}}{{#ifeq:{{{cost|}}}|1|'''{{{PWC|}}}1:''' 30 rupees|
 +
{{#ifeq:{{{cost|}}}|2|'''{{{PWC|}}}1:''' 40 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|3|'''{{{PWC|}}}1:''' 50 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|4|'''{{{PWC|}}}1:''' 80 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|5|'''{{{PWC|}}}1:''' 95 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|6|'''{{{PWC|}}}1:''' 130 rupees<br>|
 +
{{#ifeq:{{{cost|}}}|7|'''{{{PWC|}}}1:''' 170 rupees<br>|}}}}}}}}}}}}}}{{#if:{{{custom|}}}|{{#if:{{{P5|}}}|'''P5:''' {{{{P5|}}} rupees|}}
 
{{#if:{{{W5|}}}|'''W5:''' {{{{W5|}}} rupees|}}
 
{{#if:{{{W5|}}}|'''W5:''' {{{{W5|}}} rupees|}}
 
{{#if:{{{C5|}}}|'''C5:''' {{{{C5|}}} rupees|}}
 
{{#if:{{{C5|}}}|'''C5:''' {{{{C5|}}} rupees|}}
Line 54: Line 73:
 
{{#if:{{{P1|}}}|'''P1:''' {{{{P1|}}} rupees|}}
 
{{#if:{{{P1|}}}|'''P1:''' {{{{P1|}}} rupees|}}
 
{{#if:{{{W1|}}}|'''W1:''' {{{{W1|}}} rupees|}}
 
{{#if:{{{W1|}}}|'''W1:''' {{{{W1|}}} rupees|}}
{{#if:{{{C1|}}}|'''C1:''' {{{{C1|}}} rupees|}}|}}
+
{{#if:{{{C1|}}}|'''C1:''' {{{{C1|}}} rupees|}}|}}{{#if:{{{cost|}}}|
|}
+
{{#if:{{{major|}}}| |{{#if:{{{augment|}}}| |{{#ifeq:{{{cost|}}}|1|<br>'''''[[Glossary:Rent|Rent]]:''''' 5 rupees|
 +
{{#ifeq:{{{cost|}}}|2|'''''[[Glossary:Rent|Rent]]:''''' 5 rupees|
 +
{{#ifeq:{{{cost|}}}|3|'''''[[Glossary:Rent|Rent]]:''''' 10 rupees|
 +
{{#ifeq:{{{cost|}}}|4|'''''[[Glossary:Rent|Rent]]:''''' 10 rupees|
 +
{{#ifeq:{{{cost|}}}|5|'''''[[Glossary:Rent|Rent]]:''''' 15 rupees|
 +
{{#ifeq:{{{cost|}}}|6|'''''[[Glossary:Rent|Rent]]:''''' 15 rupees|
 +
{{#ifeq:{{{cost|}}}|7|'''''[[Glossary:Rent|Rent]]:''''' 20 rupees|}}}}}}}}}}}}}}}}}}|}}
 +
|}</includeonly>
 
<noinclude>{{clear}}
 
<noinclude>{{clear}}
 
==Usage==
 
==Usage==
Line 61: Line 87:
  
 
* The line '''major''' should have text (any text) in it if the treasure is Major.  Otherwise, it should be blank.
 
* The line '''major''' should have text (any text) in it if the treasure is Major.  Otherwise, it should be blank.
 +
* The line '''augment''' should have text (any text) in it if the treasure has an augment included.  Otherwise, it should be blank.
 +
* The line '''pre''' should have any prerequisites listed.  If there are none, leave it blank.
 
* The line '''intent''' should be Offensive, Defensive, or Utility, as appropriate to the treasure.
 
* The line '''intent''' should be Offensive, Defensive, or Utility, as appropriate to the treasure.
 
* The line '''form''' should be Trait, Technique, Spell, Song, Magical Item, Organic Item, or Mechanical Item, as appropriate.
 
* The line '''form''' should be Trait, Technique, Spell, Song, Magical Item, Organic Item, or Mechanical Item, as appropriate.
 
* The line  '''type''' should include the treasure's intention (Offensive, Defensive, or Utility) followed by its form (Spell, Song, Magical Item, etc.).  If the treasure is Major, it should have "Major" listed at the beginning of this entry.  E.g., "Major Defensive Spell" would be a valid entry, as would, "Utility Mechanical Item".
 
* The line  '''type''' should include the treasure's intention (Offensive, Defensive, or Utility) followed by its form (Spell, Song, Magical Item, etc.).  If the treasure is Major, it should have "Major" listed at the beginning of this entry.  E.g., "Major Defensive Spell" would be a valid entry, as would, "Utility Mechanical Item".
* In regards to the lines'''field1''', '''field2''', etc., all applicable fields should be listed, one per line.  If there's only three fields, leave '''field4''' and all subsequent field lines blank.  If there's more than four fields, add entries for '''field5''', '''field6''', and so on, as necessary.
+
* In regards to the lines '''field1''', '''field2''', etc., all applicable fields should be listed, one per line.  If there's only three fields, leave '''field4''' and all subsequent field lines blank.  If there's more than four fields, add entries for '''field5''', '''field6''', and so on, as necessary.
  
  
 
===Typical===
 
===Typical===
This assumes the treasure follows the normal pricing mechanic of difficulty (Easiest to Hardest), and is only attributed to one aspect of PWC.
+
This assumes the treasure follows the normal pricing mechanic of cost(Easiest to Hardest), and is only attributed to one aspect of PWC.
  
* The line, '''difficulty''', should equal "1" for Easiest, and "5" for Hardest, etc.
+
* The line, '''cost''', should equal "1" for Easiest, and "7" for Hardest, etc.
 
* The line, '''PWC''', defines what aspect of PWC the treasure is attributed to; it should generally only be one letter, such as "P" or "C".
 
* The line, '''PWC''', defines what aspect of PWC the treasure is attributed to; it should generally only be one letter, such as "P" or "C".
  
 
<pre>{{TB
 
<pre>{{TB
 
|major=
 
|major=
 +
|augment=
 +
|pre=
 
|intent=
 
|intent=
 
|form=
 
|form=
Line 81: Line 111:
 
|field3=
 
|field3=
 
|field4=
 
|field4=
|difficulty=
+
|cost=
 
|PWC=
 
|PWC=
 
}}</pre>
 
}}</pre>
Line 100: Line 130:
  
 
===Variable===
 
===Variable===
This assumes the treasure has a price which fluctuates with PWC, but either doesn't fall into the normal difficulty scale, or is attributed to multiple aspects of PWC.  The price for each level and attribute (P3, W5, C1, etc.) is entered manually.  Any line which doesn't have an entry won't appear in the infbox.  (If a treasure is attributed to Power and Wisdom, for example, the "C" lines should all be left blank.)
+
This assumes the treasure has a price which fluctuates with PWC, but either doesn't fall into the normal cost scale, or is attributed to multiple aspects of PWC.  The price for each level and attribute (P3, W5, C1, etc.) is entered manually.  Any line which doesn't have an entry won't appear in the infbox.  (If a treasure is attributed to Power and Wisdom, for example, the "C" lines should all be left blank.)
 
<pre>{{TB
 
<pre>{{TB
 
|major=
 
|major=
Line 129: Line 159:
 
===Optional Fields===
 
===Optional Fields===
 
* '''image''' is an optional line which can be added to any version of this template.  If an the name of an uploaded image (such as "thisimage.jpg") is entered, that image will appear in the infobox, immediately below the header.  
 
* '''image''' is an optional line which can be added to any version of this template.  If an the name of an uploaded image (such as "thisimage.jpg") is entered, that image will appear in the infobox, immediately below the header.  
* '''title''' is an optional line which can be added  to any version of this template.  Normally, the header at the top of the infobox is equal to the name of the page on which the infobox appears.  The contents of '''title''', if any are entered, will replace the header text.
+
* '''title''' is an optional line which can be added  to any version of this template.  Normally, the header at the top of the infobox is equal to the name of the page on which the infobox appears.  The contents of '''title''', if any are entered, will replace the header text.  If "none" is put in the title line, the header title will be removed entirely.
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 01:07, 25 May 2019

Usage

This versatile template is used to create the infobox at the upper-right of every Treasure page. It can be used in one of several different ways, depending on the complexity of the treasure's PWC cost. Regardless of PWC cost, however, this template will always use the following two fields:

  • The line major should have text (any text) in it if the treasure is Major. Otherwise, it should be blank.
  • The line augment should have text (any text) in it if the treasure has an augment included. Otherwise, it should be blank.
  • The line pre should have any prerequisites listed. If there are none, leave it blank.
  • The line intent should be Offensive, Defensive, or Utility, as appropriate to the treasure.
  • The line form should be Trait, Technique, Spell, Song, Magical Item, Organic Item, or Mechanical Item, as appropriate.
  • The line type should include the treasure's intention (Offensive, Defensive, or Utility) followed by its form (Spell, Song, Magical Item, etc.). If the treasure is Major, it should have "Major" listed at the beginning of this entry. E.g., "Major Defensive Spell" would be a valid entry, as would, "Utility Mechanical Item".
  • In regards to the lines field1, field2, etc., all applicable fields should be listed, one per line. If there's only three fields, leave field4 and all subsequent field lines blank. If there's more than four fields, add entries for field5, field6, and so on, as necessary.


Typical

This assumes the treasure follows the normal pricing mechanic of cost(Easiest to Hardest), and is only attributed to one aspect of PWC.

  • The line, cost, should equal "1" for Easiest, and "7" for Hardest, etc.
  • The line, PWC, defines what aspect of PWC the treasure is attributed to; it should generally only be one letter, such as "P" or "C".
{{TB
|major=
|augment=
|pre=
|intent=
|form=
|field1=
|field2=
|field3=
|field4=
|cost=
|PWC=
}}

Set

This assumes the treasure has one set price, regardless of PWC. Simply put the price number in for the set line.

{{TB
|major=
|intent=
|form=
|field1=
|field2=
|field3=
|field4=
|set=
}}

Variable

This assumes the treasure has a price which fluctuates with PWC, but either doesn't fall into the normal cost scale, or is attributed to multiple aspects of PWC. The price for each level and attribute (P3, W5, C1, etc.) is entered manually. Any line which doesn't have an entry won't appear in the infbox. (If a treasure is attributed to Power and Wisdom, for example, the "C" lines should all be left blank.)

{{TB
|major=
|intent=
|form=
|field1=
|field2=
|field3=
|field4=

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

Optional Fields

  • image is an optional line which can be added to any version of this template. If an the name of an uploaded image (such as "thisimage.jpg") is entered, that image will appear in the infobox, immediately below the header.
  • title is an optional line which can be added to any version of this template. Normally, the header at the top of the infobox is equal to the name of the page on which the infobox appears. The contents of title, if any are entered, will replace the header text. If "none" is put in the title line, the header title will be removed entirely.