Difference between revisions of "Template:Treasure"

From Legends of Hyrule
Jump to navigationJump to search
m
m
Line 35: Line 35:
 
{{#if:{{{10|}}}|
 
{{#if:{{{10|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line10|10}}}''' {{!}}{{!}}  {{{10}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line10|10}}}''' {{!}}{{!}}  {{{10}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{11|}}}|
 
{{#if:{{{11|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line11|11}}}''' {{!}}{{!}}  {{{11}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line11|11}}}''' {{!}}{{!}}  {{{11}}}
Line 41: Line 41:
 
{{#if:{{{12|}}}|
 
{{#if:{{{12|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line12|12}}}''' {{!}}{{!}}  {{{12}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line12|12}}}''' {{!}}{{!}}  {{{12}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{13|}}}|
 
{{#if:{{{13|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line13|13}}}''' {{!}}{{!}}  {{{13}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line13|13}}}''' {{!}}{{!}}  {{{13}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{14|}}}|
 
{{#if:{{{14|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line14|14}}}''' {{!}}{{!}}  {{{14}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line14|14}}}''' {{!}}{{!}}  {{{14}}}
Line 50: Line 50:
 
{{#if:{{{15|}}}|
 
{{#if:{{{15|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line15|15}}}''' {{!}}{{!}}  {{{15}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line15|15}}}''' {{!}}{{!}}  {{{15}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{16|}}}|
 
{{#if:{{{16|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line16|16}}}''' {{!}}{{!}}  {{{16}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line16|16}}}''' {{!}}{{!}}  {{{16}}}
Line 56: Line 56:
 
{{#if:{{{17|}}}|
 
{{#if:{{{17|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line17|17}}}''' {{!}}{{!}}  {{{17}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line17|17}}}''' {{!}}{{!}}  {{{17}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{18|}}}|
 
{{#if:{{{18|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line18|18}}}''' {{!}}{{!}}  {{{18}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line18|18}}}''' {{!}}{{!}}  {{{18}}}
Line 62: Line 62:
 
{{#if:{{{19|}}}|
 
{{#if:{{{19|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line19|12}}}''' {{!}}{{!}}  {{{19}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line19|12}}}''' {{!}}{{!}}  {{{19}}}
{{!}}-}}
+
{{!}}- style="background-color:#{{RowColor}};"}}
 
{{#if:{{{20|}}}|
 
{{#if:{{{20|}}}|
 
{{!}} style="text-align: center;"{{!}}'''{{{line20|20}}}''' {{!}}{{!}}  {{{20}}}
 
{{!}} style="text-align: center;"{{!}}'''{{{line20|20}}}''' {{!}}{{!}}  {{{20}}}

Revision as of 20:40, 24 December 2020



Treasure Chest
If the average party level is 11th or higher, roll twice.
{{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.