Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Production: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei title bold |
wgg>Cadaei added arrows and circle around time |
||
| Line 5: | Line 5: | ||
-->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{n3|1}}}}}}}<!-- | -->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{n3|1}}}}}}}<!-- | ||
-->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{n4|1}}}}}}} | -->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{n4|1}}}}}}} | ||
| {{#if:{{{b|}}}| style="text-align:center" {{!}} {{{b|}}}}} | | {{#if:{{{b|}}}| rowspan=3 {{!}} <span style="font-size:4em">›</span> | ||
{{!}} style="text-align:center" {{!}} {{{b}}}}} | |||
| rowspan=3 | {{#if:{{{p1|}}}|<span style="font-size:4em">›</span>}} | |||
| rowspan=3 | {{#if:{{{p1|}}}|{{itemLink|{{{p1}}}|quantity={{{pn1|1}}}}}}}<!-- | | rowspan=3 | {{#if:{{{p1|}}}|{{itemLink|{{{p1}}}|quantity={{{pn1|1}}}}}}}<!-- | ||
-->{{#if:{{{p2|}}}|<br/>{{itemLink|{{{p2}}}|quantity={{{pn2|1}}}}}}}<!-- | -->{{#if:{{{p2|}}}|<br/>{{itemLink|{{{p2}}}|quantity={{{pn2|1}}}}}}}<!-- | ||
| Line 13: | Line 15: | ||
| {{#if: {{{b|}}}|style="padding:0.5em 1em" {{!}} [[File:{{{b|}}}.png|64px]]}} | | {{#if: {{{b|}}}|style="padding:0.5em 1em" {{!}} [[File:{{{b|}}}.png|64px]]}} | ||
|- | |- | ||
| {{#if: {{{t|}}}|style="text-align:center" {{!}} {{{t}}} }} | | {{#if: {{{t|}}}|style="text-align:center" {{!}} <span style="border:1px solid #b7b078;border-radius:50%;padding:0.4em;background: lightgoldenrodyellow;>{{{t}}}</span> }} | ||
|}</includeonly><noinclude>{{doc}} | |}</includeonly><noinclude>{{doc}} | ||
[[category:formatting templates]]</noinclude> | [[category:formatting templates]]</noinclude> | ||
Revision as of 19:48, 24 July 2023
Displays infos about a production, i.e. ingredients, building and products.
Parameters
i1Ingredient 1 ...i4Ingredient 4in1ingredient amount 1 (defaults to 1) ...in4ingredient amount 4 (defaults to 1)bbuildingtproduction timep1product 1 ...p4product 4pn1product amount 1 (defaults to 1) ...pn4product amount 4 (defaults to 1)
Examples
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread}}
| 1 × 1 × |
› | Bakery | › | 1 × |
| ||||
| 5 s |
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}
| 1 × 1 × |
› | Bakery | › | 1 × 3 × |
| ||||
| 5 s |



