Difference between revisions of "Template:TB"

From Hyrule Castle Library
Jump to: navigation, search
(tweaks)
m (typo)
Line 77: Line 77:
 
|difficulty=
 
|difficulty=
 
|PWC=
 
|PWC=
}}
+
}}</pre>
  
 
===Set===
 
===Set===
This assumes the treasure has one set price, regardless of PWC.
+
This assumes the treasure has one set price, regardless of PWC.  Simply put the price number in for the '''set''' line.
  
</pre>
 
OR
 
 
<pre>{{TB
 
<pre>{{TB
 
|type=
 
|type=

Revision as of 16:30, 13 October 2013

TB
Type
Fields
Costs

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:

  • 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".
  • field1, field2, etc. All applicable fields should be listed. If there's only three fields, leave field4 and all subsequent fields 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 difficulty (Easiest to Hardest), and is only attributed to one aspect of PWC.

  • difficulty equals "1" for Easiest, and "5" for Hardest, etc.
  • PWC defines what aspect of PWC the treasure is attributed to; it should generally only be one letter, such as "P" or "C".
{{TB
|type=
|field1=
|field2=
|field3=
|field4=
|difficulty=
|PWC=
}}

Set

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

{{TB
|type=
|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 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.)

{{TB
|type=
|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.