A Wiki in the Desert
Log in

Difference between revisions of "Template:Raeli Oven"

From A Wiki in the Desert
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#arraydefine:colors|{{#forargs: color| key| value| {{#var: value }},}}}}{{#subobject:|
 
{{#arraydefine:colors|{{#forargs: color| key| value| {{#var: value }},}}}}{{#subobject:|
 +
  |Of type=Raeli Oven
 +
  |Has parent={{FULLPAGENAME}}
 
   |Has location={{{coords|}}}
 
   |Has location={{{coords|}}}
   |Has colors={{#arrayprint:colors|, }}
+
   |Has color={{#arrayprint:colors|, }}|+sep=,
 
}}{| border="1" style="background-color: #e4e4e4; border-collapse: separate; border-spacing: 0;"
 
}}{| border="1" style="background-color: #e4e4e4; border-collapse: separate; border-spacing: 0;"
 
|-
 
|-
Line 51: Line 53:
 
| value
 
| value
 
| <nowiki />
 
| <nowiki />
{{!}}- {{#invoke:Color|style|{{#var: value }}}}
+
{{!}}- {{#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;" {{!}} {{#if:{{{time{{#var: key}}|}}} | {{{time{{#var: key}}|}}} | ??}} min
 
{{!}} style="text-align: center; padding: 5px;" {{!}} {{#var: value}}
 
{{!}} style="text-align: center; padding: 5px;" {{!}} {{#var: value}}
 
}}
 
}}
 
|}
 
|}
__NOEDITSECTION__</includeonly>
+
[[Category:RaeliOvens]]
 +
</includeonly>
  
 
<noinclude>
 
<noinclude>

Latest revision as of 22:06, 16 January 2022


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)

Settenuen

Level 3

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?)