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
parameter naming consistency
m 6 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{doc/start}}
Displays infos about a production, i.e. ingredients, building and products.
Displays infos about a production, i.e. ingredients, building and products.
==Parameters==
==Parameters==
* <code>i1</code> Ingredient 1 …
* <code>i1</code> Ingredient 1 ...
* <code>i4</code> Ingredient 4
* <code>i4</code> Ingredient 4
* <code>in1</code> ingredient amount 1 (defaults to 1) …
* <code>in1</code> ingredient amount 1 (defaults to 1) ...
* <code>in4</code> ingredient amount 4 (defaults to 1)
* <code>in4</code> ingredient amount 4 (defaults to 1)
* <code>b</code> building
* <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 (defaults to 1) …
* <code>pn1</code> product amount 1 (defaults to 1) ...
* <code>pn4</code> product amount 4 (defaults to 1)
* <code>pn4</code> product amount 4 (defaults to 1)


Line 18: Line 17:
  <nowiki>{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}</nowiki>
  <nowiki>{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}</nowiki>
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}
{{doc/end}}
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 23:46, 21 October 2025

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}}

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