Difference between revisions of "Template:Treasure"
From Legends of Hyrule
Jump to navigationJump to search (colors & formatting) |
|||
| Line 1: | Line 1: | ||
| − | {| | + | {| cellspacing=0 width="300px" style="color:#{{BoxTextColor}}; background-color:#f4e1bf; border: 2px solid #411e10; font-size:16px; font-family:'scalysans';" |
| {{#if:{{{d|}}}|d{{{d|6}}} {{!}}{{!}}|colspan=2{{!}}}} {{BL|Rolling for Treasure|'''Treasure'''}} | | {{#if:{{{d|}}}|d{{{d|6}}} {{!}}{{!}}|colspan=2{{!}}}} {{BL|Rolling for Treasure|'''Treasure'''}} | ||
| − | |- | + | |- style="background-color:#{{RowColor}};" |
{{#if:{{{default|}}}| | {{#if:{{{default|}}}| | ||
{{!}} {{{default}}} | {{!}} {{{default}}} | ||
| + | {{!}}- }} | ||
| + | {{#if:{{{1|}}}| | ||
| + | {{!}} style="width: 30px; text-align: center;"{{!}}{{{line1|1}}} {{!}}{{!}} {{{1}}} | ||
{{!}}-}} | {{!}}-}} | ||
| − | {{#if:{{{ | + | {{#if:{{{2|}}}| |
| − | {{!}} style=" | + | {{!}} style="text-align: center;"{{!}}{{{line2|2}}} {{!}}{{!}} {{{2}}} |
| − | {{!}}-}} | + | {{!}}- style="background-color:#{{RowColor}};"}} |
| − | {{#if:{{{ | + | {{#if:{{{3|}}}| |
| − | {{!}} | + | {{!}} style="text-align: center;"{{!}}{{{line3|3}}} {{!}}{{!}} {{{3}}} |
| − | |||
| − | |||
| − | {{!}} {{{line3|3}}} {{!}}{{!}} {{{3}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{4|}}}| | {{#if:{{{4|}}}| | ||
| − | {{!}} {{{line4|4}}} {{!}}{{!}} {{{4}}} | + | {{!}} style="text-align: center;"{{!}}{{{line4|4}}} {{!}}{{!}} {{{4}}} |
| − | {{!}}-}} | + | {{!}}- style="background-color:#{{RowColor}};"}} |
{{#if:{{{5|}}}| | {{#if:{{{5|}}}| | ||
| − | {{!}} {{{line5|5}}} {{!}}{{!}} {{{5}}} | + | {{!}} style="text-align: center;"{{!}}{{{line5|5}}} {{!}}{{!}} {{{5}}} |
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{6|}}}| | {{#if:{{{6|}}}| | ||
| − | {{!}} {{{line6|6}}} {{!}}{{!}} {{{6}}} | + | {{!}} style="text-align: center;"{{!}}{{{line6|6}}} {{!}}{{!}} {{{6}}} |
| − | {{!}}-}} | + | {{!}}- style="background-color:#{{RowColor}};"}} |
{{#if:{{{7|}}}| | {{#if:{{{7|}}}| | ||
| − | {{!}} {{{line7|7}}} {{!}}{{!}} {{{7}}} | + | {{!}} style="text-align: center;"{{!}}{{{line7|7}}} {{!}}{{!}} {{{7}}} |
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{8|}}}| | {{#if:{{{8|}}}| | ||
| − | {{!}} {{{line8|8}}} {{!}}{{!}} {{{8}}} | + | {{!}} style="text-align: center;"{{!}}{{{line8|8}}} {{!}}{{!}} {{{8}}} |
| − | {{!}}-}} | + | {{!}}- style="background-color:#{{RowColor}};"}} |
{{#if:{{{9|}}}| | {{#if:{{{9|}}}| | ||
| − | {{!}} {{{line9|9}}} {{!}}{{!}} {{{9}}} | + | {{!}} style="text-align: center;"{{!}}{{{line9|9}}} {{!}}{{!}} {{{9}}} |
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{10|}}}| | {{#if:{{{10|}}}| | ||
| − | {{!}} {{{line10|10}}} {{!}}{{!}} {{{10}}} | + | {{!}} style="text-align: center;"{{!}}{{{line10|10}}} {{!}}{{!}} {{{10}}} |
{{!}}-}} | {{!}}-}} | ||
|}<noinclude> | |}<noinclude> | ||
Revision as of 08:26, 15 June 2020
| Treasure |
{{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.