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/doc: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
removed wrong cat and tag
wgg>Cadaei
almost all parameters are optional
Line 4: Line 4:
* <code>i1</code> Ingredient 1 …
* <code>i1</code> Ingredient 1 …
* <code>i4</code> Ingredient 4
* <code>i4</code> Ingredient 4
* <code>n1</code> ingredient amount 1 (optional, defaults to 1) …
* <code>n1</code> ingredient amount 1 (defaults to 1) …
* <code>n4</code> ingredient amount 4 (optional, defaults to 1)
* <code>n4</code> ingredient amount 4 (defaults to 1)
* <code>b</code> building (optional)
* <code>b</code> building
* <code>t</code> production time
* <code>t</code> production time
* <code>p1</code> product 1 …
* <code>p1</code> product 1 …
* <code>p4</code> product 4
* <code>p4</code> product 4
* <code>pn1</code> product amount 1 (optional, defaults to 1) …
* <code>pn1</code> product amount 1 (defaults to 1) …
* <code>pn4</code> product amount 4 (optional, defaults to 1)
* <code>pn4</code> product amount 4 (defaults to 1)


==Examples==
==Examples==

Revision as of 19:54, 24 July 2023

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

Parameters

  • i1 Ingredient 1 …
  • i4 Ingredient 4
  • n1 ingredient amount 1 (defaults to 1) …
  • n4 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}}

1 ×  Flour
1 ×  Water

›
5 s
›

1 ×  Bread

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

1 ×  Flour
1 ×  Water

›
5 s
›

1 ×  Bread
3 ×  Ingot