Difference between revisions of "Template:Raeli Oven"
From A Wiki in the Desert
Tag: Undo |
|||
Line 8: | Line 8: | ||
|- | |- | ||
| colspan="2" style="background-color: #e4e4e4; text-align: center;" | | | colspan="2" style="background-color: #e4e4e4; text-align: center;" | | ||
− | {{ | + | === {{{name}}} === |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | {{#if:{{{region|}}} | |
− | | | + | {{!}}- |
− | | | + | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center;" {{!}} |
− | | | + | {{{region|}}} {{#if:{{{coords|}}} | ({{{coords|}}})}} |
− | | | + | | {{#if:{{{coords|}}} | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center;" {{!}} | |
− | | | + | ({{{coords|}}}) |
− | | | + | }}}} |
− | | | + | {{#if:{{{pig|}}} | |
+ | {{#if:{{{level|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center; padding: 0;" {{!}} | ||
+ | {{{!}} style="width: 100%; background-color: #e4e4e4; border-collapse: collapse; border-spacing: 0;" | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color: #e4e4e4; text-align: center; border-right: 1px solid black;" {{!}} | ||
+ | {{{pig|}}} | ||
+ | {{!}} style="background-color: #e4e4e4; text-align: center;" {{!}} | ||
+ | Level {{{level|}}} | ||
+ | {{!}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center;" {{!}} | ||
+ | {{{pig|}}} | ||
}} | }} | ||
+ | | | ||
+ | {{#if:{{{level|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center;" {{!}} | ||
+ | Level {{{level|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{fired|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="background-color: #e4e4e4; text-align: center;" {{!}} | ||
+ | Fired {{{fired|}}} | ||
+ | }} | ||
+ | |- style="background-color: white; text-align: center; padding: 5px;" | ||
+ | ! Time<br>''(in min)'' !! Color Tiles | ||
+ | {{#forargs: color | ||
+ | | key | ||
+ | | value | ||
+ | | <nowiki /> | ||
+ | {{!}}- {{#if:{{#var:value}}|{{#invoke:Color|style|{{#var: value }}}}}} | ||
+ | {{!}} style="text-align: center; padding: 5px;" {{!}} {{#if:{{{time{{#var: key}}|}}} | {{{time{{#var: key}}|}}} | ??}} min | ||
+ | {{!}} style="text-align: center; padding: 5px;" {{!}} {{#var: value}} | ||
+ | }} | ||
+ | |} | ||
+ | [[Category:RaeliOvens]] | ||
+ | </includeonly> | ||
+ | |||
+ | <noinclude> | ||
+ | {{Documentation}} | ||
+ | [[Category:Content templates]] | ||
+ | </noinclude> |
Latest revision as of 22:50, 11 July 2024
Template documentation (for the above template, sometimes hidden or invisible)
{{Raeli Oven}} generates a table detailing the tile colors and timers for a Raeli Oven.
Usage
{{Raeli Oven | name = | fired = | coords = | region = | level = | color1 = | time1 = | color2 = | time2 = ... }}
Basic Data
- name
- The name appearing at the top of the table.
- fired (optional)
- When the oven was last fired.
- coords (optional)
- The coordinates where the oven was built.
- region (optional)
- The region where the oven was built.
- pig (optional)
- The breed of the pig that discovered the oven's location.
- level (optional)
- The current upgrade level of the oven.
Tile Data
- colorn
- The color of tile number n produced by the oven. You can include as many colorn entries as are applicable to your oven, but each should be accompanied by a timen of the same number if known.
- timen
- The time at which the oven begins producing the associated colorn parameter.
Example
{{Raeli Oven | name = My Raeli Oven #1 | fired = Nov 12 @ 7:37pm | coords = 752, -7443 | region = Blue Nile | pig = Settenuen | level = 3 | color1 = White | time1 = 0 | color2 = Ghost White | time2 = 1 | color3 = White Smoke | time3 = 5 | color4 = Lavender | time4 = 9 | color5 = Gainsboro | time5 = 25 | color6 = Thistle | time6 = 31 | color7 = Light Steel Blue | time7 = 38 | color8 = Medium Purple | time8 = 59 | color9 = Medium Slate Blue | time9 = 82 | color10 = Slate Blue | time10 = 85 | color11 = Cobalt Blue | time11 = 115 | color12 = Dark Slate Blue | time12 = 125 | color13 = Persian Indigo | time13 = 145 | color14 = Midnight Blue | time14 = 161 | color15 = Oxford Blue | time15 = 180 | color16 = Dark Jungle Green | time16 = 190 | color17 = Licorice | time17 = 197 | color18 = Smokey Black | time18 = 204 | color19 = Black | time19 = 212 }}
results in:
My Raeli Oven #1 | |||
Blue Nile (752, -7443) | |||
| |||
Fired Nov 12 @ 7:37pm | |||
Time (in min) |
Color Tiles
| ||
---|---|---|---|
0 min | White | ||
1 min | Ghost White | ||
5 min | White Smoke | ||
9 min | Lavender | ||
25 min | Gainsboro | ||
31 min | Thistle | ||
38 min | Light Steel Blue | ||
59 min | Medium Purple | ||
82 min | Medium Slate Blue | ||
85 min | Slate Blue | ||
115 min | Cobalt Blue | ||
125 min | Dark Slate Blue | ||
145 min | Persian Indigo | ||
161 min | Midnight Blue | ||
180 min | Oxford Blue | ||
190 min | Dark Jungle Green | ||
197 min | Licorice | ||
204 min | Smokey Black | ||
212 min | Black |
Visit Template:Raeli Oven/doc to edit this text! (How does this work?)