Difference between revisions of "Template:Treasure"

From Legends of Hyrule
Jump to navigationJump to search
(comment-marked-out)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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 7: Line 7:
 
|- style="background-color:#{{RowColor}};"
 
|- style="background-color:#{{RowColor}};"
 
{{#if:{{{1|}}}|
 
{{#if:{{{1|}}}|
{{!}} style="width: 30px; text-align: center;"{{!}}{{{line1|1}}} {{!}}{{!}} &nbsp;{{{1}}}
+
{{!}} style="width: 30px; text-align: center;"{{!}}'''{{{line1|1}}}''' {{!}}{{!}} &nbsp;{{{1}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{2|}}}|
 
{{#if:{{{2|}}}|
{{!}} style="text-align: center;"{{!}}{{{line2|2}}} {{!}}{{!}} &nbsp;{{{2}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line2|2}}}''' {{!}}{{!}} &nbsp;{{{2}}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{3|}}}|
 
{{#if:{{{3|}}}|
{{!}} style="text-align: center;"{{!}}{{{line3|3}}} {{!}}{{!}} &nbsp;{{{3}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line3|3}}}''' {{!}}{{!}} &nbsp;{{{3}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{4|}}}|
 
{{#if:{{{4|}}}|
{{!}} style="text-align: center;"{{!}}{{{line4|4}}} {{!}}{{!}} &nbsp;{{{4}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line4|4}}}''' {{!}}{{!}} &nbsp;{{{4}}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{5|}}}|
 
{{#if:{{{5|}}}|
{{!}} style="text-align: center;"{{!}}{{{line5|5}}} {{!}}{{!}} &nbsp;{{{5}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line5|5}}}''' {{!}}{{!}} &nbsp;{{{5}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{6|}}}|
 
{{#if:{{{6|}}}|
{{!}} style="text-align: center;"{{!}}{{{line6|6}}} {{!}}{{!}} &nbsp;{{{6}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line6|6}}}''' {{!}}{{!}} &nbsp;{{{6}}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{7|}}}|
 
{{#if:{{{7|}}}|
{{!}} style="text-align: center;"{{!}}{{{line7|7}}} {{!}}{{!}} &nbsp;{{{7}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line7|7}}}''' {{!}}{{!}} &nbsp;{{{7}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{8|}}}|
 
{{#if:{{{8|}}}|
{{!}} style="text-align: center;"{{!}}{{{line8|8}}} {{!}}{{!}} &nbsp;{{{8}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line8|8}}}''' {{!}}{{!}} &nbsp;{{{8}}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{9|}}}|
 
{{#if:{{{9|}}}|
{{!}} style="text-align: center;"{{!}}{{{line9|9}}} {{!}}{{!}} &nbsp;{{{9}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line9|9}}}''' {{!}}{{!}} &nbsp;{{{9}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{10|}}}|
 
{{#if:{{{10|}}}|
{{!}} style="text-align: center;"{{!}}{{{line10|10}}} {{!}}{{!}} &nbsp;{{{10}}}
+
{{!}} style="text-align: center;"{{!}}'''{{{line10|10}}}''' {{!}}{{!}} &nbsp;{{{10}}}
 +
{{!}}- style="background-color:#{{RowColor}};"}}
 +
{{#if:{{{11|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line11|11}}}''' {{!}}{{!}} &nbsp;{{{11}}}
 +
{{!}}-}}
 +
{{#if:{{{12|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line12|12}}}''' {{!}}{{!}} &nbsp;{{{12}}}
 +
{{!}}- style="background-color:#{{RowColor}};"}}
 +
{{#if:{{{13|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line13|13}}}''' {{!}}{{!}} &nbsp;{{{13}}}
 +
{{!}}- style="background-color:#{{RowColor}};"}}
 +
{{#if:{{{14|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line14|14}}}''' {{!}}{{!}} &nbsp;{{{14}}}
 
{{!}}-}}
 
{{!}}-}}
 
+
{{#if:{{{15|}}}|
|}<noinclude>
+
{{!}} style="text-align: center;"{{!}}'''{{{line15|15}}}''' {{!}}{{!}} &nbsp;{{{15}}}
 
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
+
{{#if:{{{16|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line16|16}}}''' {{!}}{{!}} &nbsp;{{{16}}}
 +
{{!}}-}}
 +
{{#if:{{{17|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line17|17}}}''' {{!}}{{!}} &nbsp;{{{17}}}
 +
{{!}}- style="background-color:#{{RowColor}};"}}
 +
{{#if:{{{18|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line18|18}}}''' {{!}}{{!}} &nbsp;{{{18}}}
 +
{{!}}-}}
 +
{{#if:{{{19|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line19|19}}}''' {{!}}{{!}} &nbsp;{{{19}}}
 +
{{!}}- style="background-color:#{{RowColor}};"}}
 +
{{#if:{{{20|}}}|
 +
{{!}} style="text-align: center;"{{!}}'''{{{line20|20}}}''' {{!}}{{!}} &nbsp;{{{20}}}
 +
{{!}}-}}
 +
{{!}} 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>
 +
<noinclude>
 
<pre>
 
<pre>
 
{{Treasure
 
{{Treasure
Line 65: Line 95:
 
*Replace "1" with the treasure to receive on a roll of "1".
 
*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.
 
*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.
+
*The template currently supports up to 20 lines.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 08: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.