Difference between revisions of "Template:Treasure"

From Legends of Hyrule
Jump to navigationJump to search
m
(comment-marked-out)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{{nospace|}}}||<br/><br/>}}
+
<!--{{#if:{{{nospace|}}}||<br/><br/>}}
 
{| cellspacing=0 width="{{{width|310px}}}" style="{{#if:{{{right|}}}|float:right; }}color:#{{BoxTextColor}}; background-color:#f4e1bf; border: 2px solid #411e10; font-size:16px; font-family:'scalysans';"
 
{| cellspacing=0 width="{{{width|310px}}}" style="{{#if:{{{right|}}}|float:right; }}color:#{{BoxTextColor}}; background-color:#f4e1bf; border: 2px solid #411e10; font-size:16px; font-family:'scalysans';"
 
| {{#if:{{{d|}}}|<center>'''d{{{d|6}}}'''</center> {{!}}{{!}}|colspan=2{{!}}}} <center>{{BL|Treasure|'''Treasure Chest'''}}</center>
 
| {{#if:{{{d|}}}|<center>'''d{{{d|6}}}'''</center> {{!}}{{!}}|colspan=2{{!}}}} <center>{{BL|Treasure|'''Treasure Chest'''}}</center>
Line 61: Line 61:
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{19|}}}|
 
{{#if:{{{19|}}}|
{{!}} style="text-align: center;"{{!}}'''{{{line19|12}}}''' {{!}}{{!}} &nbsp;{{{19}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line19|19}}}''' {{!}}{{!}} &nbsp;{{{19}}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{20|}}}|
 
{{#if:{{{20|}}}|
Line 68: Line 68:
 
{{!}} colspan=2{{!}} {{#if:{{{noroll|}}}||<small>If the average party level is 11th or higher, roll twice.</small><br/>}}{{#if:{{{generic|}}}|<small>See also: {{BL|Generic Treasure Chests#CR {{{generic|}}}|<small>Generic Treasure Chest (CR {{{generic|}}})</small>}}.}}
 
{{!}} colspan=2{{!}} {{#if:{{{noroll|}}}||<small>If the average party level is 11th or higher, roll twice.</small><br/>}}{{#if:{{{generic|}}}|<small>See also: {{BL|Generic Treasure Chests#CR {{{generic|}}}|<small>Generic Treasure Chest (CR {{{generic|}}})</small>}}.}}
 
{{!}}-
 
{{!}}-
|} <includeonly>[[Category:Creatures with treasure chests]]</includeonly>
+
|}--><includeonly>[[Category:Creatures with treasure chests]]</includeonly>
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>

Latest revision as of 07:29, 2 July 2022


{{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.
|right=yes
|generic=yes
}}
  • 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 20 lines.