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
parameter naming consitency
wgg>Cadaei
arrow vertical alignment adjustment
Line 5: Line 5:
-->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{in3|1}}}}}}}<!--
-->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{in3|1}}}}}}}<!--
-->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{in4|1}}}}}}}
-->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{in4|1}}}}}}}
| {{#if:{{{b|}}}| rowspan=3 {{!}} <span style="font-size:4em">&rsaquo;</span>
| {{#if:{{{b|}}}| rowspan=3 {{!}} <div style="font-size:4em;padding-bottom:0.15em">&rsaquo;</div>
{{!}} style="text-align:center" {{!}} {{{b}}}}}
{{!}} style="text-align:center" {{!}} {{{b}}}}}
| rowspan=3 | {{#if:{{{p1|}}}|<span style="font-size:4em">&rsaquo;</span>}}
| rowspan=3 | {{#if:{{{p1|}}}|<div style="font-size:4em;padding-bottom:0.15em">&rsaquo;</div>}}
| 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}}}}}}}<!--

Revision as of 11:54, 5 August 2023

File:Template-info.svg Documentation Edit this documentation at Template:Production/doc.
(edit • history • purge)

Displays infos about a production, i.e. ingredients, building and products.

Parameters

  • i1 Ingredient 1 ...
  • i4 Ingredient 4
  • in1 ingredient amount 1 (defaults to 1) ...
  • in4 ingredient amount 4 (defaults to 1)
  • b building
  • t production time
  • p1 product 1 ...
  • p4 product 4
  • pn1 product amount 1 (defaults to 1) ...
  • pn4 product amount 4 (defaults to 1)

Examples

{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread}}
Production
1 ×  Flour
1 ×  Water
›
Bakery
›
1 ×  Bread
5 s
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}
Production
1 ×  Flour
1 ×  Water
›
Bakery
›
1 ×  Bread
3 ×  Ingot
5 s