Difference between revisions of "Template:Treasure"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "{| class="wikitable" max-width="300px" ! colspan="2"| Treasure (d{{{d|6}}}) |- {{#if:{{{default|}}}| {{!}} {{{default}}} {{!}}-}} {{#if:{{{1|}}}| {{!}...")
 
Line 6: Line 6:
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{1|}}}|
 
{{#if:{{{1|}}}|
{{!}} {{{line1|1}}} {{!}}{{!}} {{{1}}}
+
{{!}} style="width: 30px"{{!}}{{{line1|1}}} {{!}}{{!}} {{{1}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{2|}}}|
 
{{#if:{{{2|}}}|

Revision as of 06:45, 15 June 2020

Treasure (d6)


{{Treasure
|d=6
|1
|2
|3
|4
|5
|6
|line1=
|line2=
|line3=
|line4=
|line5=
|line6=
|default=A defeated bokoblin yields a {{i|slingshot}} plus the following:
|default=A defeated bit yields 10 (3d6) [[rupees]]' worth of [[spoils]], usually including chu jelly or other materials useful for brewing [[potion]]s.
}}
  • The template defaults to d6 but can be changed to any other die size, even d555.
  • Replace "1" with the treasure to receive on a roll of "1".
  • line1, line2, etc. are optional. Omitting them all defaults to the full lineup for a d4, d6, d8, or d10 as defined with the primary variables.
  • The template currently supports up to 10 lines.